You are not logged in.

#1 2012-11-09 17:28:19

Archipicchia
Member
Registered: 2012-11-09
Posts: 2

GNOME Shell 3.6 does not hibernate on laptop lid close

Hello everybody,
it's the first message I write on the forum.

Since I upgraded to Gnome 3.6, I can't hibernate anymore on laptop lid close. Before upgrading, everything works fine. Now, no matter what are the settings in the Tweak Tool, I can't hibernate on laptop lid close. Particularly, I tried to set "Suspend" and it did suspend, but if I put "Hibernate", it does not hibernate, but, again, suspends.
The interesting thing is that if I set "hibernate" as the power button action, it correctly suspends, so it seems like it's something connected with the latpop lid action.

Any hint?

Thanks a lot in advance,
Gianluca

Offline

#2 2012-11-10 18:03:56

Archipicchia
Member
Registered: 2012-11-09
Posts: 2

Re: GNOME Shell 3.6 does not hibernate on laptop lid close

At last I managed, more or less, to solve.
It seems like it's an issue between systemd-logind and Gnome Shell.

The file /etc/systemd/logind.conf was all commented.
I uncommented the lines:

HandleLidSwitch=hibernate
LidSwitchIgnoreInhibited=yes

and set to Nothing in gnome-tweak-tool, thus obtaining:

$ gsettings list-recursively | grep lid-close
org.gnome.settings-daemon.plugins.power lid-close-ac-action 'nothing'
org.gnome.settings-daemon.plugins.power lid-close-battery-action 'nothing'

Still, if now I want to change the behaviour of the laptop lid, I have to change the logind.conf manually and then restart the PC.
Anybody has a better solution?

Thanks a lot,
Gianluca

Offline

Board footer

Powered by FluxBB