You are not logged in.

#1 2011-04-23 17:56:47

DarioP
Member
From: Geneva
Registered: 2011-01-05
Posts: 165

[solved] Gnome3 and laptops lid

Internet is full of crap about the fact that gnome 3 doesn't have an UI to select something different than suspension when closing the laptop's lid.. but it's really hard to find how to do it from bash.

On this site  http://fedora.rasmil.dk/blog/?p=208 I've found this:

gconftool-2 –type string –set /apps/gnome-power-manager/buttons/lid_ac “<setting>“
gconftool-2 –type string –set /apps/gnome-power-manager/buttons/lid_battery “<setting>“

<setting> ::= nothing|blank|suspend|hibernate|shutdown

or

gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action “<setting>”
gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action “<setting>”

but none of the two methods seems to work.

The first doesn't add any key in GConf (as I expect..)
The second exits with: # 0-7:can not parse as value of type `s'

Any suggestion? Thanks!

Last edited by DarioP (2011-04-23 19:15:24)

Offline

#2 2011-04-23 18:07:34

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [solved] Gnome3 and laptops lid

just install gnome-tweak-tool and you can tweak that from shell section


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-04-23 19:14:25

DarioP
Member
From: Geneva
Registered: 2011-01-05
Posts: 165

Re: [solved] Gnome3 and laptops lid

Solved, tanks smile

Offline

#4 2011-04-24 02:34:02

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

Re: [solved] Gnome3 and laptops lid

moved to [testing]


Forum Rules

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

Offline

Board footer

Powered by FluxBB