Dont sleep 1&
. Instead sleep 1;
Linux
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
Ah sorry lemmy code sanitation is changing it. I added a note below it.
Have you tried putting the display to sleep from the CLI and see if there's any meaningful output?
I'm not at my desk but something like: https://askubuntu.com/questions/62858/turn-off-monitor-using-command-line
OK, I just realised you've already done something similar. Scratch what I wrote.
Just out of curiosity, since I've had a similar problem, can you try to disable KScreen 2 in your Background Services settings near the startup applications/autostart menu, then try to let your monitors go to sleep?
My monitors always wake from sleep repeatedly on their own on both X11 and Wayland, but disabling it fixes it for me (but also resets my monitor settings on every boot/log in). I'm still working on finding a permanent solution for mine, but if this also acts as a workaround for your issue it might help narrow down the cause a bit.