-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2018-04-27 17:23, Michal Suchánek wrote:
On Fri, 27 Apr 2018 16:23:12 +0200 "Carlos E. R." <> wrote:
On 2018-04-27 16:15, Brüns, Stefan wrote:
On Freitag, 27. April 2018 14:09:56 CEST Carlos E. R. wrote:
On 2018-04-27 09:54, Chan Ju Ping wrote:
On Friday, 27 April 2018 12:02:01 +08 Carlos E. R. wrote:
On 2018-04-27 04:06, Chan Ju Ping wrote: > On Friday, 27 April 2018 01:24:54 +08 Carlos E. R. > wrote: >> I think this depends on the particular application >> you use to view the videos. > > SMPlayer with mpv as the backend.
I'm not familiar with it, but "man mpv" and search for "screensaver" finds things. You could try with the possibilities (--heartbeat-cmd=... or --stop-screensaver).
My impression is that settings should be generalised whether on Wayland or X (where there are no problems). Does this mean per application settings is required when using media players under WAyland?
Well, each application that displays video must do something to impede screen blanking or screensaver, and the method varies per application and per desktop.
For example, one application toggled an indicator LED on the keyboard to emulate keyboard activity, and thus impede the computer from sleeping.
Carlos,
if you don't have a clue what you are talking about, please refrain from endless posts on this list.
There *is* a generalized method for screensaver inhibition, org.freedesktop.ScreenSaver
https://standards.freedesktop.org/idle-inhibit-spec/latest/re01.html
Well,
I'm happy to hear about it, but not all video players know about it.
You could have said that information earlier.
And you can set up the --heartbeat-cmd= of mpv in the mpv package to a command that uses this interface so the users do not need to configure it. That's what the "distribution integration" thing is about.
Well, yes, I suggested using this option as soon as I found out the OP is using mpv, but it is a hack as ugly as toggling the keyboard LED. And it is deprecated, says man mpv. It simply calls an external command to tell the screensaver not to start, twice per minute. I would call integration having an API to call internally on the desktop, as the link describes, not this. Using --stop-screensaver is cleaner, but the man says does not always work. I don't clearly see if it is using the freedesktop api or not.
Unfortunately, some media players like web browsers do not have this configuration option so cannot be configured to prevent screen blanking.
- -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlrjaNkACgkQja8UbcUWM1yxCQD/XFLJwEK7zIEtz/70RXtDkTAN q3Z6mjc12Om+xGU5ozcBAJ2GajtJnIzD2hmHakfydV64d+RDUD/P82ZvUnZqq+tr =dJ6W -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org