Handle ListTimezones errors
All checks were successful
Build / build (push) Successful in 19s

This commit is contained in:
2024-06-02 14:57:09 +02:00
parent c6036e4d2d
commit 263d91efb5
3 changed files with 25 additions and 9 deletions

View File

@@ -39,8 +39,16 @@ 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
/org/freedesktop/timedate1 org.freedesktop.timedate1.ListTimezones
```
To get a value of a property:
```sh
dbus-send --system --print-reply \
--dest=org.freedesktop.timedate1 \
/org/freedesktop/timedate1 org.freedesktop.DBus.Properties.Get \
string:org.freedesktop.timedate1 string:NTP
```
## Dependencies