** Changed in: gnome-settings-daemon
Status: Unknown => 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/1819471
Title:
gsd-power is not using lid-close-suspend-with-external-monitor value
Status in GNOME Settings Daemon:
New
Status in gnome-settings-daemon package in Ubuntu:
Triaged
Bug description:
I'm using 18.10 on Lenovo T480. Suspending on lid close is not possible with
external monitor attached.
Even if everything is set properly:
$ gsettings get org.gnome.settings-daemon.plugins.power
lid-close-suspend-with-external-monitor
true
$ dconf read
/org/gnome/settings-daemon/plugins/power/lid-close-suspend-with-external-monitor
true
gsp-power is still blocking system suspend:
$ systemd-inhibit --list --mode=block
Who: kpucynski (UID 1000/kpucynski, PID 1956/gsd-power)
What: handle-lid-switch
Why: Multiple displays attached
Mode: block
Even with LidSwitchIgnoreInhibited=yes set systemd-logind is not
ignoring it:
$ grep -v ^# /etc/systemd/logind.conf
[Login]
HandleSuspendKey=suspend
HandleHibernateKey=suspend
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
HandleLidSwitchDocked=suspend
SuspendKeyIgnoreInhibited=no
LidSwitchIgnoreInhibited=yes
$ journalctl -f -u systemd-logind
mar 11 16:08:43 kp-t480 systemd-logind[4822]: Lid closed.
mar 11 16:08:43 kp-t480 systemd-logind[4822]: device-enumerator: scan all dirs
mar 11 16:08:43 kp-t480 systemd-logind[4822]: device-enumerator: scanning
/sys/bus
mar 11 16:08:43 kp-t480 systemd-logind[4822]: device-enumerator: scanning
/sys/class
mar 11 16:08:43 kp-t480 systemd-logind[4822]: External (1) displays connected.
mar 11 16:08:43 kp-t480 systemd-logind[4822]: Refusing operation,
handle-lid-switch is inhibited.
mar 11 16:08:43 kp-t480 systemd-logind[4822]: device-enumerator: scan all dirs
mar 11 16:08:43 kp-t480 systemd-logind[4822]: device-enumerator: scanning
/sys/bus
mar 11 16:08:43 kp-t480 systemd-logind[4822]: device-enumerator: scanning
/sys/class
mar 11 16:08:43 kp-t480 systemd-logind[4822]: Refusing operation,
handle-lid-switch is inhibited.
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/1819471/+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