... | ... | @@ -67,6 +67,20 @@ The [example-service.py](https://cgit.freedesktop.org/dbus/dbus-python/tree/exam |
|
|
gdbus introspect --session --dest com.example.SampleService --object-path /SomeObject
|
|
|
```
|
|
|
|
|
|
## Librem 5 components
|
|
|
|
|
|
Requesting the available names on the session bus:
|
|
|
```
|
|
|
gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.ListNames
|
|
|
```
|
|
|
|
|
|
We find the on-screen keyboard, `sm.puri.OSK0`:
|
|
|
```
|
|
|
gdbus introspect --session --dest sm.puri.OSK0 --object-path /sm/puri/OSK0
|
|
|
```
|
|
|
|
|
|
The two useful methods are `SetVisible` and `GetVisible`, each of which respectively accepts and returns a boolean value.
|
|
|
|
|
|
## References
|
|
|
|
|
|
* https://dbus.freedesktop.org/doc/dbus-python/tutorial.html
|
... | ... | |