~manishsinha/cheers/insertion

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Cheers is a trophya warding framework. It runs as a daemon activating a DBus Session bus over which applications can talk to it.

It is written using python, sqlite, dbus

Prerequisties
---------------
To get cheers up and running, you need the following packages. Please check your distribution for the exact name of the packages
* python
* python-dbus
* python-sqlite
* python-gio
* python-glib
* python-gtk



Running
---------
Execute cheers-daemon using the command

./cheers-daemon.py


Registering a trophy
---------------------

Cheers keeps a watch on three folders for new trophies when the server is running. These two folders are
* /usr/share/cheers/trophies
* /usr/local/share/cheers/trophies
* ~/.local/share/cheers/trophies

A sample trophy aa.trophy is provided. Put it  under the folder ~/.local/share/cheers/trophies to register the trophy


Debugging
------------

Use D-feet DBus debugger to have a look at the DBus API