Registered Member
|
Hello,
In KDE3 I utilised many dcop actions in connection with khotkeys. I've had two wonderful tools to discover power of dcop: kdcop and zsh completion functions (provided by kdesdk). How to do that in KDE4?
mikmach, proud to be a member of KDE forums since 2008-Dec.
|
KDE Developer
|
There is qdbusviewer (and probably non Qt based viewers as well).
kde-apps.org also lists two such programs, kdbus an QDBusGUI The commandline completion could probably be adapted for the output of qdbus, its reaction is quite similar to that of the dcop tool. Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
Registered Member
|
I'm sure there's a very good reason why the command-line syntax for dbus-send is so impenetrably complex, but I haven't worked it out yet. Unfortunately kdbus takes a ridiculous amount of time just to initialise itself and then is incredibly slow to do anything once it's there. And the source posted for QDBusGUI is so bug-ridden it won't even compile (as someone even commented on the download page). |
KDE Developer
|
dbus-send has the advantage that it really takes all information from the commandline, e.g. parameter types. It can also be used to emit D-Bus signals.
qdbus is way easier to use but for that it relies on the target's ability to serve correct D-Bus introspection data. qdbus and qbusviewer should be part of one of the Qt packages (I think qdbus comes with QtDBus and qdbusviewer with the Qt tools) Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]