Thursday, September 20, 2012

Mail unread menu and 5.3

Another thing that broke on an OSX upgrade was mail unread menu ( which I really like.  So with a little help from I was able to write the following script (though you can cut and paste them directly into a Terminal (Applications -> Utilities -> Terminal) window).
#! /bin/sh

a=`defaults read /Applications/ PluginCompatibilityUUID`
b=`defaults read /System/Library/Frameworks/Message.framework/Resources/Info PluginCompatibilityUUID`

for i in ~/Library/Mail/Bundles*/MailUnreadMenu.mailbundle/Contents/Info.plist
    echo "$i"
    echo "${i%%.plist}"

    defaults write "${i%%.plist}" SupportedPluginCompatibilityUUIDs -array-add "$a";
    defaults write "${i%%.plist}" SupportedPluginCompatibilityUUIDs -array-add "$b";
    plutil -convert xml1 "$i"
Then a
mv ~/Library/Mail/Bundles\ \(Disabled\)/MailUnreadMenu.mailbundle/ ~/Library/Mail/Bundles
Made things right again.

Wednesday, September 19, 2012

gpgmail for 5.3

Updated to Apple Mail 5.3, and gpgmail stopped working.  Uninstalled gpgmail, gpgtools, and reinstalled both.  Had to do "chown -R beaty-admin /Library/Mail/Bundles/GPGMail.mailbundle" and run the System Preferences, GPGPreferences, About, Fix GPGtools to get everything working again.

ubuntu 12

Wednesday, September 12, 2012

Is consistency overrated?

I have a Firefox extension:  I've been playing with adding a new menu, and was struggling to find all the default menu names.  Here they are: file-menu, edit-menu, view-menu, history-menu, bookmarksMenu, tools-menu, windowMenu, helpMenu.  Am I the only one that this bugs?