← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 524774] Re: xmodmap failure BadValue error, 118 (X_SetModifierMapping)

 

Same environment specified in my 10 hours old message.
I do: Ctrl-Alt-F1 to go to a tty. then 

tc@box:~$ echo "remove lock = Caecho "remove lock = Caps_Lock"| DISPLAY=:0.0 xmodmap -v -
! stdin:
! 1:  remove lock = Caps_Lock
! Keysym Caps_Lock (0xffe5) corresponds to keycode(s) 0x42
        remove lock =  0x42
!
! executing work queue
!
        remove lock =  0x42
tc@box:~$  DISPLAY=:0.0 xmodmap -v
!
! executing work queue
!
xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock
control     Control_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40),  Alt_R (0x71),  Meta_L (0x9c)
mod2        Num_Lock (0x4d)
mod3
mod4        Super_L (0x73),  Super_R (0x74),  Super_L (0x7f),  Hyper_L (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

Then I do Alt-F7 and Ctrl-Alt-F1 to just pay a mere visual visit to Xorg
server. Back in tty:

tc@box:~$  DISPLAY=:0.0 xmodmap -v
!
! executing work queue
!
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 (0x6d)
mod1        Alt_L (0x40),  Alt_R (0x71),  Meta_L (0x9c)
mod2        Num_Lock (0x4d)
mod3
mod4        Super_L (0x73),  Super_R (0x74),  Super_L (0x7f),  Hyper_L (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

So the effect of xmodmap lasts until Xorg takes the display. I have an
impression that the bug is related to his behaviour. Hope this is not
just noisy blur around the real bug.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in ubuntu.
https://bugs.launchpad.net/bugs/524774

Title:
  xmodmap failure BadValue error, 118 (X_SetModifierMapping)



References