New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "User Templates" option #4
Comments
+1 on this. I'd love to see this implemented as well. |
reviving this, if I should start a new issue, let me know. In dockutil 2.0, can you stack commands? i.e.: is this legal -
|
@diwanicki @elvisizer @macmule @kcrawford Note that Catalina now users /Library/User Template/ as the location for the User Template folder as /System/Library/User Template is protected by SIP. I did a sudo defaults read /Library/User Template/English.lproj/Library/Preferences/com.apple.dock.plist (and ones in other languages) and none of them seem to contain entries for dock icons like they used to in Mojave. Even after logging in as a user thereby triggering the creation of a home directory a users own ~/Library/Preferences/com.apple.dock.plist does not list such entries either. Are they stored elsewhere now? |
For what it's worth, in Catalina it does not look like any of the com.apple.dock.plist files in /Library/User Template/ actually contain any dock entries. I can only presume that the content is being generated dynamically when a new user account is created along with its home directory. I would still like a solution to being able to customize the dock so it applies to new user accounts. Unless someone can identify from where the information is being generated then the only solution I can see would be as follows.
|
That’s what I do.
Kyle
Sent from Mobile
… On Oct 29, 2019, at 5:47 AM, jelockwood ***@***.***> wrote:
For what it's worth, in Catalina it does not look like any of the com.apple.dock.plist files in /Library/User Template/ actually contain any dock entries.
I can only presume that the content is being generated dynamically when a new user account is created along with its home directory.
I would still like a solution to being able to customize the dock so it applies to new user accounts. Unless someone can identify from where the information is being generated then the only solution I can see would be as follows.
Install dockutil
Install outset
Configure outset to run a login-once script to clean up a users dock, as this would only be run once it would remove (in my case) the broken icons but unlike settings via MDM would allow a user to later install the missing apps and re-add them to the dock
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Wow.. old issue, but do the similar.. closing off thanks |
Hi there,
I'd like to see an option to create com.apple.dock.plist files in the user templates folder.
That way we could run 1 line that would update all current users docks & all templates docks, so new users get the changes.
Current workaround is to deploy a blank dock & then run each command twice:
The home templates are updated, but not all homes.. so presumably i need to run two lines of script everytime i wish to add an item:
sudo /usr/bin/dockutil --add '/path to some app' --homeloc '/System/Library/User Template/'
sudo /usr/bin/dockutil --add '/path to some app' --allhomes
Also, as (in @ least 10.8) the templates folders are empty.. create a blank plist OR copy the template from: /System/Library/CoreServices/Dock.app/Contents/Resources/.lproj/default.plist.
Thanks.
The text was updated successfully, but these errors were encountered: