HandleLidSwitch=ignore HandleLidSwitchExternalPower=ignore Should be sufficient. Did you reload systemd-logind or restart after changing those?
Also, could you check it's not gnome's inactive timeout? gsettings list-recursively org.gnome.settings-daemon.plugins.power -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2129563 Title: Close laptop lid suspends even with HandleLidSwitch*=lock To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2129563/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
