-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inhibiting Screensaver whilst playing files? #58
Comments
Probably because of this: 52df396 Tested only on |
I'll do my best. I'm using the Plasma Desktop on Arch, with the 'screen energy saving' option turned on to switch off the screen after 10 minutes on AC power and 5 minutes on battery power. Experimentally, I toggled the switch off to 1 minute as to test QMPlay2's screensaver inhibiting ability, and played a YouTube video which lasted 10 minutes. The screen turned blank after the minute was up. This also occured for full-screen audio (with album art), which inhibited screen blanking in the past (thanks for that again ^^). For the screen to turn blank, all I have to do is wait for the designated blank time - I don't touch the computer. (Apologies - I wasn't sure what the 'close and comment' option did ^^;) |
Thanks, I'll try on Plasma Desktop soon. One more thing, could you execute |
Enabling the screensaver with xset (before + after disabling Plasma's screen blanking) results in the screensaver being triggered after one second even whilst playing videos or full-screen audio. QMPlay2 does not appear to block the screensaver. |
Thanks, but weird 😄 |
Yes. I've also tested it with full-screen audio files as well as local video files - same results. |
Thanks! If I won't able to check what's wrong, so I'll send you something to test, OK? |
Sure! :) |
|
Apologies - on trying again properly, I have the same results as you do. |
I don't want to use Maybe KDE screen saver can't be disabled using |
Try also: xset -dpms
xset s off and later enable again: xset dpms
xset s on Edit: Without QMPlay2 :) |
Sure. What was the expected results? With 'xset -dpms && xset s off', and Plasma power management turned on, the screen blanks even with full-screen audio files. However, video files work fine. The computer does automatically suspend itself however, regardless of whether or not the screensaver is inhibited. |
Full-screen and video playback should have the same result. Please try without QMPlay2 (only commands in terminal), because it might override something, but I think that it won't work properly. |
Maybe I'll use command-line DBus for common desktop sessions, it should work. |
I've found that QMPlay2 does inhibit audio files. Interestingly enough, the screensaver appears for a second or two, then goes away. |
Exactly, event with Could you try QMPlay2 16.09.04 for both: full-screen audio and next for video playback? |
Sure. Both full-screen audio and video playback in 16.09.04 inhibit the screensaver (1 minute threshold). |
Thanks, but can it also inhibit session lock (16.09.04)? |
Yes. Session locking and suspending is inhibited in 16.09.04. |
Ok, so the best solution is to reset screensaver in a timer like in previous QMPlay2 version, bu I'll do it better than before. |
Using DBus and other APIs (depends on Desktop Environment) is not good for me 😄 |
Thanks for the bug report! Correct behavior for screen saver with timeout >= 30 sec:
|
Thank-you! The screen-saver is inhibited :) |
Usually, QMPlay2 will prevent the screen from turning off whilst it is playing files (video/URL + audio). However, this is currently not the case - after the designated screen switch-off time, the screen powers off, with the video/audio still playing.
The text was updated successfully, but these errors were encountered: