Public bug reported:

With Ubuntu 18.04 my laptop does not suspend when lid is closed while
external monitors are attached. This might be a good behavior for many
users but I want to have my laptop suspend again when I close it.

Some time ago there was an option in gsettings scheme org.gnome
.settings-daemon.plugins.power named lid-close-suspend-with-external-
monitor (introduced in
https://bugzilla.gnome.org/show_bug.cgi?id=657201). This settings seems
to have no effect anymore and seems to be removed in the current scheme.

This is realy anoying because at the moment the laptop does not suspend
at all with lid-close action because the nvidia driver discover the
internal built-in display under DP-4. That makes gnome think that there
is an external monitor connected. Is this a bug in nvidia driver or a
problem of gnome-desktop's gnome-rr which thinks that only monitors with
"LVDS|Lvds|LCD|eDP|DSI" in it's name could be an internal display?
However this might be another bug. I want to suspend with realy external
monitors attached anyhow because I always use my laptop as second/third
monitor.

As a realy bad workaround I now prevent gsd-power from beeing loaded at
all by "chmod a-x /usr/lib/gnome-settings-daemon/gsd-power". Of course
this have some unwanted side effect but better to have no suspend on
lid-close.

** Affects: gnome-settings-daemon (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  With Ubuntu 18.04 my laptop does not suspend when lid is closed while
  external monitors are attached. This might be a good behavior for many
  users but I want to have my laptop suspend again when I close it.
  
  Some time ago there was an option in gsettings scheme org.gnome
  .settings-daemon.plugins.power named lid-close-suspend-with-external-
  monitor (introduced in
  https://bugzilla.gnome.org/show_bug.cgi?id=657201). This settings seems
  to have no effect anymore and seems to be removed in the current scheme.
  
  This is realy anoying because at the moment the laptop does not suspend
  at all with lid-close action because the nvidia driver discover the
  internal built-in display under DP-4. That makes gnome think that there
  is an external monitor connected. Is this a bug in nvidia driver or a
  problem of gnome-desktop's gnome-rr which thinks that only monitors with
  "LVDS|Lvds|LCD|eDP|DSI" in it's name could be an internal display?
  However this might be another bug. I want to suspend with realy external
  monitors attached anyhow because I always use my laptop as second/third
  monitor.
+ 
+ As a realy bad workaround I now prevent gsd-power from beeing loaded at
+ all by "chmod a-x /usr/lib/gnome-settings-daemon/gsd-power". Of course
+ this have some unwanted side effect but better to have no suspend on
+ lid-close.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1793918

Title:
  Setting to enable suspend on lid-close with external monitors attached

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1793918/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to