On Sat, 2019-11-23 at 12:39 -0700, stan via users wrote:
No, I meant the setting in the screensaver itself. It separates
into
three timers under 'Display Power Management':
Standby after xxx minutes
Suspend after xxx minutes
Off after xxx minutes
But, I see now that it is Xscreensaver, and in Gnome you will be
using
Wayland. Also, it doesn't meet your requirement that it happen only
when the display is being used. So, it wouldn't meet your needs,
and,
as Rex said, you need to somehow gain that ability for your
application.
Ah right, I see what you mean. My confusion came from that I don't use
a separate screensaver just GDM/Gnome shell and don't have those
options directly. I don't use Wayland because of NVIDIA optimus and
stuff, but it might not be relevant here anyway.
Yes, I agree about the application support, I reached out to Spotify
about this question, but would be great if someone could point me to
some API other apps like Totem use to suspend power management when
something is playing.
Thanks,
Robert