In was testing a Dock layout for a few days. I decided to go back to the default settings
I ran the command:
defaults delete com.apple.dock; killall Dock
The dock disappears but does not reset to default. Does anyone have any ideas hoe to reset to default?
Guess I will have to create a dock package and push it.
Any ideas would be apprciated
Solved
Dock not resetting to default state
Best answer by CapU
Ahhh All of you guys @mm2270 , @davidacland @thoule The suggestions are much appriciated.
!/bin/sh
for a in $(ls /Users/); do
rm /Users/$a/Library/Preferences/com.apple.dock.plist 2>/dev/null
killall cfprefsd
killall Dock
done
Is what I ran and it worked
Thanks
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
