[gobolinux-users] xmodmap failure in Xorg 7.3

Isaac Dupree isaacdupree at charter.net
Mon Dec 24 11:03:33 NZDT 2007


This was identified as an issue in Debian
http://www.mail-archive.com/debian-x@lists.debian.org/msg69599.html
but claimed to be fixed in debian somehow.

I am using gobo Xorg 7.3-r7, this bug is a regression from gobo's 7.2.

log messages using 7.3 include

xmodmap:  commandline:1:  bad keysym in remove modifier list 
'Caps_Lock', no corresponding keycodes
xmodmap:  1 error encountered, aborting.

caused by xinitrc's

xmodmap \
         -e 'remove Lock = Caps_Lock' \
         -e 'clear Control'           \
         -e 'keycode 115 = Control_L' \
         -e 'keycode 116 = Control_R' \
         -e 'add Control = Control_L' \
         -e 'add Control = Control_R' \
         -e 'clear Mod1'              \
         -e 'keycode 108 = Alt_R'     \
         -e 'add Mod1 = Alt_L'        \
         -e 'add Mod1 = Alt_R'


I discovered that changing xinitrc to

(sleep 5 ; xmodmap \
         -e 'remove Lock = Caps_Lock' \
         -e 'clear Control'           \
         -e 'keycode 115 = Control_L' \
         -e 'keycode 116 = Control_R' \
         -e 'add Control = Control_L' \
         -e 'add Control = Control_R' \
         -e 'clear Mod1'              \
         -e 'keycode 108 = Alt_R'     \
         -e 'add Mod1 = Alt_L'        \
         -e 'add Mod1 = Alt_R'
) &

made it work again.  Maybe it's an upstream bug that needs reporting to 
them?


Isaac


More information about the gobolinux-users mailing list