FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 07-15-2010, 09:41 AM
Default Gnome is missing the hibernate button in the shutdown dialog box.

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.H ibernate

$ 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
$ gconftool-2 -g /apps/gnome-power-manager/general/can_suspend
$ polkit-auth | grep power-management.suspend

$ polkit-auth | grep power-management.hibernate

$ pm-is-supported --suspend && echo $?

$ pm-is-supported --hibernate && echo $?

$ 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.

Thread Tools

All times are GMT. The time now is 01:13 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org