lra / mackup

Keep your application settings in sync (OS X/Linux)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for the Apple Dock

lucasff opened this issue · comments

Should be enough as syncing Library/Preferences/com.apple.dock.plist and running

defaults read $HOME/Library/Preferences/com.apple.dock.plist
killall Dock

This is entirely possible. You can open a PR to support this. If you're unsure how to contribute let me know and I can do it.

FYI, I've had issues with backing up and symlinking the Dock because Dock is always running and the OS immediately replaces the plist file as soon as you delete it. The result is always a new dock.plist with default settings. So perhaps it can be done while the user is logged out by using a different user or SSH or something?

But hopefully someone knows another way to do this!

@lra has gone back and forth with syncing Apple-specific files like this. We've found that it is often unreliable with mackup.

Mackup doesn't have a way to run additional scripts before or after an application is synced or restored so it would be up to the user to manually read the file and kill the dock.

I'd suggest finding a different solution for backing up and syncing this file.

Yes, no way this can be done without Mackup having its own sync file system.