Skip to main content
Solved

Managing Launchpad

  • April 15, 2014
  • 2 replies
  • 29 views

Forum|alt.badge.img+13

Is anybody having any success managing Launchpad? It looks like it's an sqlite database, so I'm a little outside my comfort zone trying to manipulate it directly.

(The ask from management is that we try and prevent certain utilities from showing up here, such as those automatically installed by Centrify).

Best answer by jacob_salmela

I have used this command in the past:

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

Or you can just delete them all

sqlite3 ~/Library/Application Support/Dock/*.db "DELETE from apps; DELETE from groups WHERE title<>''; DELETE from items WHERE rowid>2;"; killall Dock

2 replies

Forum|alt.badge.img+13
  • Contributor
  • Answer
  • April 15, 2014

I have used this command in the past:

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

Or you can just delete them all

sqlite3 ~/Library/Application Support/Dock/*.db "DELETE from apps; DELETE from groups WHERE title<>''; DELETE from items WHERE rowid>2;"; killall Dock

Forum|alt.badge.img+13
  • Author
  • Valued Contributor
  • April 15, 2014

I'm begrudgingly going down this path; I wish there were something else, something less hack-y, but it'll do. Thanks for the tip, Jacob - it's working well in the lab.