Follow-up to my post about using Maildirs with Ubuntu’s messaging menu.
Brad, the original author, has indicated that he considered his code to be essentially WTFPL. I feel the same about my bits, and have added a COPYING file specifically indicating this license instead of the previous GPL3 license.
I have made some other changes since that last version:
The configuration values (frequency, directories) are now loaded from separate files. Default values are in /etc/maildir-indicator.conf, user-specific in $XDG_CONFIG_HOME/maildir-indicator.conf (or more likely, $HOME/.config/maildir-indicator.conf). This allows it to be installed system-wide and have users configure their own notifications. The .desktop file has been cleaned up, and is now advertising “Maildir Indicator” instead of mutt. This is what will be read in the menu as well (though of course, clicking it runs whatever mail agent you want). Cleaned up some debug messages to make the output a little easier to read Changed ‘path’ to no longer have a trailing slash. I’m not sure what happens if you have a trailing slash on your paths, I didn’t test it. The program can still be used by grabbing the source from the Maildir-Indicator repository on Gitorious and running ./maildir-indicator in the directory you get. However, it also supports being installed system-wide, which can be done easily by installing it from the maildir-indicator PPA. Installing from the PPA will also set it to run automatically at login.
...