You are not logged in.

#1 2015-05-15 00:15:34

rasedgwick
Member
Registered: 2015-05-14
Posts: 4

Wont suspend on lid close

Running Arch/Cinnamon, seems to be a problem with cinnamon; on old mac book

I know the switch is working because it sill still suspend on lid close in OSX, and its set correctly in Cinammon system power settings.

/etc/systemd/longin.cnf:

    [Login]
    NAutoVTs=6
    ReserveVT=6
    KillUserProcesses=no
    KillOnlyUsers=
    KillExcludeUsers=root
    InhibitDelayMaxSec=5
    HandlePowerKey=poweroff
    HandleSuspendKey=suspend
    HandleHibernateKey=hibernate
    HandleLidSwitch=suspend
    HandleLidSwitchDocked=ignore
    PowerKeyIgnoreInhibited=no
    SuspendKeyIgnoreInhibited=no
    HibernateKeyIgnoreInhibited=no
    LidSwitchIgnoreInhibited=yes
    IdleAction=ignore
    IdleActionSec=30min
    RuntimeDirectorySize=10%
    RemoveIPC=yes

systemd-inhibit --list:

    Who: rasedgwick (UID 1000/rasedgwick, PID 282/cinnamon-settin)
    What: handle-power-key:handle-suspend-key:handle-hibernate-key
     Why: Cinnamon handling keypresses
    Mode: block

     Who: rasedgwick (UID 1000/rasedgwick, PID 282/cinnamon-settin)
    What: handle-lid-switch
     Why: Multiple displays attached
    Mode: block

     Who: rasedgwick (UID 1000/rasedgwick, PID 282/cinnamon-settin)
    What: sleep
     Why: Cinnamon needs to lock the screen
    Mode: delay

Seems like its being inhibited because it thinks a second display is hooked up, but its not.

Any Ideas how to fix this.

Offline

#2 2015-05-15 03:30:02

rasedgwick
Member
Registered: 2015-05-14
Posts: 4

Re: Wont suspend on lid close

Ha, fixed it my swap wasn't mounted. Also I switch go gnome which didn't help but I like better!

Offline

#3 2016-12-04 17:26:18

marmistrz
Member
Registered: 2016-01-05
Posts: 129

Re: Wont suspend on lid close

Hmmm, I have the same problem on Cinnamon 3.2, but I have a swap space mounted. Either way, I don't see any reason why this should happen.

Offline

#4 2016-12-04 20:41:50

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Wont suspend on lid close

Hmmm, I have the same problem on Cinnamon 3.2, but I have a swap space mounted.

Then it's not the same problem. Please don't necrobump.

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB