Don't sleep while external display is plugged in

Bug #1341797 reported by Cassidy James Blaede
46
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Switchboard Power Plug
Fix Released
Medium
Unassigned

Bug Description

We should detect if the user is using an external display when closing their laptop lid, and if so, change the suspend behavior.

If the following is true:

1. Connected to external display
2. Connected to external (USB or Bluetooth) mouse and keyboard
3. Plugged into power

...the laptop should not suspend when the lid is closed. Instead, the internal display should power off and the external display should be enabled.

Related branches

Revision history for this message
Danielle Foré (danrabbit) wrote :

I agree with this report, but I believe this is hard coded in the GNOME power manager now. I don't think we have control over what happens when you close the lid

Changed in switchboard-plug-power:
status: New → Confirmed
Revision history for this message
Pedro Monteiro (pedro.monteiro) wrote :

At least should be possible to choose what to do when the lid closes. Why did that option disappeared?

Changed in switchboard-plug-power:
assignee: nobody → elementary UX (elementary-design)
Changed in switchboard-plug-power:
assignee: elementary UX (elementary-design) → nobody
Changed in switchboard-plug-power:
assignee: nobody → kay van der Zander (kay20)
Revision history for this message
kay van der Zander (kay20) wrote :

Hello Pedro,
Just to inform you this feature was removed because the software who did the action was removed.
This software was not in our control. So we couldn't do anything about it.
After some time some a new software project has added these features.
It is added to systemd. i am currently working on it to get it back.
 even the option to set the dock/ external screen behavior when closing the lid.

Changed in switchboard-plug-power:
status: Confirmed → In Progress
Changed in switchboard-plug-power:
milestone: none → loki-beta1
Cody Garver (codygarver)
Changed in switchboard-plug-power:
importance: Undecided → Medium
Cody Garver (codygarver)
Changed in switchboard-plug-power:
assignee: kay van der Zander (kay20) → nobody
status: In Progress → Confirmed
Revision history for this message
Fabian Thoma (fabianthoma) wrote :

The current default behaviour on Loki builds with my Thinkpad in the docking station is exactly the desired behaviour.
When I close the lid the built in screen gets turned off and only the external screens are active. If I disconnect everything and close the lid the laptop goes to sleep. The correct dconf key to disable this behaviour is org.gnome.settings-daemon.plugins.power.lid-close-suspend-with-external-monitor. However toggeling that setting does not work, it's either a bug in GSD or they removed that feature.

Revision history for this message
kay van der Zander (kay20) wrote :

fabian it isn't a bug of GSD . it is because ubuntu switched to systemd which takes over the ACPID handling. it isn't a bug because other distro's haven't switched to systemd yet. specially arch and debain distro's can still have sysv.

summary: - Support closed display mode
+ Don't sleep while external display is plugged in
Cody Garver (codygarver)
Changed in switchboard-plug-power:
status: Confirmed → In Progress
Changed in switchboard-plug-power:
status: In Progress → Fix Committed
Cody Garver (codygarver)
Changed in switchboard-plug-power:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.