Skip to navigation

Mailtray

What is Mailtray

Mailtray is a Python program that displays a tray icon which informs you when you have new email.
I searched for a simple and easy application which did exactly that, all I found were large applications which need a ton of dependencies, or applications which did not work for me.

Screenshots

Here are two screenshots of Mailtray 1.2 being used with pekwm and stalonetray.

Mailtray screenshot 1 Mailtray screenshot 2

Download

Latest version:
3 October 2009 – mailtray-1.3.tar.gz

Previous versions:
16 September 2009 – mailtray-1.2.1.tar.gz
15 September 2009 – mailtray-1.2.tar.gz
16 August 2009 – mailtray-1.1.tar.gz
11 Januari 2009 – mailtray-1.0.tar.gz

Installation

Requirements

Mailtray was tested on OpenBSD & Windows XP. It should run fine on most other modern operating systems (i.e. MacOS, Linux, FreeBSD, Solaris, etc.).

Fast start

Extract the files, move mailtrayrc.py.example to ~/.mailtray/mailtrayrc.py, you will need to modify at least the server setting OR use the -s argument.
You’re now ready to run mailtray.py.
The usual way to start it is putting it in your ~/.xinitrc or ~/.xsession, i.e.:

xsetroot -grey
~/bin/mailtray.py &
exec twm

For more documentation see the manpage: mailtray(1). The manpage in different formats (Both included in the download): HTML, plain text.

Changelog

v1.3 (2001003)

v1.2.1 (20090916)

v1.2 (20090915)

v1.1 (20090815)

v1.0 (20090111)

Notes

Keep in mind that Mailtray was and is mainly written for personal purposes, which means that features I use have high priority, and other features I don’t use have a low priority. This doesn’t mean I won’t accept patches and/or will try my best to help people out if they have a problem.

Yes, I know the icons are not pretty. What can I say? I’m a programmer, not a graphical artist :-(

Todo

Bugs

The configuration could be significantly easier, the fact that it’s imported in Python makes configuration pretty flexible, but also makes it more difficult for non-python programmers.

Also note that if you have a mailtrayrc.py file in the same path as mailtray or mailtray.py then python will import that file, as far as Python is concerned this is not a bug but a feature, but due to my (mis)use of import it is a bug.

Authors

Martin Tournoij <carpetsmoker@rwxrwxrwx.net>

Mailtray is licensed under a Creative Commons Attribution 3.0 Unported License[external link].

Style:
↑ Back to top ↑