this post was submitted on 25 Apr 2024
22 points (100.0% liked)
Linux
48664 readers
537 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Since that bug seems related to the X server somehow, I wonder if your monitor is showing black or actually off/standby (as in backlight off)?
If it's the backlight, maybe it's related to DPMS (monitor power management), and you can jolt it back to life with something like
after waking up. Or maybe disable DPMS completely and see if that changes anything.
It would also be interesting to know if this problem also happens outside of XFCE. If you just use (say) openbox (which I don't think does any power management or DPMS stuff by itself), does that work?
It actually starts, and then turns off. I didn't notice it before you drew my attention.
The command doesn't do anything, but I was able to type
sudo reboot
and it rebooted.I can't install anything new, but I just tried starting power manager in i3 and using it to go to standby when i close the lid. It woke up 10 times in a row without an issue. So it's most likely a purely xfce issue that's been around for like a decade in different forms.
That does sound like DPMS ("vesa display power management signaling") shenanigans though.
Maybe you can disable XFCE's display power management stuff completely? Systemd's logind (
/etc/systemd/logind.conf
) can do (and does by default I think) suspend on lid-close without any window manager involvement at all, works fine with i3 here. So disabling XFCE's stuff probably "only" messes with your monitor not going standby after a while, and you can maybe use xset or xscreensaver and set this by hand (after making sure it's actually properly disabled in XFCE, so XFCE doesn't override that stuff).Found this about how to stop
xfce4-power-manager
and disable DPMS:Try doing that and see if lid close works afterwards.
I found a different solution: trigger an xrandr config. I'm leaving automating it for tomorrow.
The funniest thing is that I was trying to help out some other lemmy user fix their own xrandr issues, and accidentally came across a thread mentioning it when I went back to fixing my own.
Thanks for the help anyways
OK glad you found some workaround!
I found it because you pointed out the monitor might be turning off. Changed search terms and found the recommendation in a Reddit thread. The full solution wasn't great though.