public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Gnome logout dialog in Ubuntu has way more options - how to get suspend?
@ 2006-09-14 21:19 Alexander Skwar
  2006-09-14 22:01 ` David Grant
  2006-09-15 10:02 ` [gentoo-user] " Robert Cernansky
  0 siblings, 2 replies; 8+ messages in thread
From: Alexander Skwar @ 2006-09-14 21:19 UTC (permalink / raw
  To: gentoo-user

Hi!

When I logout of Gnome in Ubuntu (to start Gentoo *G*), I get the
following dialog: http://www.myimg.de/?img=gnomelogoutc2e.gif

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?

Thanks,

Alexander Skwar
-- 
<Knghtbrd> Yorick: no problem with indexed color palettes for images, as
           long as you can pick the palette
<Yorick> Obviously the people creating quake were colour-blind but that
         doesn't mean you have to be


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Gnome logout dialog in Ubuntu has way more options - how to get suspend?
  2006-09-14 21:19 [gentoo-user] Gnome logout dialog in Ubuntu has way more options - how to get suspend? Alexander Skwar
@ 2006-09-14 22:01 ` David Grant
  2006-09-15  5:50   ` [gentoo-user] " Alexander Skwar
  2006-09-15 10:02 ` [gentoo-user] " Robert Cernansky
  1 sibling, 1 reply; 8+ messages in thread
From: David Grant @ 2006-09-14 22:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 954 bytes --]

First things first, what version of Gnome is your Ubuntu screenshot from,
and which version of Gnome in Gentoo are you using?

David

On 9/14/06, Alexander Skwar <listen@alexander.skwar.name> wrote:
>
> Hi!
>
> When I logout of Gnome in Ubuntu (to start Gentoo *G*), I get the
> following dialog: http://www.myimg.de/?img=gnomelogoutc2e.gif
>
> 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?
>
> Thanks,
>
> Alexander Skwar
> --
> <Knghtbrd> Yorick: no problem with indexed color palettes for images, as
>            long as you can pick the palette
> <Yorick> Obviously the people creating quake were colour-blind but that
>          doesn't mean you have to be
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
David Grant
http://www.davidgrant.ca

[-- Attachment #2: Type: text/html, Size: 1554 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user]  Re: Gnome logout dialog in Ubuntu has way more options - how to get suspend?
  2006-09-14 22:01 ` David Grant
@ 2006-09-15  5:50   ` Alexander Skwar
  0 siblings, 0 replies; 8+ messages in thread
From: Alexander Skwar @ 2006-09-15  5:50 UTC (permalink / raw
  To: gentoo-user

· David Grant <davidgrant@gmail.com>:

> 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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user]  Gnome logout dialog in Ubuntu has way more options - how to get suspend?
  2006-09-14 21:19 [gentoo-user] Gnome logout dialog in Ubuntu has way more options - how to get suspend? Alexander Skwar
  2006-09-14 22:01 ` David Grant
@ 2006-09-15 10:02 ` Robert Cernansky
  2006-09-15 10:50   ` Mick
                     ` (2 more replies)
  1 sibling, 3 replies; 8+ messages in thread
From: Robert Cernansky @ 2006-09-15 10:02 UTC (permalink / raw
  To: gentoo-user

On Thu, 14 Sep 2006 23:19:17 +0200 Alexander Skwar <listen@alexander.skwar.name> 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. Executing hibernate script from console works.

Robert


-- 
Robert Cernansky
E-mail: hslists2@zoznam.sk
Jabber: HS@jabber.sk

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user]  Gnome logout dialog in Ubuntu has way more options - how to get suspend?
  2006-09-15 10:02 ` [gentoo-user] " Robert Cernansky
@ 2006-09-15 10:50   ` Mick
  2006-09-15 12:02     ` Robert Cernansky
  2006-09-15 17:26   ` [gentoo-user] " Alexander Skwar
  2006-09-15 17:35   ` Alexander Skwar
  2 siblings, 1 reply; 8+ messages in thread
From: Mick @ 2006-09-15 10:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

On Friday 15 September 2006 11:02, Robert Cernansky wrote:

> 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. Executing hibernate script from console works.

Just a thought:  do you need to sudo it?
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user]  Gnome logout dialog in Ubuntu has way more options - how to get suspend?
  2006-09-15 10:50   ` Mick
@ 2006-09-15 12:02     ` Robert Cernansky
  0 siblings, 0 replies; 8+ messages in thread
From: Robert Cernansky @ 2006-09-15 12:02 UTC (permalink / raw
  To: gentoo-user

On Fri, 15 Sep 2006 11:50:59 +0100 Mick <michaelkintzios@gmail.com> wrote:

> On Friday 15 September 2006 11:02, Robert Cernansky wrote:
> 
> > 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. Executing hibernate script from console works.
> 
> Just a thought:  do you need to sudo it?

Sudo did not help. I enabled debug logging for gdm but nothing useful
was logged.

Robert


-- 
Robert Cernansky
E-mail: hslists2@zoznam.sk
Jabber: HS@jabber.sk

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user]  Re: Gnome logout dialog in Ubuntu has way more options - how to get suspend?
  2006-09-15 10:02 ` [gentoo-user] " Robert Cernansky
  2006-09-15 10:50   ` Mick
@ 2006-09-15 17:26   ` Alexander Skwar
  2006-09-15 17:35   ` Alexander Skwar
  2 siblings, 0 replies; 8+ messages in thread
From: Alexander Skwar @ 2006-09-15 17:26 UTC (permalink / raw
  To: gentoo-user

· Robert Cernansky <hslists2@zoznam.sk>:

> On Thu, 14 Sep 2006 23:19:17 +0200 Alexander Skwar <listen@alexander.skwar.name> 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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user]  Re: Gnome logout dialog in Ubuntu has way more options - how to get suspend?
  2006-09-15 10:02 ` [gentoo-user] " Robert Cernansky
  2006-09-15 10:50   ` Mick
  2006-09-15 17:26   ` [gentoo-user] " Alexander Skwar
@ 2006-09-15 17:35   ` Alexander Skwar
  2 siblings, 0 replies; 8+ messages in thread
From: Alexander Skwar @ 2006-09-15 17:35 UTC (permalink / raw
  To: gentoo-user

· Robert Cernansky <hslists2@zoznam.sk>:

> On Thu, 14 Sep 2006 23:19:17 +0200 Alexander Skwar <listen@alexander.skwar.name> 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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-09-15 17:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-14 21:19 [gentoo-user] Gnome logout dialog in Ubuntu has way more options - how to get suspend? Alexander Skwar
2006-09-14 22:01 ` David Grant
2006-09-15  5:50   ` [gentoo-user] " Alexander Skwar
2006-09-15 10:02 ` [gentoo-user] " Robert Cernansky
2006-09-15 10:50   ` Mick
2006-09-15 12:02     ` Robert Cernansky
2006-09-15 17:26   ` [gentoo-user] " Alexander Skwar
2006-09-15 17:35   ` Alexander Skwar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox