Questions tagged [busctl]
7 questions
2
votes
1 answer
zbus connection not displayed in busctl list
I'm using the zbus crate to make a server able to get events from the dbus.
It works well my code (basically the same as the example from the documentation) is able to receive events so it's fine.
I use busctl to send an event like in the…

Yuutsuna
- 192
- 2
- 13
2
votes
1 answer
How to pass a dictionary that maps strings to structures to a d-bus method with busctl?
I have a D-Bus method that receives as input a dictionary that maps strings to structures:
...
I have tried to invoke such method using busctl without…

xuman
- 133
- 1
- 3
- 11
1
vote
1 answer
How do I get the current page number from an open PDF document in Evince using DBus?
If I open a PDF document inside evince (GNOME Document Viewer), how do I get the current page number using DBus?
using zathura I could get the page number using the following command:
busctl get-property --user org.pwmt.zathura.PID-1123767 \
…

Amazigh_05
- 241
- 1
- 8
1
vote
0 answers
How to set-property using busctl for setting D-Bus object?
While setting a D-Bus property using busctl it throws the error message
"The operation is not allowed".
busctl introspect xyz.openbmc_project.Network /xyz/openbmc_project/network/eth1/ipv6/f8ea20e3 xyz.openb
mc_project.Network.IP
NAME …

J.Doe
- 11
- 1
0
votes
1 answer
How do I call a method from interface org.freedesktop.DBus.Properties with zbus in Rust?
I have the following code snippet here:
// The connection I am borrowing:
// let connection = zbus::Connection::system().await?;
pub async fn to_ac(connection: &zbus::Connection) -> Result<(), zbus::Error> {
// keycall works just fine, no issues
…

vlk
- 11
- 2
0
votes
1 answer
Can a object name, registered by busctl, be different from the address property, when it comes to bluetooth?
Background for the question
So im developing a small posix shell script that is meant to revolve around Bluetooth and since im considering "publishing" it to the public im at the phase of both optimizing it and later share the code with others so i…

Imeguras
- 436
- 6
- 18
0
votes
1 answer
How to call D-Bus method that expects array of bytes using busctl command line tool
I'm trying to do busctl call of a method that takes array of bytes as arguments (signature ay). How do I do this?
This is what I've tried so far:
# busctl call ${SERVICE_IFACE} ${THE_OBJECT} ${SERVICE_IFACE} ${METHOD} ay 0x00 0x00 0x01 0x00 0xaf
Too…

Maxim Sloyko
- 15,176
- 9
- 43
- 49