[plug] Using those Extra Keys under X.
Trevor Phillips
T.Phillips at murdoch.edu.au
Tue Nov 27 16:03:24 WST 2001
On Tue, 27 Nov 2001 12:28, Mike Roberts wrote:
> I have bound the extra buttons on my keyboard to events by using xmodmap
> and e16keyedit (i don't know if kde has an equivelent). Using the
> keycodes generated by xev you can bind them to XKeySym's. The possible
> XKeySym's are listed in /usr/X11R6/lib/X11/XKeysymDB on my Debian system.
>
> Then its a case of generating an .xmodmap file, which has the syntax
>
> keycode xxx = XKeySym
>
> where xxx is the keycode you found using xev, and XKeySym is the KeySym
> you want to bind it to. An example from my config would be :
>
> keycode 153 = XF86AudioNext
>
> You will need to load this xmodmap file every time you start X with
> 'xmodmap ~/.xmodmap'.
I thought it'd be something like this. Thanks!! That XKeysymDB file is handy!
> Then you just need to get the WM to deal with this key event. Having
> never used KDE i don't know how to do this sorry.
Well, that's the next problem. Although KDE has a facility for binding keys,
it doesn't seem to like the new keys, even with a keysym bound to them.
Perhaps it has its own mapping of keysym to other somewhere, which I need to
add the new entries...
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: CWIS Systems Administrator - T.Phillips at murdoch.edu.au :
| IT Services - Murdoch University |
>------------------- Member of the #SAS# & #CFC# --------------------<
| On nights such as this, evil deeds are done. And good deeds, of /
| course. But mostly evil, on the whole. /
\ -- (Terry Pratchett, Wyrd Sisters) /
More information about the plug
mailing list