[Xpert]Power button on keyboards

2002-10-07 Thread John Tapsell
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

[Xpert]Power button on keyboards

2002-10-07 Thread Alex Deucher
John, You can map those new keys to run anything. you can write a script that simply contains shutdown -h now and when you hit that key it'll run the that script shutting your machine down. if you want something neat and graphical, take a look at gnomedialog (i think that's the name) it'll

Re: [Xpert]Power button on keyboards

2002-10-07 Thread John Tapsell
On Mon, Oct 07, 2002 at 07:14:13AM -0700, Alex Deucher wrote: John, You can map those new keys to run anything. you can write a script that simply contains shutdown -h now and when you hit that key it'll run the that script shutting your machine down. if you want something neat

Re: [Xpert]Power button on keyboards

2002-10-07 Thread Henrik Sandklef
HI! Try xikbd: http://www.sandklef.com/xikbd/ On Mon, 2002-10-07 at 18:05, John Tapsell wrote: On Mon, Oct 07, 2002 at 07:14:13AM -0700, Alex Deucher wrote: John, You can map those new keys to run anything. you can write a script that simply contains shutdown

Re: [Xpert]Power button on keyboards

2002-10-07 Thread Xavier Bestel
Le lun 07/10/2002 à 18:05, John Tapsell a écrit : On Mon, Oct 07, 2002 at 07:14:13AM -0700, Alex Deucher wrote: John, You can map those new keys to run anything. you can write a script that simply contains shutdown -h now and when you hit that key it'll run the that script