[ltp] R50 : problem mapping grey keys to change workspace

Didrik Pinte linux-thinkpad@linux-thinkpad.org
Wed, 12 May 2004 10:29:49 +0200


--=-/flfcC6Y7MCJN3qURW0w
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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.=20

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:  ""
=20
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 =3D Incr_Console
keycode 234 =3D 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 ?=20

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.

Thanks

Didrik Pinte



--=-/flfcC6Y7MCJN3qURW0w
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBAoeB99Rlh4Zs4yBMRAl3IAKCXnkFePQIAvvFbxUfgK2II20/g3QCghk2R
FBXJj/B3GCV7FmEX6ne0STw=
=Us9s
-----END PGP SIGNATURE-----

--=-/flfcC6Y7MCJN3qURW0w--