Skip to main content
Solved

DockUtil not carrying over some icons

  • July 27, 2021
  • 2 replies
  • 36 views

Forum|alt.badge.img+3

Hey everyone!

 

 

So I have a script I am using and it moves everything into the dock as I want but for certain apps like, launchpad it puts it on the dock without the icon and it doesn't work when clicking it. Any ideas on why this would be?

Best answer by mm2270

What OS is this happening on?

My first guess is the path to them in the script may be wrong. Remember that with Catalina and up, the built in applications are all in the path /System/Applications/, not in /Applications/ despite how it appears in the Finder. You can see this by dragging an application, like, say System Preferences.app into Terminal. The path it prints back is

/System/Applications/System\\ Preferences.app

 

2 replies

mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • Answer
  • July 27, 2021

What OS is this happening on?

My first guess is the path to them in the script may be wrong. Remember that with Catalina and up, the built in applications are all in the path /System/Applications/, not in /Applications/ despite how it appears in the Finder. You can see this by dragging an application, like, say System Preferences.app into Terminal. The path it prints back is

/System/Applications/System\\ Preferences.app

 


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • July 28, 2021

This is exactly what I needed to know! Thanks!