Re: [gpm] Configuring what happens when "hibernate" should be done



Alexander Skwar schrieb:
Hi!

First of, I'm using g-p-m on Ubuntu Dapper 6.0.6. I'd like to make
my system "hibernate" using the /usr/sbin/hibernate script, when
I push the power button for a short time. When I push this button,
an ACPI "power button" event is raised. As g-p-m *is* running, I
suppose that g-p-m will then hibernate the system. I suppose that's
done by executing "/usr/sbin/pmi action hibernate"

That seems to be wrong. I now modified /usr/sbin/pmi and added
this to the very beginning (after #! /bin/bash, of course *G*):

logger -t pmi "In $0 - pmi"
logger -t pmi "command = $1"
logger -t pmi "event = $2"

When I manually execute pmi, 3 entries are found in the syslog (as
was to be expected). When I hit the "hibernate" button on the logout
screen, those messages do *NOT* get added to the syslog. Thus, pmi
isn't executed.

Hmm - is g-p-m actually involved in all that?

Alexander Skwar
--
Reue ist der Versuch, in sich zu gehen, nachdem man gerade so schön
aus sich herausgegangen ist.
		-- Hans Clarin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]