Button/power: acpid/GNOME/FC5

Aaron Konstam akonstam at sbcglobal.net
Wed May 3 14:06:18 UTC 2006


On Wed, 2006-05-03 at 09:47 +0200, wwp wrote:
> Hey all,
> 
> 
> I've recently setup acpid on my FC5 to execute a script when the button/power
> is pressed. I did that using /etc/acpi/ files, as I did previously for the lid
> events and so on.
> 
> The funny thing is that it worked. Why funny? 'cause usually on the FC5 GNOME
> desktop, pressing the power button raises a "Are you sure you want to log
> out" GNOME dialog, w/ logout/shutdown/restart buttons.
What script do you run when the button is pressed. It seems to me the
standard one of /sbin/shutdown would not deal with any Gnome dialog.
> 
> In fact I got my custom script to be executed few times, until I rebooted,
> and now I get the GNOME thing again. I remember that I implemented the custom
> shutdown script when the GNOME thing stopped working.
> 
> Any idea why I got my custom event some times and now the GNOME thing is
> back? Or why the GNOME shutdown dialog was not working anymore? FYI I'm
> running a custom kernel (FC5 config minus everything that I don't need).
> 
> 
> Regards,
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
--
=======================================================================
I think my career is ruined!
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net




More information about the fedora-list mailing list