python

Hal Dbus and Python

Stephen
How to tie into dbus to get alerts on had drive device insertion also generates pretty notifications. Its the first set in making the code decrypt a usb device on insertion run a rdiff backup and then eject the device. Step two is to work out how to generate a key file for a pass phrase with luks. import pynotify import dbus import gobject from dbus.mainloop.glib import DBusGMainLoop import time class DeviceFinder ( ): def run ( self ): pynotify.