[Bug 1754862] Re: Screen remains active on lid close
[Expired for gnome-shell (Ubuntu) because there has been no activity for 60 days.] ** Changed in: gnome-shell (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754862 Title: Screen remains active on lid close To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754862] Re: Screen remains active on lid close
Thank you for reporting this bug to Ubuntu. Ubuntu 17.10 (artful) reached end-of-life on July 19, 2018. See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed. ** Changed in: gnome-shell (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754862 Title: Screen remains active on lid close To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754862] Re: Screen remains active on lid close
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnome-shell (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754862 Title: Screen remains active on lid close To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754862] Re: Screen remains active on lid close
I spoke to soon. Even with gnome tweak tool option to ON and HandleLidSwitch=ignore in /etc/systemd/logind.conf , the screen remains active when the lid is closed. (In my previous test it turned off because I didn't set =ignore in logind.conf yet so it was actually going in standby). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754862 Title: Screen remains active on lid close To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754862] Re: Screen remains active on lid close
Ok, I've found the problem. This was due to a setting I had enabled in "Gnome Tweak Tool": "Suspend when laptop lid is closed" to OFF Setting this option to OFF (the default is ON) adds an autostart link in .config/autostart/ignore-lid-switch-tweak.desktop, which runs the /usr/lib/gnome-tweak-tool/gnome-tweak-tool-lid-inhibitor utility, which creates a logind inhibitor: systemd-inhibit --list [...] Who: gnome-tweak-tool-lid-inhibitor (UID 1000/learts, PID 22291/gnome-tweak-too) What: handle-lid-switch Why: user preference Mode: block [...] "Mode: block" means that the signal is blocked and not passed to the other parts which may be handling the lid switch, including what I assume is the standard code handling the screen poweroff. By toggling the option to ON, the inhibitor goes away and the screen is turned off when I close the lid. Therefore, I advise everyone against using the "Suspend when laptop lid is closed" option in gnome tweak tools. A much better way to diisable suspend on lid cose is to edit /etc/systemd/logind.conf and set HandleLidSwitch=ignore. There are also the additional options of HandleLidSwitchDocked and HandleLidSwitchExternalPower (this one since systemd 238) to set a different action to take on lid close when the laptop is connected to an external monitor or AC power, respectively. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754862 Title: Screen remains active on lid close To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754862] Re: Screen remains active on lid close
** Tags added: suspend-resume -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754862 Title: Screen remains active on lid close To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754862] Re: Screen remains active on lid close
Ok, sorry for the late answer. Attached here is a fragment of journal errors, this is the part that always gets logged when I close and reopen the lid with no external monitor attached. I collected it using `journalctl -b --priority warning --lines 50 --follow` ** Attachment added: "JournalErrors on lid close" https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+attachment/5083429/+files/journalErrors.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754862 Title: Screen remains active on lid close To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754862] Re: Screen remains active on lid close
Yes for JournalErrors.txt it would be better to get a fresh log after the problem occurs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754862 Title: Screen remains active on lid close To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754862] Re: Screen remains active on lid close
Keep in mind that I launched the command in a different configuration (external monitor attached configured as the single display) and without triggering the bug beforehand. Should I reupload any of the attachments immediately after having triggered the bug? i.e. after closing and reopening the lid using the laptop display that remains active. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754862 Title: Screen remains active on lid close To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754862] Re: Screen remains active on lid close
** Changed in: gnome-shell (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754862 Title: Screen remains active on lid close To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754862] Re: Screen remains active on lid close
apport information ** Tags added: apport-collected artful ** Description changed: I have a Dell XPS 13 9370 (early 2018 model) with Ubuntu 17.04 installed. I use the Gnome on XOrg session. - When I close the laptop lid, I can see through the small (< 1mm) - hairline crack that the screen is still active, showing the entire - desktop. This happens only once I am logged in to the gnome shell - session, I tried closing the lid before logging and the screen is - correctly blanked. + When I close the laptop lid, I can see through the small (< 1mm) hairline crack that the screen is still active, showing the entire desktop. This happens only once I am logged in to the gnome shell session, I tried closing the lid before logging and the screen is correctly blanked. + --- + ApportVersion: 2.20.7-0ubuntu3.7 + Architecture: amd64 + CurrentDesktop: GNOME + DisplayManager: gdm3 + DistroRelease: Ubuntu 17.10 + InstallationDate: Installed on 2018-03-01 (11 days ago) + InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1) + Package: gnome-shell 3.26.2-0ubuntu0.1 + PackageArchitecture: amd64 + ProcVersionSignature: Ubuntu 4.13.0-36.40-generic 4.13.13 + Tags: artful + Uname: Linux 4.13.0-36-generic x86_64 + UpgradeStatus: No upgrade log present (probably fresh install) + UserGroups: adm cdrom dip docker lpadmin plugdev sambashare sudo + _MarkForUpload: True ** Attachment added: "Dependencies.txt" https://bugs.launchpad.net/bugs/1754862/+attachment/5076765/+files/Dependencies.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754862 Title: Screen remains active on lid close To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754862] Re: Screen remains active on lid close
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal: apport-collect 1754862 When reporting bugs in the future please use apport by using 'ubuntu- bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs. ** Package changed: gdm3 (Ubuntu) => gnome-shell (Ubuntu) ** Changed in: gnome-shell (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754862 Title: Screen remains active on lid close To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1754862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs