fix README

This commit is contained in:
Jakobus Schürz 2020-11-01 21:06:46 +01:00
parent fde40d6659
commit 2d8f309fe2

View file

@ -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:
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###
Use the bindings for dbus. You can find a test-implementation in /usr/share/doc/system-notification/system-notification-example.py