View previous topic :: View next topic |
Author |
Message |
lamaistres Apprentice
Joined: 17 Dec 2002 Posts: 268 Location: Seattle
|
Posted: Sun Jun 06, 2004 7:01 am Post subject: Disable Caps Lock? |
|
|
Is there a way to disable "caps lock" on the keyboard? |
|
Back to top |
|
|
lizardloop Apprentice
Joined: 16 Mar 2003 Posts: 278
|
Posted: Sun Jun 06, 2004 8:17 am Post subject: |
|
|
You could try removing the key from the keyboard or possibly remapping the key to something else. I'm not sure if you can remap the caps lock key though. |
|
Back to top |
|
|
Flammie Retired Dev
Joined: 02 Jun 2003 Posts: 633 Location: Dublin, Ireland
|
Posted: Sun Jun 06, 2004 9:11 am Post subject: |
|
|
I think xmodmap manpage had even example on caps lock disabling, that will assumably require X though. |
|
Back to top |
|
|
sapphirecat Guru
Joined: 15 Jan 2003 Posts: 376
|
Posted: Sun Jun 06, 2004 5:15 pm Post subject: |
|
|
What about turning it into a third Control key? Add in the keyboard section of XF86Config || xorg.conf:
Code: | Option "XkbOptions" "ctrl:nocaps" |
For the console, you'll have to grab the keymap file you're using and edit the references to "clock" to something else, or write your own include file to override it and add it in EXTENDED_KEYMAPS in /etc/rc.conf. The closest premade thing is the "ctrl" extended keymap, which swaps the left ctrl with caps lock and turns the right ctrl into compose. _________________ Former Gentoo user; switched to Kubuntu 7.04 when I got sick of waiting on gcc. Chance of thread necro if you reply now approaching 100%... |
|
Back to top |
|
|
lamaistres Apprentice
Joined: 17 Dec 2002 Posts: 268 Location: Seattle
|
Posted: Tue Jun 08, 2004 2:35 am Post subject: |
|
|
xmodmap helped me create a custom keymap (really easy) and now the caps lock key is disabled in X by adding the custom keymap to .xinitrc. I haven't finished with my keymap upgrade for the console or the kernel. I'm sort of afraid what may happen, so I'm setting up a test box to compile and run my custom keymap into the kernel.
I want to thank you all for pointing me in the right direction that lead me to custom keymapping (AKA; disable that darn Caps Lock). |
|
Back to top |
|
|
sapphirecat Guru
Joined: 15 Jan 2003 Posts: 376
|
Posted: Tue Jun 08, 2004 3:31 pm Post subject: |
|
|
Keymaps can be compiled into the kernel? I'll have to check that out--then I wouldn't have to remember that the keyboard is still Qwerty if something major fails during startup and I'm asked for the root password. _________________ Former Gentoo user; switched to Kubuntu 7.04 when I got sick of waiting on gcc. Chance of thread necro if you reply now approaching 100%... |
|
Back to top |
|
|
|