Settings don't persist on new Mac
-
David Colebatch
I just wanted to bump this - it is still a problem for me and I have to repeat these steps each time I open MailMate (so I tend to not shutdown...)
Any ideas on how I can remediate? Need any more information?
-
Christopher Corbettis
All of your changes to MailMate should be persisted to
~/Library/Preferences/com.freron.MailMate.plist(where~is your home directory, more detail: Navigating files and folders).Nearly all Mac property lists are now stored as binary files, meaning you won’t be able to easily examine or edit the contents of a plist (just try opening
com.freron.MailMate.plistin TextEdit, you’ll see a lot of garbled text). You can either use an application that can read binary plists or convert to plain text first.BBEdit opens binary plist files and a whole lot more, it is nagware though, so bear that in mind.
Looking at my
com.freron.MailMate.plistI can see for example this change that I made (yeah, the key name is backwards and I might lower the number of seconds too):<key>MmMessagesWebViewSecondsToMarkUnread</key> <integer>8</integer>So first thing, make your changes in MailMate, then verify that the plist is being updated with your desired changes.
-
David Colebatch
Ah, thanks Christopher!
For some reason,
~/Library/Preferences/com.freron.MailMate.plistwas a directory on my system. I removed it:rmdir ~/Library/Preferences/com.freron.MailMate.plistchanged an option and saw a new file created.
I think I'm good now.
-
Christopher Corbettis
You’re very welcome David!
That was even easier (and stranger) than I imagined, I’ve not heard of such a mix up before. Maybe Benny will know more.
-
benny
- State changed from new to resolved
Just for the record, I have no idea how that became a folder. MailMate never interacts with it directly but goes through a system call.
Also note, that manually editing the file is not safe due to how the system caches preferences values. Always use the
defaultscommand. -
Christopher Corbettis
Quite right, Benny, that’s a much better way to do it:
defaults write com.freron.MailMate MmMessagesWebViewSecondsToMarkUnread 6And to check a value with read:
defaults read com.freron.MailMate MmMessagesWebViewSecondsToMarkUnread(Eight seconds is too long. Also, using ZSH and Zim for learning more about the command line tools is really worthwhile.)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.