pop-os / cosmic-epoch

Next generation Cosmic desktop environment
3.16k stars 85 forks source link

[BUG] Screen turn off no matter what when there's no user input before the set time #1238

Open Zakadius123 opened 1 week ago

Zakadius123 commented 1 week ago

Having "Turn off the screen after" in the power saving settings enabled (any set time other than 'never') will cause the screens to turn off even when a full screen video or a game is playing unless the user uses their mouse or keyboard at least once before it starts dimming.

ids1024 commented 6 days ago

cosmic-idle should handle screensaver inhibition: https://github.com/pop-os/cosmic-idle/blob/master/src/freedesktop_screensaver.rs. (There are a couple protocols for screesaver inhibition; xdg-desktop-portal wraps this with the inhibit portal.)

I think videos in Firefox were inhibiting screensavers properly when I tested it. VLC should work too.

jokeyrhyme commented 2 days ago

Relates to #172