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
|
Cheers is a trophy awarding framework. It runs as a daemon activating a DBus Session bus over which applications can talk to it.
The aim of cheers is to have a centralized system where all the trophies can be stored. This removes the reduendency of every application with requirements which sounds like trophjy/medal/badges to have their own implementation.
It is written using python, desktopcouch, 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-gio
* python-glib
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
|