Skip to content

qdbus => dbus-rs #384

Answered by mulkieran
LuckyTurtleDev asked this question in Q&A
May 31, 2022 · 1 comments · 9 replies
Discussion options

You must be logged in to vote

Try these lines instead of what you have:

let interface = "org.kde.PlasmaShell";
let path = "/PlasmaShell";

and since that worked w/ qdbus, it should work for your Rust program, in the sense that now the method will be called, and your program won't fail with an invalid object path. You still have to tackle passing the arguments, though.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@diwic
Comment options

@chirping78
Comment options

@LuckyTurtleDev
Comment options

@diwic
Comment options

@diwic
Comment options

Answer selected by LuckyTurtleDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants