You are not logged in.
I'm trying to get Arch to do nothing when I close my laptop lid. However, even though I have that option chosen in Cinnamon's power manager, it still suspends when I close the lid.
I opened up /etc/systemd/logind.conf and noticed that all the options were
commented out.
So the question is, how can I get Arch to use what I've set in Cinnamon's power settings instead of its own defaults?
Last edited by Hurricane (2013-12-24 20:42:57)
Computers are extra dumb, which is why it takes extra smart people to make them work.
Offline
Uncomment the #HandleLidSwitch line and set it to ignore
then restart systemd-logind
systemctl restart systemd-logind (you can always set them all to ignore for the other actions)
Last edited by ian.simonson (2013-12-24 16:04:39)
Offline
I thought about doing this, but I didn't because I don't see a distinction for how it handles it with the power cable unplugged (when it's unplugged I do want it to suspend). Will uncommenting the line allow Cinnamon to override it?
Computers are extra dumb, which is why it takes extra smart people to make them work.
Offline
There isn't as far as I can tell in logind. If you set it to ignore however, then cinnamon will handle the lid-closing action, and it should do exactly what you want it to.
Offline
It's working. Thanks for your help.
Computers are extra dumb, which is why it takes extra smart people to make them work.
Offline
I managed to fix the exact same issue on my laptop with cinnamon. However, I cant get it to suspend my computer after 30minutes for example. It just sits there, no black screen or anything, regardless of power-source. I have edited my logind.conf.
Anyone know why my settings get ignored? The setting im trying to fix is "suspend when inactive for..." in Cinnamon power settings.
Offline
I managed to fix the exact same issue on my laptop with cinnamon. However, I cant get it to suspend my computer after 30minutes for example. It just sits there, no black screen or anything, regardless of power-source. I have edited my logind.conf.
Anyone know why my settings get ignored? The setting im trying to fix is "suspend when inactive for..." in Cinnamon power settings.
It's bad practice to post in a thread marked as solved.
Do you have acpid and pm-utils installed?? Also, if you do not - does '$ systemctl suspend' work on your system? Does suspending via the cinnamon GUI work? I have a similar issue, and I think the automated events don't work because they're not entirely compatible with systemd (although most should be, as I assume that you can manually tell your system to suspend via the GUI).
I have a similar issue, where my cinnamon desktop does not hibernate when the battery reaches a critical state. I haven't tested suspend when inactive feature, but I'll post back with my results.
Offline
I made a new topic regarding this issue, sorry for hijacking this thread.
Offline