From: Alexander Skwar <listen@alexander.skwar.name>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Gnome logout dialog in Ubuntu has way more options - how to get suspend?
Date: Fri, 15 Sep 2006 19:35:58 +0200 [thread overview]
Message-ID: <1360045.rvUz1BsyBC@m-id.message-center.info> (raw)
In-Reply-To: Mahogany-0.67.0-14044-20060915-120218.00@kihnet.sk
· 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
prev parent reply other threads:[~2006-09-15 17:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1360045.rvUz1BsyBC@m-id.message-center.info \
--to=listen@alexander.skwar.name \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox