Existing users, log in.  New users, create a free account.  Lost password?

User Profile for brehob

User Name brehob

Member Since 2003-11-19

Total number of Feedback Posts: 1

Total number of comments: 1

Last 10 Feedback Posts by brehob  [ Search for All ]

SleepWatcher 2.0.4 (Mac OS X)

Fantastic application!  

Many thanks to Herr Baehr for such a useful tool!

I've thought for a long time that MacOS should have this capability built in. Besides the SMB shares that disappear on sleep (what's up with that!?), I have other applications that should exit before sleep and start again on wake. I'm glad that SleepWatcher runs shell scripts instead of AppleScripts, although I can see how others would prefer the other.

For anyone having looking for a simple script for mounting and unmounting SMB shares, here's what I use: Create $HOME/.wakeup with this:

#!/bin/sh
#
# This file should be $HOME/.sleep and $HOME/.wakeup.
# This is run by "SleepWatcher" through /etc/rc.sleep and /etc/rc.wakeup
# I've made this one file to keep things consistent.
#

# BSD echo command needs this for escape sequences.
test "$SHELLOPTS" && shopt -s xpg_echo

tel="tell application"
case $0 in
*sleep)
  echo "$tel 42Finder42 to eject 42share42" | osascript -
  ;;
*wakeup)
  echo "$tel 42Finder42 to mount volume 42smb://s/share42" | osascript -
  ;;
esac
Then run "ln .wakeup .sleep" to make them the same file. Wayne [alert admin]

Post a comment | More Info

Monday, May 29 2006 @ 01:05 PM PDT

Last 10 Comments by brehob  [ Search for All ]

Does VLC work under MacOS 10.3 Panther?  

I have not been able to get VLC to work properly under 10.3.1. I believe it worked under 10.3, but the problem may have started before the upgrade. The error I get new is: coreaudio: AudioStreamSetProperty failed: [!hog]. Previously, I was getting something about unable to allocate a buffer. Also a "coreaudio" error. Other users have reported this same error. I'm thinking a restart will get me back to getting that message. I'm running on a G5, and happen to be running…

Original feedback item : Read More(1 words)

Wednesday, November 19 2003 @ 10:18 PM PST