When I forgot what version, I used to delete the application in "Applications", and the launchpad automatically updated and deleted it
I don't know when it started, but after deleting it directly in the "Applications", the launchpad can't be deleted...
After 10.13 and 10.14, neither holding Option, nor holding Control + Option + Command, nor dragging the icon into the trash can help
The cleaned app stays on my launch pad for a long time with a forbidden icon, which looks annoying
I finally couldn't take it anymore and decided to cure it.
Methods as below:
- Open Finder, click "Go" - "Go to Folder" on the top menu bar, and then enter "/private/var/folders"
Then enter: com.apple.dock.launchpad in the search bar of the pop-up Finder window, and select "folders" as the search scope, as shown in the figure below
2. Then enter the "com.apple.dock.launchpad" folder, you can see "db"
3. At this time, please open the "terminal" and enter: "cd"
is the two letters cd, plus a space, and the path of the "db" directory is behind the space
所以整个就是:
cd /private/var/folders/hw/2j329y9n2t583q8f22kb9yw00000gp/0/com.apple.dock.launchpad/db
After entering the above, press the "Enter" button
Since not everyone has this path, please select the "db" directory and press the shortcut key "Command + i" to view the complete path to modify your own command.
4. The last is the key step, and then enter the command line to delete the legacy product in the "terminal":
sqlite3 db "delete from apps where title='GarageBand';"&&killall Dock
What I deleted was GarageBand, you just need to replace the program you want to delete with your program name.
At the same time, pay attention to case sensitivity, must be case sensitive, must be case sensitive.
After typing, there will be no prompt if there is no mistake
Finally, start the "launch pad" to see if the world is clean