Skip to content

Instantly share code, notes, and snippets.

@EnigmaCurry
Created February 17, 2011 03:06
Show Gist options
  • Save EnigmaCurry/830873 to your computer and use it in GitHub Desktop.
Save EnigmaCurry/830873 to your computer and use it in GitHub Desktop.
Ubuntu Message Notifications
import indicate
mm = indicate.indicate_server_ref_default()
mm.connect("server-display", show_window_function)
mm.set_type("message.im")
mm.set_desktop_file("/usr/share/applications/gedit.desktop")
mm.set_count(5)
mm.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment