OSX

From Mosuma
Jump to: navigation, search

Terminal window focus follows mouse (without activating)

Add the following snippet to your ~/.bashrc file

OS=`uname`
if [ "$OS" == "Darwin" ]; then
    defaults write com.apple.Terminal FocusFollowsMouse -string YES
fi
  • Your MUST exit (close all terminal windows) and restart Mac Terminal to effect the change

Changing primary UID/GID

sudo dscl . -change /Users/MY_USER UniqueID OLD_UID NEW_UID
sudo dscl . -change /Users/MY_USER PrimaryGroupID OLD_UID NEW_UID

http://www.inteller.net/notes/change-user-id-on-snow-leopard