Smarter Screen saver
Sami Dalouche
skoobi at free.fr
Tue Sep 20 16:04:29 CDT 2005
Well, in the case totem crashes, the lock would never been removed, I'm not sure
this idea is the killer-idea, but there definitely must be a way to accomplish
this easily..
Sami Dalouche
Quoting lakcaj <dlist at ubuntuforums.org>:
>
> 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
>
> --
> ubuntu-devel mailing list
> ubuntu-devel at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
>
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the ubuntu-devel
mailing list