dockutil
command line tool for managing dock items (by kcrawford)
ProperTree
Cross platform GUI plist editor written in python. (by corpnewt)
dockutil | ProperTree | |
---|---|---|
17 | 47 | |
1,318 | 2,482 | |
- | - | |
7.1 | 8.8 | |
3 months ago | 3 days ago | |
Swift | Python | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dockutil
Posts with mentions or reviews of dockutil.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-04.
-
Need help with Dock script script via Intune
I would suggest dockutil
-
How to edit a .plist file which contains binary data
You could try using dockutil unless you really want to do it yourself.
-
Dockutil and Custom Commands
#!/bin/bash Sleep 240 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # version 2.0 # Written by: Mischa van der Bent # # Permission is granted to use this code in any way you want. # Credit would be nice, but not obligatory. # Provided "as is", without warranty of any kind, express or implied. # # DESCRIPTION # This script configures users docks using docktutil # source dockutil https://github.com/kcrawford/dockutil/ # # REQUIREMENTS # dockutil Version 3.0.0 or higher installed to /usr/local/bin/ # Compatible with macOS 11.x and higher # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # export PATH=/usr/bin:/bin:/usr/sbin:/sbin # COLLECT IMPORTANT USER INFORMATION # Get the currently logged in user currentUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' ) # Get uid logged in user uid=$(id -u "${currentUser}") # Current User home folder - do it this way in case the folder isn't in /Users userHome=$(dscl . -read /users/${currentUser} NFSHomeDirectory | cut -d " " -f 2) # Path to plist plist="${userHome}/Library/Preferences/com.apple.dock.plist" # Convenience function to run a command as the current user # usage: runAsUser command arguments... runAsUser() { if [[ "${currentUser}" != "loginwindow" ]]; then launchctl asuser "$uid" sudo -u "${currentUser}" "$@" else echo "no user logged in" exit 1 fi } # Check if dockutil is installed if [[ -x "/usr/local/bin/dockutil" ]]; then dockutil="/usr/local/bin/dockutil" else echo "dockutil not installed in /usr/local/bin, exiting" exit 1 fi # Version dockutil dockutilVersion=$(${dockutil} --version) echo "Dockutil version = ${dockutilVersion}" # Create a clean Dock # runAsUser "${dockutil}" --remove all --no-restart ${plist} # echo "clean-out the Dock" # Full path to Applications to add to the Dock apps=( "/System/Applications/System Preferences.app" "/System/Applications/Notes.app" "/System/Applications/Reminders.app" "/System/Applications/Photos.app" "/System/Applications/Launchpad.app" "/System/Applications/Launchpad.app" "/Applications/Self-Service.app" "/Applications/zoom.us.app" "/Applications/OneDrive.app" "/Applications/Microsoft Teams.app" "/Applications/Google Chrome.app" "/Applications/Firefox.app" "/Applications/Microsoft Edge.app" ) # Loop through Apps and check if App is installed, If Installed at App to the Dock. for app in "${apps[@]}"; do if [[ -e ${app} ]]; then runAsUser "${dockutil}" --add "$app" --position beginning --no-restart ${plist}; else echo "${app} not installed" fi done # Add Application Folder to the Dock runAsUser "${dockutil}" --add /Applications --view grid --display folder --sort name --no-restart ${plist} # Add logged in users Downloads folder to the Dock runAsUser "${dockutil}" --add ${userHome}/Downloads --view list --display stack --sort dateadded --no-restart ${plist} # Disable show recent # runAsUser defaults write com.apple.dock show-recents -bool FALSE # echo "Hide show recent from the Dock" # sleep 3 # Kill dock to use new settings killall -KILL Dock echo "Restarted the Dock" echo "Finished creating default Dock" exit 0
-
How to get rid of app titles in the Dock Bar
Install dockutil and script dockutil commands.
-
Default dock for new users.
You'll probably have better luck over on /r/macsysadmin, but dockutil might be a good place to start. https://github.com/kcrawford/dockutil
- Can I quickly remove items from my dock without right clicking?
-
Change MacOS Dock for different Focus modes, automatable with Shortery. Opinions?
For anyone asking I think the op is just replacing the plist and killing the dock, having a think about it myself you could also use a shell script with https://github.com/kcrawford/dockutil
-
Ventura - add to Dock with script?
dockutil is your friend.
-
Default user template
Suggest you use Dockutil
-
Basic MDM requirements but Moysle is unsuable
There is a package called dockutil that allows you to send a command to update the user's dock. You can specify location relative to other icons, and lots of command line options to string together. The trick is getting it to run at the right time.
ProperTree
Posts with mentions or reviews of ProperTree.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-08.
-
What did I do wrong?
Open the config in ProperTree (https://github.com/corpnewt/ProperTree) and do a clean snapshot (CMD-SHIFT-R). This will put all of the kexts in the right order.
-
Ventura on ryzen 5 5600, rx 6700 and 32gb ram
Open your config.plist using ProperTree.
-
Is there someone who can tell me what I need for my efi file
NO. Prebuilts are a bad way to start. They are not updated and aren't configured to your specific needs. Make your own EFI and also don't use OCAT, use ProperTree which can do OC specific things like OC (clean) snapshots.
-
Successful hackintosh build
ProperTree
-
How to edit a .plist file which contains binary data
Try looking into a program called ProperTree. Has a GUI implementation to easily edit https://github.com/corpnewt/ProperTree
- Disabling XHCI Port Limit
-
MacOS Monterey on Ryzen 3 2200G & Radeon RX 460
Used the Ryzen and Threadripper(17h and 19h) OpenCore Install Guide for with OpenCore v0.8.7 in combination with OpenCore Auxillary Tools, Sanity Checker & ProperTree.
-
How to fix OpenCore not vaulted?
Use propertree. It is hands down, the best IMO. https://github.com/corpnewt/ProperTree
-
reboot
You need to mount your EFI partition (find a tool online or use command line). In it you should find "EFI/OC/config.plist". Open the file with Propertree or another plist editor and make the changes.
-
macOS Big Sur reaches Apple Logo then instantly quits and loads up Windows 10 like
If anything, keep .contentFlavour files removed and try updating your config.plist using ProperTree or some other plist editor which just makes it easier to read. Sorry I couldn't be of much help but its the best I've got right now haha.
What are some alternatives?
When comparing dockutil and ProperTree you can also consider the following projects:
outset - Automatically process packages, profiles, and scripts during boot, login, or on demand.
OpenCore-Install-Guide - Repo for the OpenCore Install Guide
shell-intune-samples - Sample shell scripts for Intune admins.
gibMacOS - Py2/py3 script that can download macOS components direct from Apple
OpenCorePkg - OpenCore bootloader
tool - the USBToolBox tool
GenSMBIOS - Py script that uses acidanthera's macserial to generate SMBIOS and optionally saves them to a plist.
MountEFI - An even more robust edition of my previous MountEFI scripts
OcBinaryData
IORegistryClone - Clone IOReg from Apple's site
OCAuxiliaryTools - Cross-platform GUI management tools for OpenCore(OCAT)
IO80211-Patches - Repo for patched IO80211Family Kexts
dockutil vs outset
ProperTree vs OpenCore-Install-Guide
dockutil vs shell-intune-samples
ProperTree vs gibMacOS
ProperTree vs OpenCorePkg
ProperTree vs tool
ProperTree vs GenSMBIOS
ProperTree vs MountEFI
ProperTree vs OcBinaryData
ProperTree vs IORegistryClone
ProperTree vs OCAuxiliaryTools
ProperTree vs IO80211-Patches