Skip to content

Instantly share code, notes, and snippets.

@abhishekdev
Last active December 26, 2015 18:49
Show Gist options
  • Save abhishekdev/7196853 to your computer and use it in GitHub Desktop.
Save abhishekdev/7196853 to your computer and use it in GitHub Desktop.
Rebuild the launchpad database. Typically used when application icons do not show up OR just to revert to the default.
#!/bin/bash
defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock
#!/bin/bash
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