Skip to content

Instantly share code, notes, and snippets.

@lsegal
Created July 22, 2011 03:49
Show Gist options
  • Save lsegal/1098850 to your computer and use it in GitHub Desktop.
Save lsegal/1098850 to your computer and use it in GitHub Desktop.
Resets some defaults in Lion, namely clearing the Launchpad, enabling Key Repeat and showing the user Library folder
# Clear applications listed in Launchpad
sqlite3 ~/Library/Application\ Support/Dock/*.db "DELETE from apps; \
DELETE from groups WHERE title<>''; DELETE from items WHERE rowid>2;" \
&& killall Dock
# Enable Key Repeat
defaults write -g ApplePressAndHoldEnabled -bool false
# Show the ~/Library folder
chflags nohidden ~/Library
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment