summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-05-24 23:01:16 +0200
committerEugen Wissner <belka@caraus.de>2024-05-24 23:01:16 +0200
commited136d3b9a70370700595005f12794eff20bbaae (patch)
tree1ab74aa2c96e38372de62746e5982ebc0f072939 /README.md
parent0eccfe3ef3ca602212667f339440d77c13d757b1 (diff)
downloadslack-timedate-ed136d3b9a70370700595005f12794eff20bbaae.tar.gz
Add a stub method to query the time zones
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1f26492..0749b7d 100644
--- a/README.md
+++ b/README.md
@@ -33,6 +33,16 @@ for KDE.
Then running `dbus-monitor --system` as root can be used to see the
communication between the control center and this service.
+Messages to the D-Bus service can also be sent with `dbus-send`. For example
+to get the list of time zones:
+
+```sh
+dbus-send --system --print-reply --type=method_call \
+ --dest=org.freedesktop.timedate1 \
+ /org/freedesktop/timedate1 \
+ org.freedesktop.timedate1.ListTimezones
+```
+
## Dependencies
- glib