Preventing screensaver when playing movie?

Tomasz Torcz zdzichu at irc.pl
Tue Feb 26 10:26:20 PST 2008


On Tue, Feb 26, 2008 at 07:02:55PM +0100, Erik wrote:
> Suppose that we have the following situation. A user has told the system 
> to "turn off the display after N minutes of inactivity". Then he starts 
> the media player, opens a file and presses a button called play. The 
> media player interprets this as the user saying "play this movie, but do 
> not turn off the display while playing it, because i will watch it even 
> though I do not interact with the system".
> 
> How can the media player achieve this with xorg?

  Using Inhibit() methods of (gnome-)screensaver. Some information here:

http://live.gnome.org/GnomePowerManager/FAQ#head-e2e880f92ecd2b4d3acd21aeb447474e0ead46d5

-- 
Tomasz Torcz                 "God, root, what's the difference?"
zdzichu at irc.-nie.spam-.pl         "God is more forgiving."




More information about the xorg mailing list