I find this script (notify-me) most useful when I build webkit :-)
Just 'make && notify-me'. You will get a tray notification when the build is complete. Code is not mine, it's ripped from some site.
#!/usr/bin/env python
"""This is a python 2.5 script that creates a notification using dbus."""
import dbus
item = ('org.freedesktop.Notifications')
path = ('/org/freedesktop/Notifications')
interface = ('org.freedesktop.Notifications')
icon = ''
array = ''
hint = ''
time = 10000 # Use seconds x 1000
app_name = ('Test Application')
title = ('Whatever it is, is done')
body = ('Its all over.')
bus = dbus.SessionBus()
notif = bus.get_object(item, path)
notify = dbus.Interface(notif, interface)
notify.Notify(app_name, 0, icon, title, body, array, hint, time)
This comment has been removed by the author.
ReplyDeleteıspartakule çilingir ıspartakule çilingir http://www.ispartakulecilingir.com
ReplyDeletebahçeşehir çilingir bahçeşehir çilingir
ReplyDeleteso happy
ReplyDeleteผลบอลสด
จี คลับ มือ ถือ
baccarat
This comment has been removed by the author.
ReplyDeleteThis is nice post, Please click
ReplyDeleteทางเข้าจีคลับ
ดูบอลสด
วิเคราะห์บอลวันนี้
thanks for nice post
ReplyDeleteเล่นบาคาร่า
บา คา ร่า มือ ถือ
gclub online
This is nice post, Please click.thanks you
ReplyDeleteแทงบอลออนไลน์
เล่นบาคาร่า
บา คา ร่า มือ ถือ
this is great i like
ReplyDeletegclub online
thank you for post
ReplyDeleteวิธีเล่น บาคาร่า
ทางเข้าจีคลับ
ดูบอลสด
Thanks for sharing.
ReplyDeleteFor latest jobs in India please visit TapResume
jobs