Gentoo Archives: gentoo-user

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Gnome logout dialog in Ubuntu has way more options - how to get suspend?
Date: Fri, 15 Sep 2006 17:42:27
Message-Id: 1360045.rvUz1BsyBC@m-id.message-center.info
In Reply to: Re: [gentoo-user] Gnome logout dialog in Ubuntu has way more options - how to get suspend? by Robert Cernansky
1 · Robert Cernansky <hslists2@××××××.sk>:
2
3 > On Thu, 14 Sep 2006 23:19:17 +0200 Alexander Skwar <listen@×××××××××××××××.name> wrote:
4 >
5 >> That dialog has a lot more options than the dialog shown in Gentoo.
6 >> In Gentoo, I do not have "Ruhezustand" (Hibernate) and the dialog
7 >> looks a lot simpler.
8 >>
9 >> What do I have to do, to get the Ubuntu gnome logout dialog in
10 >> Gentoo as well?
11 >
12 > To add hibernate option you have to set SuspendCommand variable in
13 > /etc/X11/gdm.conf. However I found out that if I set this to hibernate
14 > script, it is not executed.
15 >
16 > SuspendCommand=/usr/sbin/hibernate
17 >
18 > I'm trying to get it work but I do not get any error message or error
19 > log.
20
21 I found an old thread of mine on the gnome-power-management
22 list. See http://thread.gmane.org/gmane.comp.gnome.powermanager.devel/1156/focus=1156
23
24 Esp. http://permalink.gmane.org/gmane.comp.gnome.powermanager.devel/1163
25 is of interest:
26
27
28 > Unless it changed recently (post 0.57) the answer as to what gets executed can be had by the following commands. The first one will tell you how to interpret the second.
29 >
30 > hal-get-property --udi /org/freedesktop/Hal/devices/computer \
31 > --key org.freedesktop.Hal.Device.SystemPowerManagement.method_names
32 >
33 > hal-get-property --udi /org/freedesktop/Hal/devices/computer \
34 > --key org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths
35 >
36 >
37 > On my system (FC5) those produce the following.
38 >
39 > Suspend Hibernate Shutdown Reboot SetPowerSave
40 >
41 >
42 >
43 > hal-system-power-suspend hal-system-power-hibernate hal-system-power-shutdown hal-system-power-reboot hal-system-power-set-power-save
44 >
45 >
46 > Ubuntu doesn't have such files. So, something different must happen,
47 > when those buttons are pressed. Is there a documentation reg. g-p-m?
48 > If so - where?
49 >
50 > on FC5 those files live in /usr/share/hal/scripts
51 >
52 >
53 > Andrew
54 >
55 >
56 >
57 >
58
59 Alexander Skwar
60 --
61 Das Merkmal eines kleinen Menschen ist, daß er hochmütig wird, wenn
62 er merkt, daß man ihn braucht.
63 -- Friedl Beutelrock
64
65
66 --
67 gentoo-user@g.o mailing list