Smarter Screen saver

lakcaj dlist at ubuntuforums.org
Tue Sep 20 15:44:45 CDT 2005


It would be very easy to implement.  All you would need is a simple lock
file that xscreensaver looks for before starting.  For example, when
totem starts a DVD, it creates the file /var/run/noscreeny_totem.pid. 
When it stops, it removes that file.  Same for mplayer, except
noscreeny_mplayer.pid would be created.  I'm sure it would be trivial
for someone that can code to make xscreensaver check for any files that
start with noscreeny in /var/run before it starts.


-- 
lakcaj



More information about the ubuntu-devel mailing list