Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .