GNOME Bugzilla – Bug 725421
Use fd.o Idle Inhibit spec
Last modified: 2018-05-02 15:58:31 UTC
While doing a presentation, it happens that discussions over a given slide can last for several minutes, and then the DPMS screensaver enters into action, dropping the output. It seems to me that while in presentation mode, we never want to see DPMS activate, so evince should probably just always disable it automatically while in presentation mode.
Samuel, under which system are you running evince. The screensaver should be disabled while in presentation mode.
Well, as the bug says: Linux. fvwm WM.
I think the question was for a little more details, for example which distribution and which version.
the question was to know which WM. :) We inhibit going idle using a session manager, I guess that when you run under fvwm you don't have this session manager, most probably you are not even running dbus.
This is debian Jessie, package evince-gtk 3.10.0-2. I'm indeed not running a session manager, I run my X session from startx, with an .xinitrc script. AIUI, in that case evince can just call XScreenSaverSuspend or DPMSDisable directly.
evince uses gtk_application_inhibit() to inhibit the screensaver, and I doubt that manually calling XScreenSaverSuspend() or DPMSDisable() would ever be considered, seeing as they regress compared to gnome-session's inhibit functionality.
GTK+ should however use the Idle inhibition spec instead of talking to GNOME session or XFCE session directly:
You could then run a daemon in your fvwm session to call those X commands for you. I believe there's a couple kind of projects around already.
-- GitLab Migration Automatic Message --
This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/471.