Sudo -u $loggedInUser $dock_util -add '/Applications/Microsoft OneNote.app' -no-restart '/Users/'"$loggedInUser" Sudo -u $loggedInUser $dock_util -add '/Applications/Microsoft PowerPoint.app' -no-restart '/Users/'"$loggedInUser" Sudo -u $loggedInUser $dock_util -add '/Applications/Microsoft Excel.app' -no-restart '/Users/'"$loggedInUser" Sudo -u $loggedInUser $dock_util -add '/Applications/Microsoft Word.app' -no-restart '/Users/'"$loggedInUser" Sudo -u $loggedInUser $dock_util -add '/Applications/Microsoft Outlook.app' -no-restart '/Users/'"$loggedInUser" Sudo -u $loggedInUser $dock_util -add '/Applications/Safari.app' -no-restart '/Users/'"$loggedInUser" Sudo -u $loggedInUser $dock_util -add '/Applications/Google Chrome.app' -no-restart '/Users/'"$loggedInUser" Sudo -u $loggedInUser $dock_util -add '/Applications/Self Service.app' -no-restart '/Users/'"$loggedInUser" Sudo -u $loggedInUser $dock_util -remove all -no-restart '/Users/'"$loggedInUser" MajorOSVersion=$(/usr/bin/sw_vers -productVersion | awk -F. #!/bin/bashįullOSVersion=$(/usr/bin/sw_vers -productVersion) The launchpad, messages and system preferences app needed a different path for Catalina.īelow is the script that I use for my dock, l don't know if this will help with your specific issue but if you use the dockutil tool, I think fixing the issue would be pretty easy. I noticed that Catalina and Mojave were behaving like you've described above. I have one script that i run as one of the very last things during my enrollment. in my experience it's far more reliable than having jamf manage the dock. I wish i would have learned about it earlier. I ended up using the tool Dockutil to manage all the dock settings. Questions? Comments? Have a fix? Post them below orīe sure to check us out on Twitter and the CNET Mac forums.I ran into a similar issue a few months back when i started actually trying to manage the dock. After doing so, log out and log back in to your account, which will make the Dock and Launchpad reset and scan the Applications folders to repopulate Launchpad. In here, open the Application Support > Dock folder and remove the files in there (they should have a long string of alphanumeric characters as names). The databases are in your user library, which you can get to by holding the Option key and choosing Library from the Go menu in the Finder. To overcome such problems, you can force the Dock to rebuild the Launchpad databases by removing them manually. If these become corrupt then it may not add new applications to Launchpad, or those that were part of Launchpad may not open when clicked or may simply be missing. The Launchpad is actually a component of the OS X Dock, which maintains a couple of databases that determine what applications are to be shown in Launchpad. If a program resides outside of these folders then it will not be shown in Launchpad, so be sure to check where the program is on your system.Īlternatively, if the program is in an Applications folder then you may be able to get Launchpad to detect it by moving it out of the folder, logging out and back in to restart Launchpad, and then moving the program back to the Applications folder. The Launchpad will only show programs that are in the default /Applications folders in OS X, meaning the folder at the root of the hard drive and the optional one that can be placed in your user account. Therefore, to add programs missing from Launchpad, your options are to try either adjusting the location of the program itself, or forcing Launchpad to rebuild its database.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |