Public bug reported: I use "do nothing" (... I guess, "ne rien faire" in french) option on both battery and supply in power manager. It works until I plug an external monitor (DisplayPort), disconnect, then it suspends when closing lid.
Changing options changes nothing in /etc/systemd/logind.conf: [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 #HoldoffTimeoutSec=30s #IdleAction=ignore #IdleActionSec=30min #RuntimeDirectorySize=10% #RemoveIPC=yes #InhibitorsMax=8192 #SessionsMax=8192 #UserTasksMax=33% Problem appeared after Mint 18 -> 19 upgrade with 'mintupgrade' tool. System: Toshiba Tecra A50-A-130 Linux Mint 19 (= bionic) Cinnamon 3.8.9 5.3.0-46-generic Intel© Core™ i7-4600M CPU @ 2.90GHz × 2 apt-cache policy systemd systemd: Installé : 237-3ubuntu10.39 Candidat : 237-3ubuntu10.39 Table de version : *** 237-3ubuntu10.39 500 500 http://ubuntu.ethz.ch/ubuntu bionic-updates/main amd64 Packages 100 /var/lib/dpkg/status 237-3ubuntu10.38 500 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 237-3ubuntu10 500 500 http://ubuntu.ethz.ch/ubuntu bionic/main amd64 Packages ** Affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874144 Title: Suspends when lid closed despite "do nothing" option after using ext monitor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1874144/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs