You are not logged in.

#1 2011-05-21 16:29:33

martvefun
Member
From: The Internets
Registered: 2009-12-19
Posts: 174

Don't go to sleep when lid is closed while in charge

Hello,

When I close the lid of my laptop, the computer goes to sleep mode with gnome 3, even my the power cable is plug.
How can I disable it to have two different behaviours : when in charge or not ?

Thank you


English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro

Offline

#2 2011-05-21 22:10:25

MartijnL
Member
From: Leiden, The Netherlands
Registered: 2011-04-17
Posts: 23

Re: Don't go to sleep when lid is closed while in charge

Use gnome-tweak-tool (available in extra repo). You'll find what you are looking for under the shell-dialog.

pacman -S gnome-tweak-tool

I'll give you the CLI-alternative 'cause GNOME 3 has a few quirks that gnome-tweak-tool can't fix, and you'll know where to look next time wink

gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank

Last edited by MartijnL (2011-05-21 22:11:36)

Offline

#3 2011-05-22 07:39:50

martvefun
Member
From: The Internets
Registered: 2009-12-19
Posts: 174

Re: Don't go to sleep when lid is closed while in charge

Thank you


English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro

Offline

#4 2011-05-22 08:31:14

litrelord
Member
From: UK
Registered: 2011-05-15
Posts: 3

Re: Don't go to sleep when lid is closed while in charge

MartijnL wrote:

I'll give you the CLI-alternative 'cause GNOME 3 has a few quirks that gnome-tweak-tool can't fix, and you'll know where to look next time wink

gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank

Was just looking for this exact thing.

Thank you

Nick

Offline

Board footer

Powered by FluxBB