On 6 May 2026 at 18:30, Samuel Sieb wrote: Date sent: Wed, 6 May 2026 18:30:29 -0700 Subject: Re: Not suspending on laptop close To: Community support for Fedora users <[email protected]> From: Samuel Sieb <[email protected]> Send reply to: Community support for Fedora users <[email protected]>
> On 5/6/26 6:21 PM, Robert Moskowitz wrote: > > On 5/6/26 9:00 PM, Samuel Sieb wrote: > >> On 5/6/26 4:44 PM, Robert Moskowitz via users wrote: > >>> I set Power Manager to Suspend on both battery and plugged in when I > >>> close the laptop. > >>> > >>> It is not suspending. Even if I disconnect the USB for the KVM, > >>> though I did keep the HDMI plugged in. > >> > >> It won't suspend if there's an external display connected. > >> This is a long-standing issue: > >> https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/work_items/111 > >> Pressing the power button before closing the lid should work. > > > > Works just fine on my x140e running F41 w xfce. And worked F38 as well > > (I tend to get behind then leap forward with releases). > > This is a Gnome thing. Apparently XFCE doesn't care about people that > want to use an external monitor with the laptop lid closed. ;-) This is what I found to turn it on from Google. Seems default is no. To configure XFCE to suspend when the laptop lid is closed, open Settings > Power Manager, navigate to the System tab, and set "When laptop lid is closed" to "Suspend" for both plugged-in and battery scenarios. If this fails, configure logind by editing /etc/systemd/logind.conf to set HandleLidSwitch=suspend. Steps to Enable Suspend on Lid Close: GUI Method (Easiest): Go to the application menu and open Settings Manager. Select Power Manager. Click the System tab. Under "When laptop lid is closed," select Suspend for both "Plugged in" and "On battery". Systemd Method (If GUI fails): Open a terminal and edit the logind file: sudo nano /etc/systemd/logind.conf. Locate #HandleLidSwitch=suspend. Remove the # at the beginning and ensure it is set to suspend. Save the file and run sudo systemctl restart systemd-logind to apply changes. Troubleshooting: Conflicts: If the settings do not take effect, XFCE might be letting logind handle the lid switch instead of xfce4-power-manager. Run this command to force XFCE to manage it: xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s false. External Display Issues: If using an external monitor and the screen freezes upon opening the lid, you may need to disable the XFCE compositor via Settings > Window Manager Tweaks > Compositor. XFCE - Laptop - When Lid is Closed > Do Nothing Oct 13, 2021 — Re: XFCE - Laptop - When Lid is Closed > Do Nothing. Post by vimes666 » Thu Oct 14, 2021 11:59 am. I am not familiar with xfce but... Linux Mint [SOLVED] XFCE 4.12 Not Suspending on Lid Close / Laptop Issues / ... Dec 29, 2015 — Re: [SOLVED] XFCE 4.12 Not Suspending on Lid Close I believe I have found a better workaround (from discussion here, comment #70). Arch Linux Forums Xfce Power Manager setting for "when laptop lid is closed" is ... Nov 14, 2018 — Qubes OS version: Qubes release 4.0 (R4.0) Affected component(s): dom0 laptop power management. Steps to reproduce the behavior: I... GitHub Show all > > Depending on the KVM, switching away might let it suspend. > > > What do you set power button for this to work? Suspend? > > Yes, and that's the default. > > -- > _______________________________________________ > users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/[email protected] > Do not reply to spam, report it: > https://forge.fedoraproject.org/infra/tickets/issues/new +------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:[email protected] mailto:[email protected] mailto:[email protected] Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+ -- _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
