[gentoo-user] Re: Gnome logout dialog in Ubuntu has way more options - how to get suspend?

2006-09-15 Thread Alexander Skwar
· 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.

In Ubuntu, this has no effect. As far as I know, this logout
dialog comes from gnome-power-manager. I think so, as the
available options on this dialog can be controlled in gconf
with the key apps/gnome-power-manager.

 However I found out that if I set this to hibernate 
 script, it is not executed.

Yes. In Ubuntu, the actions are controlled by the
/usr/sbin/pmi script; pmi comes from what they call powermanagement-interface.
Such a package doesn't exist in Gentoo, it seems. According
to the Portage File Search on http://www.rommel.stw.uni-erlangen.de/~fejf/pfs/
no package provides /usr/sbin/pmi.

And all of that is also somehow controlled by hal.

Alexander Skwar
-- 
Das war ganz verblüffend.
Ich bin in Kaiserslautern eingestiegen
und plötzlich waren wir in Stuttgart.
-- Klaus Knopper


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Gnome logout dialog in Ubuntu has way more options - how to get suspend?

2006-09-15 Thread Alexander Skwar
· 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


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Gnome logout dialog in Ubuntu has way more options - how to get suspend?

2006-09-14 Thread Alexander Skwar
· David Grant [EMAIL PROTECTED]:

 First things first, what version of Gnome is your Ubuntu screenshot from,

2.14.x

 and which version of Gnome in Gentoo are you using?

2.14.x

Alexander Skwar
-- 
Can't open /usr/share/games/fortunes/fortunes.dat.


-- 
gentoo-user@gentoo.org mailing list