![]() ![]() ![]() # BSD echo command needs this for escape sequences. # This is run by "SleepWatcher" through /etc/rc.sleep and /etc/rc.wakeup You need to actually convert your AppleScripts into a Shell Script (they are not the same). # This file should be $HOME/.sleep and $HOME/.wakeup. Mac 5minWi-Fi uninstall.sh Homebrew brew services stop sleepwatcher brew uninstall sleepwatcher brew uninstall blueutil cd sudo rm -rf. To install Sleepwatcher via MacPorts, simply type in the command line: sudo port install sleepwatcher then type: sudo port load sleepwatcher Sleepwatcher will then automatically be installed and loaded. sleep, it mounts my music volume (on the server SERENA) when waking up and disconnects when going to sleep. install bluetoothconnector from Homebrew - run bluetoothconnector on terminal to get the speakers MAC address - run Automator, create a shell script with command bluetoothconnector -connect xx-xx-xx-xx-xx-xx and save it as an application - drag the new application to Login Items in System Preferences Users & Groups. These files are just plain old shell scripts so you can do anything you like within them, just ensure you mark them executable by the user. wakeup files in the user's directory (e.g. To perform tasks at the sleep/wakeup moment create. Install it with brew: brew install imagesnap Then install sleepwatcher: brew install sleepwatcher It will be used for monitoring sleep/awake states of the Macbook. This is a pain for me because I have all my music on a single samba share, using SleepWatcher ensures that volume is always mounted when I wake my Mac from its slumber. imagesnap is a command line tool which takes a photo with the built-in camera of Macbook. If you have ever mounted a network volume you'll know that chances are if the Mac goes to sleep it won't remount the volume when it wakes up. ![]()
0 Comments
Leave a Reply. |