22

It's possible to inhibit the display turn off in kde using ``kde-inhibit --power --screenSaver ``` However, I want to inhibit the display turning off only when playing media (either by spotify or a browser), and let it sleep as usual when not playing media.

How could I achieve this? Is there a lower level solution that doesn't envolve the DE's setting?

all 4 comments
sorted by: hot top controversial new old
[-] rotopenguin@infosec.pub 5 points 1 year ago

That thing usually goes by the name "wake lock". I can't imagine why it's not doing the right thing by default.

[-] JC1@lemmy.ca 2 points 1 year ago

I use qtile on X11 and hyprland on Wayland. There is an option on hyprland for exactly that (idleinhibit window rule), but didn't find a good solution on qtile yet. Anyway I have issues with qtile for other things too (because of X11 mainly).

[-] lemmyvore@feddit.nl 1 points 1 year ago

Try putting the browser on fullscreen, see if that keeps the screen alive while playing.

this post was submitted on 26 Nov 2023
22 points (100.0% liked)

Linux

48758 readers
1011 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