> Right now, AFAIU, the scripts just look whether e.g. gdm is running, and if 
> so do ignore the event.
> This means however also, that e.g. powerdownbtn won't work, if just gdm is 
> running, but no one
> logged actually in.

I cannot see how you come to this conclusion. Let's look for instance at
powerbtn-acpi-support.sh. It calls CheckPolicy to decide whether or not it is
supposed to start any action. CheckPolicy in return checks to see if any GUI
power manager is running, e.g. /usr/bin/gnome-power-manager or
/usr/bin/guidance-power-manager, but not gdm. AFAICT these power managers are
only started if someone is logged in.

Could you please explain?

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to