Skip to main content
Solved

launchpad app icon sometimes not removed after uninstall ???

  • April 23, 2015
  • 2 replies
  • 29 views

Forum|alt.badge.img+20

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?

Best answer by tcandela

eventually they don't appear in launchpad

2 replies

Forum|alt.badge.img+20
  • Author
  • Contributor
  • Answer
  • June 25, 2015

eventually they don't appear in launchpad


Forum|alt.badge.img+14
  • Valued Contributor
  • June 25, 2015

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.