This is ToshKey,
Copyright (C) 2004 Wez Furlong.
This is the mortal, user-space complement to my acpid patch.
acpid will publish toshiba hotkey events; the intention is for this little
client to listen to those events so that you can run stuff under your own
mortal credentials, rather than run stuff as root.
The code is really simple, and will execute toshkey-handler and pass it either
the keycode or power status warnings. If acpid goes away, it will continue to
attempt to reconnect to it.
A sample toshkey-handler is included in this tarball.
- Create or put toshkey-handler in your path
- Run toshkey as part of your X login session.