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



I asked the same thing a while ago.  I think the menu items point at
/usr/sbin/pm-hibernate (for hibernate) or /usr/sbin/pm-suspend (for
suspend)

pj

On 7/3/06, Alexander Skwar <listen alexander skwar name> wrote:
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
_______________________________________________
gnome-power-manager-list mailing list
gnome-power-manager-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list



--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas



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