PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 24, 2012, 05:53:33 PM


Login with username, password and session length


Pages: 1 [2]   Go Down
  Print  
Author Topic: <Solved>Disabling Caps Lock  (Read 811 times)
Ray2047
Hero Member
*****
Offline Offline

Posts: 1323


« Reply #15 on: January 08, 2012, 10:15:27 AM »

Thanks. I guess I'll just have to play with it. (Yes, I have tried logging in and out and rebooting. Smiley)
Quote
this is, what i mean with...
Logged
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4606


MLUs Forever!


« Reply #16 on: January 08, 2012, 10:43:58 AM »

Put the file into

/home/<user-name>/.kde4/Autostart/

..... or maybe that is what you have done  ......  ?
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4105

Have a nice ... night!


« Reply #17 on: January 08, 2012, 11:46:08 AM »


may I suggest to change from:
Quote
xmodmap Xmodmap-my &

to:
Quote
xmodmap /<abslolute-path-to-script>/Xmodmap-my &

substitute <absolute-path-to-script> as required ...
Logged
Leiche
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2704


God knows, i'm not an Angel!


WWW
« Reply #18 on: January 08, 2012, 11:49:42 AM »


may I suggest to change from:
Quote
xmodmap Xmodmap-my &

to:
Quote
xmodmap /<abslolute-path-to-script>/Xmodmap-my &

substitute <absolute-path-to-script> as required ...


is needed, when you have it installed on a hidden path, but this is stored in your home directory, and will found Wink
Logged

AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4105

Have a nice ... night!


« Reply #19 on: January 08, 2012, 11:59:46 AM »


is needed, when you have it installed on a hidden path, but this is stored in your home directory, and will found Wink

Agreed, but: how do you know where it is actually stored ?  Isn't that just an assumption ?
Logged
Leiche
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2704


God knows, i'm not an Angel!


WWW
« Reply #20 on: January 08, 2012, 12:09:38 PM »


is needed, when you have it installed on a hidden path, but this is stored in your home directory, and will found Wink

Agreed, but: how do you know where it is actually stored ?  Isn't that just an assumption ?

while i have it here generated
xmodmap -pke > Xmodmap-my

But yes, you can use, maybe
Code:
xmodmap $HOME/Xmodmap-my &

When ever you will save it in your hidden config folder, you must set correct path, for example

Code:
xmodmap $HOME/.config/Xmodmap-my &
Logged

Ray2047
Hero Member
*****
Offline Offline

Posts: 1323


« Reply #21 on: January 08, 2012, 12:48:09 PM »

Not in a hidden file. It is home/user/CapsLock_disable.sh
Logged
Ray2047
Hero Member
*****
Offline Offline

Posts: 1323


« Reply #22 on: January 08, 2012, 12:53:44 PM »

Put the file into

/home/<user-name>/.kde4/Autostart/

..... or maybe that is what you have done  ......  ?
I have it there as a SymLink. Will try actually putting it there.
Logged
Leiche
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2704


God knows, i'm not an Angel!


WWW
« Reply #23 on: January 08, 2012, 12:56:15 PM »

we are speaking about autostart function, i wrote about it for a long time ago in kde3.

Read this article from our magazine, under How do I start Wbar automatically upon login? you will found a solution how it should work correctly... I don't use kde4, so i lost here...

Logged

AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4105

Have a nice ... night!


« Reply #24 on: January 08, 2012, 12:59:20 PM »

Put the file into

/home/<user-name>/.kde4/Autostart/

..... or maybe that is what you have done  ......  ?
I have it there as a SymLink. Will try actually putting it there.

where is located the file Xmodmap-my ?
Logged
Ray2047
Hero Member
*****
Offline Offline

Posts: 1323


« Reply #25 on: January 08, 2012, 01:08:56 PM »

I can't figure out ho to get the file in there I can't use copy or save as because the hidden files don't show up. I tried dragging and it wouldn't drag.
Put the file into

/home/<user-name>/.kde4/Autostart/

..... or maybe that is what you have done  ......  ?
I have it there as a SymLink. Will try actually putting it there.

where is located the file Xmodmap-my ?
Logged
Ray2047
Hero Member
*****
Offline Offline

Posts: 1323


« Reply #26 on: January 08, 2012, 01:13:22 PM »

where is located the file Xmodmap-my ?
home/user/Xmodmap-my
Logged
Ray2047
Hero Member
*****
Offline Offline

Posts: 1323


« Reply #27 on: January 08, 2012, 01:30:49 PM »

Created a new SH file in Autostar but still doesn't work.
I can't figure out ho to get the file in there I can't use copy or save as because the hidden files don't show up. I tried dragging and it wouldn't drag.
Put the file into

/home/<user-name>/.kde4/Autostart/

..... or maybe that is what you have done  ......  ?
I have it there as a SymLink. Will try actually putting it there.

where is located the file Xmodmap-my ?
Logged
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4105

Have a nice ... night!


« Reply #28 on: January 08, 2012, 01:49:10 PM »

edit your script /home/user/CapsLock_disable.sh so it will look like
Quote
xmodmap    ~/Xmodmap-my &

also make sure the the symlink:
/home/user/.kde4/Autostart/CapsLock_disable.sh  point to  /home/user/CapsLock_disable.sh

Logged
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM