[MPlayer-dev-eng] [PATCH] Inhibit xscreensaver from activating

Sebastian Kapfer sebastian_kapfer at web.de
Sun Feb 16 22:57:21 CET 2003


This patch provides a reasonable alternative to the -stop_xscreensaver
approach. It doesn't simply kill and restart the xss daemon, but only
disables it while mplayer is running. To try it out, run

mplayer -inhibit_xscreensaver

For the performance fanatics: inhibit_xss is disabled by default. When
enabled, it takes about 10-20 msec every 55 seconds, which is fast
enough for me :)

Background info: This prevents mplayer from leaking ALSA fd's to xss.

-- 
Best Regards,   |   Hi! I'm a .signature virus. Copy me into
 Sebastian      |   your ~/.signature to help me spread!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inhibit-xss.patch
Type: application/octet-stream
Size: 2242 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030216/23128975/attachment.obj>


More information about the MPlayer-dev-eng mailing list