[NCLUG] xmodmap misbehavior

John Gilmore jgilmore at glycou.com
Tue Nov 13 10:35:43 MST 2007


Here are two commands.

herb~/:)$xmodmap -e 'keycode 46 = l L XF86ScreenSaver'
herb~/:)$xmodmap -e 'keycode 46 = l L'

After the first one, Lowercase L no longer types. Except when I tried it just 
now and it worked as expected (I.E. the L key makes l, L or XF86ScreenSaver 
depending on the state of the Shift and Meta keys)

It seems to do this intermitently, whenever I try to assign an extended keysym 
to a keycode. The extended ASCII stuff isn't a problem (Ntilde works) but any 
of the extended stuff (ISO_Lock, select, whatever) fails.

Any clue what is going on? I really hate inconsistent behavior from my 
computer. When I tell it to do something, it should do it, dang it!

I'm trying to make a single-key shortcut to activating the screensaver using 
KHotkeys and xscreensaver.




More information about the NCLUG mailing list