PDA

View Full Version : Is there a way to disable the caps-lock key?



days_of_ruin
May 15th, 2008, 01:49 AM
BECAUSE I HATE IT!
Seriously I did the above just by holding shift.Caps lock is just a pain!
Its too close to tab which I use a lot.
:lolflag:

loell
May 15th, 2008, 01:52 AM
pluck it out from the keyboard..

days_of_ruin
May 15th, 2008, 01:54 AM
I would like to do it in the software.

HumanAnarchist
May 15th, 2008, 01:55 AM
make a file in home that is called ".Xmodmap" then you can remap you keybord as you want it :)

I got these lines in mine


remove Lock = Caps_Lock
keysym Caps_Lock = Escape


An extra Escape is nice to have in VIM



man xmodmap


to learn more

perce
May 15th, 2008, 06:22 AM
You can also try from the GUI:

System > Preferences > Keyboard Preferences > Layout Options > CapsLock key behavior

however it's far less flexible than xmodmap.

D-EJ915
May 15th, 2008, 01:52 PM
go to the keyboard section in the gnome control center and it lets you change it into a control key (I do this) like on Sun keyboards. There's also a way to do it in xorg.conf, put in nocaps:ctrl


Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "ca"
Option "XkbOptions" "ctrl:nocaps"
EndSection

of course this doesn't make it a dead key, but a control is better in that position.

Tteddo
May 15th, 2008, 07:54 PM
go to the keyboard section in the gnome control center and it lets you change it into a control key (I do this) like on Sun keyboards. There's also a way to do it in xorg.conf, put in nocaps:ctrl


Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "ca"
Option "XkbOptions" "ctrl:nocaps"
EndSection

of course this doesn't make it a dead key, but a control is better in that position.

I have that in my xorg.conf, but it quit working (i.e CAPS LOCK came back) when I upgraded to Hardy.