Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to assign the halt -p command to the laptop power button
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Coume
Guru
Guru


Joined: 11 Jun 2004
Posts: 306

PostPosted: Thu Mar 03, 2005 12:53 am    Post subject: how to assign the halt -p command to the laptop power button Reply with quote

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
View user's profile Send private message
jamesdick628
Apprentice
Apprentice


Joined: 14 Oct 2004
Posts: 158
Location: Worcester, MA

PostPosted: Thu Mar 03, 2005 1:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Coume
Guru
Guru


Joined: 11 Jun 2004
Posts: 306

PostPosted: Thu Mar 03, 2005 11:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum