DCOP to D-BUS conversion for shellscripts

Nikolaj Hald Nielsen nhnfreespirit at gmail.com
Sun Jan 13 19:17:38 UTC 2008


If you have Qt installed, the 'qdbus' utility works much the same way
as dcop, allowing you to see all apps that provide interfaces and
query each one for modules and funtions.

- Nikolaj

On Jan 13, 2008 7:29 PM, Alanceil <alanceil at gmx.net> wrote:
> 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
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok
>



More information about the Amarok mailing list