Lessons Learned : Linux System Tray Icons in python

While programming in python, for an Ubuntu/Linux Mint target, you may want to include a system tray icon for batter interaction with users. In Ubuntu, these are called "application indicators". A basic appindicator icon is quite simple to do in python via PyGTK. There's a very good example here: http://developer.ubuntu.com/resources/technologies/application-indicators/ Scroll down to the PyGTK … Continue reading Lessons Learned : Linux System Tray Icons in python

Python system tray notifications in Linux

As a follow up to my previous post, here's how to accomplish system tray notifications in ubuntu linux and family. I must say, compared to windows, this is child's play... under ten lines of code! #!/usr/bin/python import sys import pynotify if __name__ == '__main__': if not pynotify.init ("summary-body"): sys.exit (1) # try the summary-body case … Continue reading Python system tray notifications in Linux