* [gentoo-user] "shutdown -h" on Power-button...
@ 2005-07-15 16:03 Jarry
2005-07-15 16:17 ` Zac Medico
0 siblings, 1 reply; 3+ messages in thread
From: Jarry @ 2005-07-15 16:03 UTC (permalink / raw
To: gentoo-user
Hi,
I want to set up my computer so that it would do automatically
"shutdown -h" after short pressing of "power" button.
Is the only solution to emerge acpid (found on gentoo-forum)?
Would not it be easier with apm?
Because I remember once in the past having a comp with some other
linux-distro, where I think I did not install acpid, only edited
some file in /etc, and yet after pressing the "power" button it
correctly shutdowned my computer.
I just want to keep number of running daemons low. It is not
a notebook, so I think it is not worth to have one more daemon
running all the time just because of one possible event-trigger...
Jarry
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] "shutdown -h" on Power-button...
2005-07-15 16:03 [gentoo-user] "shutdown -h" on Power-button Jarry
@ 2005-07-15 16:17 ` Zac Medico
2005-07-15 18:50 ` Richard Fish
0 siblings, 1 reply; 3+ messages in thread
From: Zac Medico @ 2005-07-15 16:17 UTC (permalink / raw
To: gentoo-user
Jarry wrote:
> Hi,
>
> I want to set up my computer so that it would do automatically
> "shutdown -h" after short pressing of "power" button.
>
> Is the only solution to emerge acpid (found on gentoo-forum)?
> Would not it be easier with apm?
>
> Because I remember once in the past having a comp with some other
> linux-distro, where I think I did not install acpid, only edited
> some file in /etc, and yet after pressing the "power" button it
> correctly shutdowned my computer.
>
> I just want to keep number of running daemons low. It is not
> a notebook, so I think it is not worth to have one more daemon
> running all the time just because of one possible event-trigger...
>
> Jarry
AFAIK your choices are acpid and apmd. Either will do the job as log as it can detect power button events. I wouldn't worry about running the daemon because resource usage is probably quite low.
Zac
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] "shutdown -h" on Power-button...
2005-07-15 16:17 ` Zac Medico
@ 2005-07-15 18:50 ` Richard Fish
0 siblings, 0 replies; 3+ messages in thread
From: Richard Fish @ 2005-07-15 18:50 UTC (permalink / raw
To: gentoo-user
Zac Medico wrote:
>Jarry wrote:
>
>
>>Hi,
>>
>>I want to set up my computer so that it would do automatically
>>"shutdown -h" after short pressing of "power" button.
>>
>>Is the only solution to emerge acpid (found on gentoo-forum)?
>>Would not it be easier with apm?
>>
>>Because I remember once in the past having a comp with some other
>>linux-distro, where I think I did not install acpid, only edited
>>some file in /etc, and yet after pressing the "power" button it
>>correctly shutdowned my computer.
>>
>>I just want to keep number of running daemons low. It is not
>>a notebook, so I think it is not worth to have one more daemon
>>running all the time just because of one possible event-trigger...
>>
>>Jarry
>>
>>
>
>AFAIK your choices are acpid and apmd. Either will do the job as log as it can detect power button events. I wouldn't worry about running the daemon because resource usage is probably quite low.
>
>Zac
>
>
Acpid on my system is consuming 592K of memory and has accumulated 0
seconds of CPU time out of the 40-or-so hours that my laptop has been
up. So it is definitely quite frugal on resources!!
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-15 18:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-15 16:03 [gentoo-user] "shutdown -h" on Power-button Jarry
2005-07-15 16:17 ` Zac Medico
2005-07-15 18:50 ` Richard Fish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox