Skip to main content

an uninstall policy uninstalls an application, it is no longer advertised in /Applications. Afterwards on some computers the application icon is gone from launchpad while on some other computers the application icon is still present (question ? over it).



Is there a script or something that can check afterwards to somehow trash the icon?

eventually they don't appear in launchpad


So the icons in launchpad are actually in a sqlite database. You can use this as a command or script to remove the app of your choice from the launchpad menu:



sqlite3 ~/Library/Application Support/Dock/*.db "DELETE from apps WHERE title='nameofapp';" && killall Dock


Hopefully that helps.