lra / mackup

Keep your application settings in sync (OS X/Linux)
GNU General Public License v3.0
14.55k stars 932 forks source link

macOS keyboard shortcuts reset on restart #1989

Open joshmedeski opened 8 months ago

joshmedeski commented 8 months ago

When I restart my computer, the ~/Library/Preferences/com.apple.symbolichotkeys.plist symbolic link isn't honored by macOS and my custom keyboard shortcuts are reset.

I think it's an ownership problem, but should we just remove it from the mackup config?

KeKs0r commented 8 months ago

I am running into this issue since a few days and JUST googled it and found this. I also suspect there being an ownership issue since the file is the only one with very different rights:

-rw-------  1 marc  staff    1192 Aug 16 03:30 com.apple.suggestions.plist
lrwxr-xr-x@ 1 marc  staff      99 Aug 14 06:11 com.apple.symbolichotkeys.plist -> /Users/marc/Library/CloudStorage/Dropbox/Mackup/Library/Preferences/com.apple.symbolichotkeys.plist
-rw-------  1 marc  staff     105 Dec 15 08:43 com.apple.sync.NanoHome.plist
-rw-------@ 1 marc  staff     142 Jan 26 10:53 com.apple.syncdefaultsd.plist

Furthermore I am also observing other apps having trouble storing their settings and then they are destroyed after a restart (e.g. cleanshot, raycast, system). But raycast and system are mainly keyboard shortcuts as far as I can tell. just wondering if the cleanshot issue may also be related.

joshmedeski commented 8 months ago

Probably, I decided to just not sync those files with mackup and things are working again as expected.

zilayo commented 8 months ago

I am running into this issue since a few days and JUST googled it and found this. I also suspect there being an ownership issue since the file is the only one with very different rights:

-rw-------  1 marc  staff    1192 Aug 16 03:30 com.apple.suggestions.plist
lrwxr-xr-x@ 1 marc  staff      99 Aug 14 06:11 com.apple.symbolichotkeys.plist -> /Users/marc/Library/CloudStorage/Dropbox/Mackup/Library/Preferences/com.apple.symbolichotkeys.plist
-rw-------  1 marc  staff     105 Dec 15 08:43 com.apple.sync.NanoHome.plist
-rw-------@ 1 marc  staff     142 Jan 26 10:53 com.apple.syncdefaultsd.plist

Furthermore I am also observing other apps having trouble storing their settings and then they are destroyed after a restart (e.g. cleanshot, raycast, system). But raycast and system are mainly keyboard shortcuts as far as I can tell. just wondering if the cleanshot issue may also be related.

same issue here, although I don't use cleanshot.

working off a fresh mac os installation, with only mackup and no other tools utility tools installed

zilayo commented 8 months ago

related https://github.com/lra/mackup/issues/1924