Alfred 5.5 is here - Find out what's new

Troubleshooting: Persisting Alfred's Preferences

If you're finding that Alfred is unable to save your preferences and that he forgets settings when you restart Alfred or your Mac, it's likely that he's unable to persist your settings due to a lack of permissions on your Mac.

Please follow the troubleshooting steps below carefully.


1. Repairing Permissions

The most likely reason Alfred can't save your settings is if he doesn't have the permissions to write to disk. Disk Utility checks that the appropriate applications have permissions to write where they should.

To repair permissions, you'll need to use Terminal directly. These are guidelines for Alfred 5 & 4, see further down for Alfred 3 instructions.

Firstly, quit Alfred, then using the following commands in Terminal, replace username with your own username:

chown -R username:staff ~/Library/Application\ Support/Alfred/
xattr -rc ~/Library/Application\ Support/Alfred/
chmod -R u+rwX,go+rX ~/Library/Application\ Support/Alfred/

chown username:staff ~/Library/Preferences/com.runningwithcrayons.Alfred*
xattr -rc ~/Library/Preferences/com.runningwithcrayons.Alfred*
chmod 600 ~/Library/Preferences/com.runningwithcrayons.Alfred*

For anybody who has setup syncing, you also need to reset for the Alfred.alfredpreferences in the sync folder. For example, here I use an Alfred folder within Dropbox, so resetting my synced preferences looks like this:

chown -R username:staff ~/Dropbox/Alfred/Alfred.alfredpreferences
xattr -rc ~/Dropbox/Alfred/Alfred.alfredpreferences
chmod -R u+rwX,go+rX ~/Dropbox/Alfred/Alfred.alfredpreferences

Replace ~/Dropbox/Alfred/ with the location of your own synced files.

2. Unsync Dropbox Settings

If you use Dropbox for syncing, the first step is to ensure you are not using the ~/Dropbox/Apps/ folder, as this folder is known to cause issues for many users.

If you are using Alfred's sync feature to keep your preferences on Dropbox, it's possible that there are Dropbox conflict files (where Dropbox couldn't reconcile two versions of the same file and created a duplicate).

If you've checked Dropbox but can't see any unusual files in your Alfred sync folder, follow these steps:

  • In Alfred, change your sync location to be on your local Mac, e.g. ~/Documents/Alfred/ so that Dropbox can be taken out of the equation
  • Change a setting and save it
  • Re-launch Alfred to see whether this new setting change is being saved

3. Resetting Alfred to Defaults

The above steps should resolve your issues, but if permissions don't appear to be correctly reset, you can reset Alfred's permissions to defaults. This will ensure that new preferences can be written afresh, but means that your existing preferences and Powerpack license activation will be removed so you'll need to re-activate your Powerpack.

  • Quit Alfred
  • Delete the following files from your user's Home Folder
~/Library/Preferences/com.runningwithcrayons.Alfred.plist
~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences.plist
~/Library/Caches/com.runningwithcrayons.Alfred/
~/Library/Application Support/Alfred/
  • Reboot your Mac
  • Re-launch Alfred and see whether your preferences are being saved correctly

4. Create a New User Account

If neither of the solutions above work, there may be some deeper corruption issues on your Mac which means that the steps above have not allowed permissions to be correctly set yet.

Create a new user account on your Mac (under System Preferences > Users & Groups) and test whether your preferences are correctly saved. If they are, then the issue lies with your original user account.

5. Check for Alfred updates

We are actively working on making Alfred's syncing more resilient to possible permissions corruption so that he can work around them and/or notify you of any impending permissions issues. Check Alfred for the latest pre-release build to ensure you take advantage of any improvements we've made.


Repairing Permissions in Alfred 3

If you're still using Alfred 3, there are slight variations. Firstly, quit Alfred 3, then using the following commands in Terminal, replace username with your own username:

chown -R username:staff ~/Library/Application\ Support/Alfred\ 3/
xattr -rc ~/Library/Application\ Support/Alfred\ 3/
chmod -R u+rwX,go+rX ~/Library/Application\ Support/Alfred\ 3/

chown username:staff ~/Library/Preferences/com.runningwithcrayons.Alfred-3*
xattr -rc ~/Library/Preferences/com.runningwithcrayons.Alfred-3*
chmod 600 ~/Library/Preferences/com.runningwithcrayons.Alfred-3*

The remaining troubleshooting steps are the same as above, so please take a look at step 2 onwards.

Latest Blog Post:

Watch Alfred Videos on YouTube

CacheFly Campaign Monitor

"Alfred" is a registered trademark of Running with Crayons Ltd. ©2024 Running with Crayons Ltd. All rights reserved.

Terms & Conditions, Privacy Policy, Cookies.