Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'd like to automatically run a shell script every time I authenticate onto my computer. However, all the info I can find about loginhook and Global LoginItems applies only when authenticating to "loginwindow," and not to the "unlock panel."

The unlock panel prompts for a password when waking up from sleep or from a locked screen. Is there any way to trigger script execution after successfully unlocking the screen?

share|improve this question
    
FYI this has been asked again here: superuser.com/questions/447154 –  pinko Jul 24 '12 at 17:58

1 Answer 1

You may want to have a look at SleepWatcher. It lets you execute Unix commands on wakeup. Not exactly what you are looking for, but still, it can help.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.