[Desktop-packages] [Bug 1793918] Re: Add/reintroduce setting to enable suspend on lid-close with external monitors attached
> (untested) patch I built gsd with this patch and it works for me - it suspends with external monitor connected. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-desktop3 in Ubuntu. https://bugs.launchpad.net/bugs/1793918 Title: Add/reintroduce setting to enable suspend on lid-close with external monitors attached Status in gnome-desktop3 package in Ubuntu: Confirmed Status in gnome-settings-daemon package in Ubuntu: Confirmed Status in gnome-tweaks package in Ubuntu: Confirmed Bug description: 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 (repatched in ubuntu's version only). 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1793918/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1793918] Re: Add/reintroduce setting to enable suspend on lid-close with external monitors attached
Comment from the new duplicate 'This most trivial (untested) patch to use this settings seems to be: diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c index c7a16e8d..9b7a99b5 100644 --- a/plugins/power/gsd-power-manager.c +++ b/plugins/power/gsd-power-manager.c @@ -1196,7 +1196,7 @@ upower_kbd_toggle (GsdPowerManager *manager, static gboolean suspend_on_lid_close (GsdPowerManager *manager) { - return !external_monitor_is_connected (manager->rr_screen); + return g_settings_get_boolean (manager->settings, "lid-close-suspend-with-external-monitor") || !external_monitor_is_connected (manager->rr_screen); } static gboolean' ** Changed in: gnome-desktop3 (Ubuntu) Importance: Undecided => Low ** Changed in: gnome-settings-daemon (Ubuntu) Importance: Undecided => Low ** Changed in: gnome-tweaks (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-desktop3 in Ubuntu. https://bugs.launchpad.net/bugs/1793918 Title: Add/reintroduce setting to enable suspend on lid-close with external monitors attached Status in gnome-desktop3 package in Ubuntu: Confirmed Status in gnome-settings-daemon package in Ubuntu: Confirmed Status in gnome-tweaks package in Ubuntu: Confirmed Bug description: 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 (repatched in ubuntu's version only). 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1793918/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1793918] Re: Add/reintroduce setting to enable suspend on lid-close with external monitors attached
** Tags added: bionic ** Package changed: gnome-desktop (Ubuntu) => gnome-desktop3 (Ubuntu) -- 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/1793918 Title: Add/reintroduce setting to enable suspend on lid-close with external monitors attached Status in gnome-desktop3 package in Ubuntu: Confirmed Status in gnome-settings-daemon package in Ubuntu: Confirmed Status in gnome-tweaks package in Ubuntu: Confirmed Bug description: 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 (repatched in ubuntu's version only). 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1793918/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1793918] Re: Add/reintroduce setting to enable suspend on lid-close with external monitors attached
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnome-desktop (Ubuntu) Status: New => Confirmed -- 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/1793918 Title: Add/reintroduce setting to enable suspend on lid-close with external monitors attached Status in gnome-desktop package in Ubuntu: Confirmed Status in gnome-settings-daemon package in Ubuntu: Confirmed Status in gnome-tweaks package in Ubuntu: Confirmed Bug description: 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 (repatched in ubuntu's version only). 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-desktop/+bug/1793918/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1793918] Re: Add/reintroduce setting to enable suspend on lid-close with external monitors attached
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnome-settings-daemon (Ubuntu) Status: New => Confirmed -- 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/1793918 Title: Add/reintroduce setting to enable suspend on lid-close with external monitors attached Status in gnome-desktop package in Ubuntu: Confirmed Status in gnome-settings-daemon package in Ubuntu: Confirmed Status in gnome-tweaks package in Ubuntu: Confirmed Bug description: 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 (repatched in ubuntu's version only). 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-desktop/+bug/1793918/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1793918] Re: Add/reintroduce setting to enable suspend on lid-close with external monitors attached
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnome-tweaks (Ubuntu) Status: New => Confirmed -- 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/1793918 Title: Add/reintroduce setting to enable suspend on lid-close with external monitors attached Status in gnome-desktop package in Ubuntu: Confirmed Status in gnome-settings-daemon package in Ubuntu: Confirmed Status in gnome-tweaks package in Ubuntu: Confirmed Bug description: 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 (repatched in ubuntu's version only). 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-desktop/+bug/1793918/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1793918] Re: Add/reintroduce setting to enable suspend on lid-close with external monitors attached
** Summary changed: - Setting to enable suspend on lid-close with external monitors attached + Add/reintroduce setting to enable suspend on lid-close with external monitors attached ** Also affects: gnome-tweaks (Ubuntu) Importance: Undecided Status: New -- 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/1793918 Title: Add/reintroduce setting to enable suspend on lid-close with external monitors attached Status in gnome-desktop package in Ubuntu: New Status in gnome-settings-daemon package in Ubuntu: New Status in gnome-tweaks package in Ubuntu: New Bug description: 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 (repatched in ubuntu's version only). 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-desktop/+bug/1793918/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp