Can you modify this script so that it works when an external monitor is connected or the laptop is docked? gsd overrides logind, and prevents the computer from suspending in these cases.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722286 Title: Same action is forced for lid-close on AC and lid-close on battery To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-settings-daemon/+bug/1722286/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs