DCOP to D-BUS conversion for shellscripts

Alanceil alanceil at gmx.net
Sun Jan 13 18:29:41 UTC 2008


Hello everyone,

In KDE4, they replaced the DCOP system with D-BUS (and as far as I know, 
there is no wrapper for DCOP).
Now, I have several shellscripts that read & write data to/from Amarok, 
using the "dcop" command, but I have not yet found a good replacement 
for this.

So my question is:
Can you point me to a tutorial that covers porting from DCOP to D-BUS in 
shellscripts ? Everything I have found were tutorials that explain how 
to do this in C.

What made "dcop" easy to use was that you could just enter "dcop" and 
get a list of all running programs that provided dcop calls. You could 
then enter "dcop amarok" to get all calls of Amarok and so on.
With "dbus-send", that is no longer possible, and I haven't been able to 
port those scripts. Is there a command (or several ones) that do just that ?

Thank you very much,
- Tom



More information about the Amarok mailing list