From: Jonathan <winelauncher.jonathan@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Gnome is missing the hibernate button in the shutdown dialog box.
Date: Thu, 15 Jul 2010 10:41:43 +0100 [thread overview]
Message-ID: <20100715104143.1013baa3@box> (raw)
I'm running TuxOnIce kernel version 2.6.34-r1 with gnome 2.28.2.
I can hibernate using pm-hibernate as root but I do not have a hibernate button in the shutdown dialog box
but it does have suspend button which works.
Here is some info based on https://wiki.ubuntu.com/DebuggingGNOMEPowerManager.
After running:
echo /sbin/tuxoniceui_text > /sys/power/tuxonice/user_interface/program
echo /mnt/data/system/suspend_file > /sys/power/tuxonice/file/target
I can using Hibernate:
$ dbus-send --system --print-reply --dest="org.freedesktop.Hal" /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Hibernate
$ dbus-send --session --print-reply --dest="org.freedesktop.PowerManagement" --type=method_call --reply-timeout=6000 /org/freedesktop/PowerManagement org.freedesktop.PowerManagement.CanSuspend
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PowerManagement was not provided by any .service files
Does not work on Gentoo ?
$ gconftool-2 -g /apps/gnome-power-manager/general/can_hibernate
true
$ gconftool-2 -g /apps/gnome-power-manager/general/can_suspend
true
$ polkit-auth | grep power-management.suspend
org.freedesktop.hal.power-management.suspend
$ polkit-auth | grep power-management.hibernate
org.freedesktop.hal.power-management.hibernate
$ pm-is-supported --suspend && echo $?
0
$ pm-is-supported --hibernate && echo $?
0
$ hal-device | grep power_management.can_
power_management.can_suspend = true (bool)
power_management.can_suspend_hybrid = true (bool)
power_management.can_hibernate = true (bool)
I have being pulling my hair out over this missing hibernate button for over a day and Google is being useless in this matter.
reply other threads:[~2010-07-15 9:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20100715104143.1013baa3@box \
--to=winelauncher.jonathan@googlemail.com \
--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