This should work for you: setxkbmap -option caps:ctrl_modifier But due to this is X server option it is better to place it anywhere in X startup files. For example like Paul suggested below.
Regards, __ Boris. Fri, 27 Apr 2012 07:30:27 +0200 от Paul Seelig <[email protected]>: > On 04/27/2012 06:08 AM, Dan Hitt wrote: > > > > For reference, i looked around on the net a little and found > > a solution, which i don't think is as good as yours. The solution > > is to add something to your .profile like > > > > if test "$DISPLAY" ; then > > xmodmap -e 'remove Lock = Caps_Lock' > > xmodmap -e 'keysym Caps_Lock = Control_L' > > xmodmap -e 'add Control = Control_L' > > fi > > > This is a good alternative approach also, if you put these lines into > the $HOME/GNUstep/Library/WindowMaker/autostart script, instead into the > shell configuration files. > > Luckily, there is always more than one way to do it. > > Regards > Paul > > > -- > To unsubscribe, send mail to [email protected]. >
