[ltp] R50 : problem mapping grey keys to change workspace
Andreas D. Landmark
linux-thinkpad@linux-thinkpad.org
Wed, 12 May 2004 11:36:44 +0200
On Wed, May 12, 2004 at 10:29:49AM +0200, Didrik Pinte wrote:
> Hi,
>
> I've read a thread about remapping grey keys to some action.
>
> I'd like to map those keys to the change workspace in Gnome. I can do it
> now using CTRL+ALT+Left and CTRL+ALT+Right.
>
> I've identified the keycode for the grey keys using xev :
>
> KeyRelease event, serial 25, synthetic NO, window 0x2a00001,
> root 0x48, subw 0x0, time 3935741, (888,245), root:(900,356),
> state 0x0, keycode 233 (keysym 0x0, NoSymbol), same_screen YES,
> XLookupString gives 0 bytes: ""
>
> KeyPress event, serial 25, synthetic NO, window 0x2a00001,
> root 0x48, subw 0x0, time 3936314, (888,245), root:(900,356),
> state 0x0, keycode 234 (keysym 0x0, NoSymbol), same_screen YES,
> XLookupString gives 0 bytes: "
>
> So, I've tried xmodmap with the following script :
>
> keycode 233 = Incr_Console
> keycode 234 = Decr_Console
>
> And here is the output :
>
> xmodmap: xmodmap.txt:0: bad keysym name 'Incr_Console' in keysym list
> xmodmap: xmodmap.txt:1: bad keysym name 'Decr_Console' in keysym list
> xmodmap: 2 errors encountered, aborting.
>
> Does anybody may help me ?
>
> I think I'm not using the right keysym. I've search the file
> /usr/X11R6/lib/X11/XKeysymDB for the right keysym but without success.
>
Personally I use the keysyms Next_Virtual_Screen and
Prev_Virtual_screen, and then bound them to next and previous desktop in
KDE. Works like a charm.
--
Andreas D. Landmark / noXtension
If you think the United States has stood still, who built the largest
shopping center in the world?
-- Richard M. Nixon