[nzlug] Acer + Ubuntu: hotkeys
Simon Bridge
simonbridge at ihug.co.nz
Tue Apr 8 01:22:29 NZST 2008
On Mon, 2008-04-07 at 08:32 +1200, Volker Kuhlmann wrote:
> On Sun 06 Apr 2008 22:56:50 NZST +1200, Simon Bridge wrote:
>
> > I managed to find the scancodes ... they produced an error in syslog
> > suggesting I use setkeycode to ... well...
>
> Is this on the console?
>From the error generated is the syslog when one of these keys is
pressed.
xev, for eg, does not respond to the key press. Hence no keycodes.
>
> > setkeycode lots me map these to 0-127, but I'm not sure how useful that
> > is. All those have a response right?
>
> As long as you can get a scancode from a key, you're set and ready. For
> X11, read man xmodmap for how to map keycodes to keysyms (applications
> will need the latter).
>
Already done. The trouble is, I don't have any keycodes, only the
scancodes.
> I can dig out an example for a multimedia keyboard's additional keys
> later.
There is one at:
http://tldp.org/HOWTO/Intkeyb/x9.html
I still need the keycodes.
I originally thought I could assign a key with hotkey-setup
More information about the NZLUG
mailing list