[UniMacTech] Shutdown when login window is idle.

Kristien Clayton k.clayton at unsw.edu.au
Wed May 28 14:39:20 EST 2008


Dear Kai...

We used to do something similar in Physics, but instead we would  
trigger the screensaver when the login window was idle--it was eye  
candy for passers-by during idle lab times.

I started writing the screensaver script myself, but then I got lazy  
and searched the Web. I found one approach that worked spiffily with  
our 10.3 systems. The script is driven by cron (or by launchd, I  
suppose, if we were running it on Leopard machines). Here's the site,  
which appears extant:

http://homepage.mac.com/gregneagle/iblog/C1833135211/E1305475742/

I suppose you might merely want to issue '/sbin/halt' in place of the  
screensaver in the script from the above site. I've only ever invoked  
ScreenSaverEngine.app using this method, and I've only ever used it on  
G3 iMacs and on eMacs running Panther.

Regards
Kristien
--------
School of Physics
UNSW SYDNEY NSW 2052
Australia

On 28/05/2008, at 1:34 PM, Kai Mohrholz wrote:

>
> Hi All
>
> Just wondering if anyone would know how to go about triggering a  
> script to shut down a computer if it's sitting idle on the login  
> window?
> Obviously energy saver triggers the display to turn off after x mins  
> so really I just want to extend that timing to the shutdown command  
> but only while on login window and not while a user is logged in.
>
> Anyone doing anything like this or got suggestions?
>
>
> Regards,
> Kai
>
> Kai Mohrholz
> Music Technology Technical Support
> Queensland Conservatorium of Music
> Griffith University
> 16 Russell Street, South Bank, QLD 4101.
> P.O. Box 3428
>
> Phone: (07) 3735 6278
> Fax: (07) 3735 6282
> Email: k.mohrholz at griffith.edu.au
>
> "I got a fever! and the only prescription, is more  
> Cowbell."_______________________________________________
> unimactech mailing list
> unimactech at auc.edu.au
> http://www.auc.edu.au/mailman/listinfo/unimactech





More information about the unimactech mailing list