Skip to content

Instantly share code, notes, and snippets.

@stvhwrd
Last active May 10, 2023 21:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stvhwrd/2b0e310a3ed950a68973 to your computer and use it in GitHub Desktop.
Save stvhwrd/2b0e310a3ed950a68973 to your computer and use it in GitHub Desktop.
Delete and rebuild LaunchPad on Mac OS X to improve appearance and eliminate obsolete app icons

####First - reset LaunchPad:

defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock

####Second - rebuild the database:

rm ~/Library/Application\ Support/Dock/*.db; killall Dock


######tested with zsh 5.0.5 (x86_64-apple-darwin14.0) on Apple MacBook Pro (Late 2011) running OS X 10.10.3

credit

# one liner:
defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock; sleep 2; rm ~/Library/Application\ Support/Dock/*.db; killall Dock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment