Thursday, September 20, 2012

Mail unread menu and 5.3

Another thing that broke on an OSX upgrade was mail unread menu (http://loganrockmore.com/mailunreadmenu/) which I really like.  So with a little help from http://stib.posterous.com/how-to-fix-unsupported-plugins-after-upgradin 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/Mail.app/Contents/Info PluginCompatibilityUUID`
b=`defaults read /System/Library/Frameworks/Message.framework/Resources/Info PluginCompatibilityUUID`

for i in ~/Library/Mail/Bundles*/MailUnreadMenu.mailbundle/Contents/Info.plist
do
    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"
done
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

http://askubuntu.com/questions/129012/how-can-i-restore-the-activity-monitor

Wednesday, September 12, 2012

Is consistency overrated?

I have a Firefox extension: https://addons.mozilla.org/en-us/firefox/addon/lightweight-theme-switcher/  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?