You are not logged in.

#1 2014-03-19 20:10:52

klingt.net
Member
Registered: 2014-03-10
Posts: 25

Gnome3: Cannot set laptop lid close action

I've checked the lid closing sensor with watch /proc/acpi/button/lid/LID/state and the status changes without problems, but i can't set the lid closing action in gnome-tweak-tool or under power options. The laptop suspends only when an external monitor is not connected, i want to change it so it always suspends when the lid is closed.
How can I fix this?

Screenshots
power options
gnome-tweak-tool

Last edited by klingt.net (2014-03-19 20:28:05)

Offline

#2 2014-03-19 20:19:07

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Gnome3: Cannot set laptop lid close action

Please read the forum rules. Do not post full size images.

http://wiki.archlinux.org/index.php/For … s_and_Code


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2014-03-23 10:05:55

klingt.net
Member
Registered: 2014-03-10
Posts: 25

Re: Gnome3: Cannot set laptop lid close action

Seems to be a bug in gnome, gnome-tweak-tool outputs the following messages:

INFO    : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-battery-action)
INFO    : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-ac-action)
INFO    : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-suspend-with-external-monitor)

I added the keys manually to the schema but gnome-tweak-tool show this error when i try to start it with the new keys:

GLib-GIO-ERROR **: Settings schema 'org.gnome.settings-daemon.plugins.power' does not contain a key named 'lid-close-battery-action'

There are more people having a similar problem.

Last edited by klingt.net (2014-03-23 10:12:03)

Offline

#4 2014-03-24 12:43:52

cafe
Member
Registered: 2014-03-20
Posts: 156

Re: Gnome3: Cannot set laptop lid close action

Suspend is handled by systemd by default, you can change this behavior in /etc/systemd/logind.conf by changing the line

#HandleLidSwitch=suspend

to

HandleLidSwitch=ignore

Be aware that there is a current limitation with systemd 211 when using nvidia proprietary drivers.
For more details, check this thread

Last edited by cafe (2014-03-24 12:44:20)

Offline

Board footer

Powered by FluxBB