Hi all,
On quite a few keyboards these days there are extra keys.
One of which is the power button. How would I get the power
button working?
I read the Keyboard-and-Console-HOWTO but as far as I could
follow, the only examples were for mapping new keys to existing
functions (next terminal, etc)
Anyway, how about adding support for the power button?
I was thinking that one way of doing it would be to write a kde/gnome
app that popped up when you first pressed it and asks you to confirm
that it is indeed the power button, and whether to shutdown/reboot/custom.
On my huge sample of er 3 different keyboards, the power button generates
the same scancode (e0 5e or something - can't remember heh)
Anyway, thoughts please?
JohnFlux
msg09308/pgp00000.pgp
Description: PGP signature