Is there a way to delete unwanted app icons from Launchpad without using any management app?
This is possible in Mac OS X 10.7 (Lion) using some commands in the “Terminal;” but what about Mac OS X 10.10 (Yosemite)?
I came up with a solution via terminal. The location of the SQLite database was changed in Mac OS X 10.10 (Yosemite).
You can still delete apps from the Launchpad with this “Terminal” command. Just replace the
APPNAME with the app you want to delete.
sqlite3 $(sudo find /private/var/folders -name com.apple.dock.launchpad)/db/db "DELETE FROM apps WHERE title='APPNAME';" && killall Dock
I tested if it is still deleted after reboot. So far it seems to work.
Clicking on an Icon or holding the option key until icons start jiggling, only works for Apps downloaded from the App Store,
I would caution against following answers where you are Trashing the Icon, as often deleting it is not what you want, it has a function it just doesn't belong in Launchpad deleting it could cause further problems down the road.
The Best option for just removing the Icon from Launchpad, but not deleting it is the terminal command posted by davidtrautmann.
So, David's answer was pretty close but for some reason it didn't work properly on my computer. (OS X 10.11.6) The
find didn't want to recursively search for the database. Since I have knack for poking around where I shouldn't be, I did find a solution that worked. This will require some manual work.
In my case I wanted to remove the Dashboard app since I have it disabled. I frequently use Dash, an offline API documentation app, but Dashboard is the first thing in the list of apps when I search from launchpad. This means I can't just hit
ENTER when searching, I have to use my trackpad. And I don't like having to do that. You also can't remove it by click-holding apps because it's a built-in app. Pretty annoying, right?
In my account, the database was in a subdirectory from
/private/var/folders/cn. After reading Tim's comment on David's answer, I realized that multiple folders will exist here; probably one per user. I haven't tested this myself, but I've modified my answer to check first which folder belongs to you.
In the Terminal, copy-paste
ls -l /private/var/folders/cn and hit
ENTER. Look for the one where your account name shows up by it. Jump to the "Open the DB" section.
If you're not Terminal-savvy and/or prefer to search with Finder, you can create a shortcut. (Please remove it when finished. We're venturing into dangerous territory!) To create one, copy-paste
ln -s /private/var/folders ~/Desktop/private into the Terminal and hit
ENTER. Open Finder, navigate to your Desktop, open the shortcut, and browse through the folders until you locate
com.apple.dock.launchpad. It'll probably be in the
cn/(gobbly-gook name)/db folder. If you have several folders under
cn, highlight one and hit
Command + i and view the owner. Search until you find which one has you as the owner.
You'll want to copy-paste
sqlite3 /private/var/folders/cn/(folder name)/0/com.apple.dock.launchpad/db/db into the Terminal, replacing the
(folder name) with the one you found. (Remove the parenthesis.) Hit
ENTER to open the
cn is not the folder, all I can say is to try another one in that
DELETE FROM apps WHERE title='APPNAME'; into the Terminal, replace
APPNAME with the application you want to remove. Keep the quote marks! Repeat this for as many apps as you need to remove. You can remove system-defaults.
.exit to return to bash. Now type
sudo killall Dock and hit
ENTER. Give the system a moment before opening Launchpad. All the apps you wanted to remove should be gone!