· Robert Cernansky <[EMAIL PROTECTED]>:

> On Thu, 14 Sep 2006 23:19:17 +0200 Alexander Skwar <[EMAIL PROTECTED]> wrote:
> 
>> That dialog has a lot more options than the dialog shown in Gentoo.
>> In Gentoo, I do not have "Ruhezustand" (Hibernate) and the dialog
>> looks a lot simpler.
>> 
>> What do I have to do, to get the Ubuntu gnome logout dialog in
>> Gentoo as well?
> 
> To add hibernate option you have to set SuspendCommand variable in
> /etc/X11/gdm.conf. However I found out that if I set this to hibernate
> script, it is not executed.
> 
> SuspendCommand=/usr/sbin/hibernate
> 
> I'm trying to get it work but I do not get any error message or error
> log.

I found an old thread of mine on the gnome-power-management
list. See 
http://thread.gmane.org/gmane.comp.gnome.powermanager.devel/1156/focus=1156

Esp. http://permalink.gmane.org/gmane.comp.gnome.powermanager.devel/1163
is of interest:


> 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.
> 
> hal-get-property --udi /org/freedesktop/Hal/devices/computer \
>   --key org.freedesktop.Hal.Device.SystemPowerManagement.method_names
> 
> hal-get-property --udi /org/freedesktop/Hal/devices/computer \
>   --key org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths
> 
> 
> On my system (FC5) those produce the following.
> 
> Suspend Hibernate Shutdown Reboot SetPowerSave
> 
> 
> 
> hal-system-power-suspend hal-system-power-hibernate hal-system-power-shutdown 
> hal-system-power-reboot hal-system-power-set-power-save
> 
> 
>     Ubuntu doesn't have such files. So, something different must happen,
>     when those buttons are pressed. Is there a documentation reg. g-p-m?
>     If so - where?
> 
> on FC5 those files live in /usr/share/hal/scripts
> 
> 
> Andrew
> 
> 
> 
> 

Alexander Skwar
-- 
Das Merkmal eines kleinen Menschen ist, daß er hochmütig wird, wenn
er merkt, daß man ihn braucht.
                -- Friedl Beutelrock


-- 
[email protected] mailing list

Reply via email to