You are not logged in.
Pages: 1
I'm trying to use xmodmap to turn my Caps Lock key into an additional ctrl. I have the following xmodmap code:
clear Lock
add Control = Caps_Lock
After running xmodmap, I get the following output from xmodmap -pm:
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_L (0x25), Caps_Lock (0x42), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
which looks to me like the change was successful. But caps lock still does THIS Any suggestions?
Last edited by jneem (2011-08-13 07:12:09)
Offline
jneem,
perhaps this will help:
http://www.emacswiki.org/emacs/MovingTheCtrlKey#toc4
http://www.emacswiki.org/emacs/CapsKey
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
As Mektub mentioned, use setxkbmap / xorg.conf instead to do it. It's more reliable and less trouble.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Thanks, setxkbmap did the trick.
Offline
Pages: 1