[BUG?][resend]xmodmap -e 'clear lock' does weird things

Sergei Trofimovich slyich at gmail.com
Mon Aug 3 11:24:53 PDT 2009


Tried to rebind CapsLock to Mod3 modifier.
Gentoo
amd64
Xorg master

After issuing
$ xmodmap -e 'clear lock'
all modifiers go weird and stop working correctly.
I tried to paste this to file and give it ot xmodmap - the same effect, as in [1]
  !
  ! - map capslock to meta key
  !
  remove Lock = Caps_Lock
  add Mod3 = Caps_Lock

Am I doing something grong?

Thanks!
[1]:
$ xmodmap -pm
xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  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)

$ xmodmap -e 'clear lock'
$ xmodmap -pm
xmodmap:  up to 9 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e),  Alt_L (0x40),  Alt_R (0x6c),  Super_L (0x85),  Super_R (0x86),  Meta_L (0xcd),  Super_L (0xce),  Hyper_L (0xcf)
lock        Control_L (0x25),  Alt_L (0x40),  ISO_Level3_Shift (0x5c),  Control_R (0x69),  Alt_R (0x6c),  Mode_switch (0xcb),  Meta_L (0xcd)
control     Num_Lock (0x4d),  ISO_Level3_Shift (0x5c),  Super_L (0x85),  Super_R (0x86),  Mode_switch (0xcb),  Super_L (0xce),  Hyper_L (0xcf)
mod1      
mod2      
mod3      
mod4      
mod5

-- 

  Sergei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20090803/53486378/attachment-0001.pgp 


More information about the xorg-devel mailing list