You are not logged in.
Hello!
I've always used the following to lines to tell Gnome-Power-Manager not to suspend my laptop, when the lid is closed:
org.gnome.settings-daemon.plugins.power lid-close-ac-action 'blank'
org.gnome.settings-daemon.plugins.power lid-close-battery-action 'blank'
I remember a huge (and regular...) discussion around Gnome 3, because the developers resisted to re-implemented a button for this in the UI of Gnome3. Well, the two lines above done their job all the time. Since the last update of Systemd this seems to be ignored:
Oct 09 01:19:58 cupcake systemd-logind[273]: Lid closed.
Oct 09 01:19:58 cupcake systemd-logind[273]: Suspending...
Oct 09 01:19:58 cupcake systemd[1]: Starting Sleep.
Oct 09 01:19:58 cupcake systemd[1]: Reached target Sleep.
Oct 09 01:19:58 cupcake systemd[1]: Starting Suspend...
Is anyone other affected? Looks like a real problem for me. If I close the lid I want to close my lid, nothing more an especially not suspend
/var/log/pacman.log
[2012-10-08 21:59] upgraded systemd (193-1 -> 194-1)
[2012-10-08 21:59] upgraded systemd-sysvcompat (193-1 -> 194-1)
Last edited by hoschi (2012-10-08 23:53:06)
Offline
Did you disable it in /etc/systemd/logind.conf? See man 5 logind.conf
Offline
Nope. Found it five minutes ago. My shame! Thank you
Offline
whoa! thanks for this.... I'm using xfce4-power-manager and everytime I opened my lid it would wake up from sleep and suddenly go back... I'll look on this when I get home. Thanks a lot!
Offline
Nope. Found it five minutes ago. My shame! Thank you
This is driving me crazy. I've read the article, but I still don't understand what I'm supposed to do. I have tried changing values from logind.conf *IgnoreInhibited to yes to no, but the laptop still suspend when the lid is closed .
Geeks & Linux Atelier
An eye for an eye ... ends in making everybody blind -- Mahatma Gandhi
dotfiles
Offline
You uncomment the lines Handle*{Key,Switch} in logind.conf and set them to ignore.
Offline
hoschi wrote:Nope. Found it five minutes ago. My shame! Thank you
This is driving me crazy. I've read the article, but I still don't understand what I'm supposed to do. I have tried changing values from logind.conf *IgnoreInhibited to yes to no, but the laptop still suspend when the lid is closed .
That article doesn't even mention the "IgnoreInhibited" options. It very explicitly states the relevent options in a bulleted list. Are you certain you read it?
Offline
hoschi wrote:Nope. Found it five minutes ago. My shame! Thank you
This is driving me crazy. I've read the article, but I still don't understand what I'm supposed to do. I have tried changing values from logind.conf *IgnoreInhibited to yes to no, but the laptop still suspend when the lid is closed .
All you need to do is set HandleLidSwitch=ignore in logind.conf, this will make systemd ignore the lid switch completely, and leave gnome to handle it. Its pretty self explanatory... You can also set the other similar options to ignore, like HandlePowerKey, HandleSuspendKey, HandleHibernateKey if you want only gnome to handle them.
Last edited by bwat47 (2012-10-10 22:02:54)
Offline
pablox wrote:hoschi wrote:Nope. Found it five minutes ago. My shame! Thank you :)
This is driving me crazy. I've read the article, but I still don't understand what I'm supposed to do. I have tried changing values from logind.conf *IgnoreInhibited to yes to no, but the laptop still suspend when the lid is closed :(.
All you need to do is set HandleLidSwitch=ignore in logind.conf, this will make systemd ignore the lid switch completely, and leave gnome to handle it. Its pretty self explanatory... You can also set the other similar options to ignore, like HandlePowerKey, HandleSuspendKey, HandleHibernateKey if you want only gnome to handle them.
I read it and I understood... maybe I had to reboot to make the changes work? I changed everything to ignore (I want to control that via xfce4-power-manager).
Geeks & Linux Atelier
An eye for an eye ... ends in making everybody blind -- Mahatma Gandhi
dotfiles
Offline
Maybe just a daemon-reload might do the trick... not sure though.
Offline
Well, after rebooting it worked so I'm happy again =P
Geeks & Linux Atelier
An eye for an eye ... ends in making everybody blind -- Mahatma Gandhi
dotfiles
Offline
i realize this is an old post, but all i seem to find are old and older posts, this is not working for me, nor gnome-tweak-tools or command line options i have found...
driving me nuts trying to get this resolved.
has anyone else experienced this recently and found a solution that works?
maybe if i used a different wm...?
Last edited by fallen00sniper (2013-08-16 06:32:52)
Offline
i realize this is an old post, but all i seem to find are old and older posts, this is not working for me, nor gnome-tweak-tools or command line options i have found...
driving me nuts trying to get this resolved.
has anyone else experienced this recently and found a solution that works?
maybe if i used a different wm...?
Don't ever do this. Make a new thread instead of bumping an old one. Please read the forum rules.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline