How to send and receive dbus messages

This is not particularly related to Rust language, but is there any beginner friendly example of working with dbus (Or any other alternative)?

What I want to do is detecting whether my Rust program is already running, and if it is, instead of starting a new instance, I want to pass a message to the currently running program. This is a reminder app running on Linux if that's relevant.

Have you tried the dbus crate? It has a few examples.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.