Home

Awesome

Python DBUS examples

A collection of python DBUS examples.

Abstract

The first time I had to deal with python and DBUS I was overwhelmed by the lack of concrete examples, so this repository was born. More documentation may be found in the comments.

Dependencies

The following are python dependencies:

Usage

In your first terminal run the dbus monitor and grep for the examples methods:

dbus-monitor | grep /tld/domain/sub

In a second terminal run the reciever:

./receiver.py

The receiver has a catch all handler, so a lot of output is expected there.

in a third terminal you can now either:

After running either of them, the receiver will be stopped.