30
submitted 1 year ago* (last edited 1 year ago) by SpicyTofuSoup@lemmy.sdf.org to c/linux@lemmy.ml

Hey everyone

Not sure if this is the right place to ask. I have been experiencing this issue for a while now. I'm convinced it's something to do with my monitor setup. When I use a Wayland session my monitors refuse to sleep! On X11 they sleep as expected when the screen is locked. On Wayland they go to sleep, flash the "entering power save" message and then turn back on. Here is my current and previous setups that both experienced the exact same issue.

Current:

OS: Arch Linux x86_64 
Host: B550M Steel Legend 
Kernel: 6.4.10-arch1-1 
DE: Plasma 5.27.7 
WM: kwin 
CPU: AMD Ryzen 5 5600X (12) @ 3.700GHz 
GPU: AMD ATI Radeon RX 7900 XT/7900 XTX 
Memory: 4705MiB / 32018MiB

Previous 2 configurations:

DE: GNOME 43-44
WM: Mutter
GPU: RTX 3080
(everything else is the same except kernel) 
DE: GNOME 41-43
WM: Mutter
GPU: GTX 1080ti
(everything else is the same except kernel) 

I've tried running this command I found on stack overflow:

/bin/sleep 1 && /bin/dbus-send --session --dest=org.kde.kglobalaccel /component/org_kde_powerdevil org.kde.kglobalaccel.Component.invokeShortcut string:'Turn Off Screen'

Note: && should be && but lemmy is sanitizing it and won't let me put ampersands in code blocks

but no luck. Any ideas on how to fix this?

you are viewing a single comment's thread
view the rest of the comments
[-] gi1242@lemmy.ml 3 points 1 year ago

Dont sleep 1&. Instead sleep 1;

[-] SpicyTofuSoup@lemmy.sdf.org 1 points 1 year ago* (last edited 1 year ago)

Ah sorry lemmy code sanitation is changing it. I added a note below it.

this post was submitted on 13 Aug 2023
30 points (100.0% liked)

Linux

47998 readers
986 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS