You are not logged in.

#1 2012-12-18 07:12:39

farnsworth
Member
From: /home/farnsworth
Registered: 2012-01-28
Posts: 28

[Solved] no more hibernation mode under gnome 3.6

Hi,
Since I upgraded to Gnome 3.6 (or maybe it is related to systemd?) I'm not able to launch hibernation mode anymore, I only have 'suspend' (and of course poweroff & reboot) in menu, no hibernate button.
Do you have this menu in your GS 3.6 or is it a misconfiguration of my desktop?
Thanks for your help.

Last edited by farnsworth (2012-12-20 17:37:41)

Offline

#2 2012-12-19 22:44:02

Michael Catanzaro
Member
Registered: 2012-11-04
Posts: 50

Re: [Solved] no more hibernation mode under gnome 3.6

I don't think GNOME 3 has ever had Hibernate. Are you using Alternative Status Menu?  I've heard that that extension no longer provides Hibernate in GNOME 3.6. I don't know why.

Offline

#3 2012-12-20 13:04:31

farnsworth
Member
From: /home/farnsworth
Registered: 2012-01-28
Posts: 28

Re: [Solved] no more hibernation mode under gnome 3.6

Thanks, you're right, I was using this extension before 3.6, it only provides a shutdown menu to put the computer in hibernation (and other) mode but it was not the only place where hibernation was present, in 3.4 (and less) I used to automatically put the computer in hibernation after 1 hour of inactivity with gconftool (or dconf-editor?), in 3.6 I'm unable to choose/find hibernation option in menus, there is only a 'suspend' entry.

Last edited by farnsworth (2012-12-20 13:07:29)

Offline

#4 2012-12-20 13:39:31

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [Solved] no more hibernation mode under gnome 3.6

Does that help?

Offline

#5 2012-12-20 16:01:39

Michael Catanzaro
Member
Registered: 2012-11-04
Posts: 50

Re: [Solved] no more hibernation mode under gnome 3.6

I think the ideal solution would be a way to add Hibernate to the menu.

Offline

#6 2012-12-20 16:38:09

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [Solved] no more hibernation mode under gnome 3.6

I do not know what shutdown menu cinnamon uses which is based on gnome-shell but it has the hibernation option.

Offline

#7 2012-12-20 17:36:25

farnsworth
Member
From: /home/farnsworth
Registered: 2012-01-28
Posts: 28

Re: [Solved] no more hibernation mode under gnome 3.6

OK, all my fault big_smile

I've tried to manually hibernate with "systemctl hibernate" but the restart was a normal boot, the problem was an recent update to grub2, I forgot to put the "resume=..." option in my new grub.cfg.
I've added the line in GRUB_CMDLINE_LINUX in /etc/default/grub and now hibernation works.

Selecting hibernation in gnome-tweak-tool is OK now! I've also set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type to hibernate.
I've choosed "Frippery Shut Down Menu" extension instead of "Alternative Status Menu", it adds an extended poweroff menu with suspend/hibernate/restart/cancel/poweroff, all is OK

Thanks for your help

Last edited by farnsworth (2012-12-20 17:45:04)

Offline

#8 2012-12-27 02:10:29

Michael Catanzaro
Member
Registered: 2012-11-04
Posts: 50

Re: [Solved] no more hibernation mode under gnome 3.6

So in their wisdom, the Alternative Status Menu devs decided to disable Hibernation by default.

To get it back, go to ~/.local/share/gnome-shell/extensions/alternative-status-menu@gnome-shell-extensions.gcampax.github.com/schemas

Edit the schema to set Hibernation=true.  Then run glib-compile-schemas . to compile all the (one) schemas in the current directory.

I haven't figured out how to change the value from the default - obviously that would be better than changing the default itself. But that works.  (It does not show up in dconf editor.)

I prefer this to the Frippery extension that adds five horizontal shutdown options, which don't really make terribly much sense in the shutdown menu.

Last edited by Michael Catanzaro (2012-12-27 02:11:15)

Offline

Board footer

Powered by FluxBB