Re: Can extra keyboard keys execute shell commands?
Quoting Peter Durieux (peter@rack66.com):
> I've seen a program for doin that stuff, hotkeys on
> freshmeat, but there is also an debian package in de testing / unstable.
> But does someone know a program for doing this stuff under console ? ;-)
I've used the /etc/inittab line
# Action on special keypress (ALT-UpArrow).
kb::kbrequest:/usr/bin consolechars -d
to execute consolechars when returning to a VC corrupted by the
X server (Avance cards). The benefit of this method is that it
*isn't* a shell command and can be run whatever other program is
already running in the VC.
Cheers,
--
Email: d.wright@open.ac.uk Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.
Reply to: