Any simple DBus examples?
Posted: Wednesday 7th July 2021 9:35am
Has anyone done any simple DBus stuff?
All I want is to see how to make my program set itself up for reading a command sent though dbus.
I'm basically rewriting my SingleIntsance routine that handles an app being launched multiple times.
So if the app is launched twice the first instance will register itself on the DBus and the second instance will send it's args to the first instance. Currently i'm using a pipe but DBus i think would be better.
I could only find one DBus app on the farm but all it does is list all the commands on the bus.
TIA
All I want is to see how to make my program set itself up for reading a command sent though dbus.
I'm basically rewriting my SingleIntsance routine that handles an app being launched multiple times.
So if the app is launched twice the first instance will register itself on the DBus and the second instance will send it's args to the first instance. Currently i'm using a pipe but DBus i think would be better.
I could only find one DBus app on the farm but all it does is list all the commands on the bus.
TIA