View previous topic :: View next topic |
Author |
Message |
Coume Guru
Joined: 11 Jun 2004 Posts: 306
|
Posted: Thu Mar 03, 2005 12:53 am Post subject: how to assign the halt -p command to the laptop power button |
|
|
Hello,
When I was using FC, I had a great feature I'm sure it was not something particular to FC and that it can be performed by gentoo... but god damnit how! lol
I would like to assign to the Power button of my laptop, the halt -p command. So whenever I push it, it would shutdown the computer.
Any idea on how to do that?
Thxs in advance
Ludo _________________ MythTVtalk.com - The MythTV Community forum |
|
Back to top |
|
|
jamesdick628 Apprentice
Joined: 14 Oct 2004 Posts: 158 Location: Worcester, MA
|
Posted: Thu Mar 03, 2005 1:16 am Post subject: |
|
|
I do it on my laptop with acpid. Well I used to but I haven't set it up again. It's fairly easy to use and I think the default settings map your power button to the halt command. |
|
Back to top |
|
|
Coume Guru
Joined: 11 Jun 2004 Posts: 306
|
Posted: Thu Mar 03, 2005 11:33 am Post subject: |
|
|
hi!
thxs, it works.
I just had to emerge acpid and the function I wanted is working out of the box
Cheers,
Ludo _________________ MythTVtalk.com - The MythTV Community forum |
|
Back to top |
|
|
|