[Soci SLIP] script e screensaver

Lucio Crusca lucio a sulweb.org
Mar 20 Mar 2007 10:03:35 CET


Alle 09:51, martedì 20 marzo 2007, Fabrizio Gulino ha scritto:
> Fabrizio Gulino wrote:
> > Ciao a tutti.
> > Qulcuno ha idea di come fare a far eseguire un comando, uno script,
> > quando uno screen saver in esecuzione viene terminato?
>
> # man xscreensaver-command
> *-watch* Prints a line each time the screensaver changes state: when the
> screen blanks, locks, unblanks, or when the running hack is changed.
> This option never returns; it is intended for use by shell scripts that
> want to react to the screensaver in some way. An example of its output
> would ...e c'è pure un esempio in perl..... :-)

Adesso prova a farlo con Vista...




Maggiori informazioni sulla lista Soci