fix README
This commit is contained in:
parent
fde40d6659
commit
2d8f309fe2
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,8 @@ So you can install this listener-service and the autostart-entry, log out and re
|
||||||
|
|
||||||
Then you can test the new service. Run the following command from a terminal as you user, as user root, from a test-unit in systemd or even from debug-shell from systemd:
|
Then you can test the new service. Run the following command from a terminal as you user, as user root, from a test-unit in systemd or even from debug-shell from systemd:
|
||||||
|
|
||||||
dbus-send --system /at/xundeenergie/notifications at.xundeenergie.notifications.Notification string:"TEST" string:"Test Header" string:"Testbody"
|
dbus-send --system /at/xundeenergie/notifications/simple at.xundeenergie.Notification.critical string:"TEST" string:"Test Header" string:"Testbody"
|
||||||
|
dbus-send --system /at/xundeenergie/notifications/advanced at.xundeenergie.Notification.critical dict:string:string:"header","Backup start","body","Backup ${TODAY} gestartet"
|
||||||
|
|
||||||
### Run it from python###
|
### Run it from python###
|
||||||
Use the bindings for dbus. You can find a test-implementation in /usr/share/doc/system-notification/system-notification-example.py
|
Use the bindings for dbus. You can find a test-implementation in /usr/share/doc/system-notification/system-notification-example.py
|
||||||
|
|
Loading…
Reference in a new issue