@Sebastien Unity use unity-settings-daemon which depends on gnome-settings-daemon- schemas and gsetting-ubuntu-schemas for power related settings.
How to reproduce: 1) Log in to unity-session 2) UCC-> Power 3) Choose "Do nothing" for lid is closed option. It won't work. Certainly not without tweak-tool. But the Ubuntu autostart ignore-lid-switch-tweak (/usr/lib/gnome-tweak-tool/gnome- tweak-tool-lid-inhibitor) which needs to be disabled as well. The patch only changes inhibit_lid_switch_action behavior. Gnome-shell can have tweak-tool, but other sessions are affected. In short it's broken Solution: ---------------- gsettings set org.gnome.settings-daemon.plugins.power.lid-close-ac-action 'nothing' gsettings set org.gnome.settings-daemon.plugins.power lid-close-suspend-with-external-monitor false These schemas needs to be set to make it work properly. And we can do that in "ubuntu-settings". Also when laptop boots with lid-closed it's all gdm before login. So these settings needs to be changed on the behalf of the gdm. That way there won't be any conflict, both gnome-tweak-tool and unity power settings will work properly. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1716160 Title: System goes to sleep with external monitor and lid closed after login Status in gdm3 package in Ubuntu: Invalid Status in gnome-settings-daemon package in Ubuntu: Fix Released Status in gnome-shell package in Ubuntu: Invalid Status in gdm3 source package in Artful: Invalid Status in gnome-settings-daemon source package in Artful: Fix Released Status in gnome-shell source package in Artful: Invalid Bug description: Using a laptop with lid closed and an external monitor, you can boot. Bios will show on the external monitor, as well as gdm when boot is finished. You can then choose a user and type in your password, which is accepted. But then, system goes to sleep (as the lid is cloesd I guess). Going out of sleep with the power button shows the gnome shell. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1716160/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

