Gene Heskett wrote:
Need washrag to remove egg on face. At the time I
wrote it there was a
battle going on as some distro's use dcop, and some dbus. It appears
that in debian, dcop won that particular war, so thats what I'm using,
and its coded like this:
Method=dcop
if [[ ${Method} = 'dbus' ]]
then
Cmd="/usr/bin/qdbus org.kde.kmail /KMail org.kde.kmail.kmail.checkMail"
fi
if [[ ${Method} = 'dcop' ]]
then
#or for dcop, use:
Cmd="/opt/trinity/bin/dcop kmail KMailIface checkMail"
fi
[... skip some other alternative hpusekeeping options]
if test "${InMail}" = "gene"
then
$Cmd
[...]
So thats the extent of my dcop training. The manpage for dcop is so
incomplete its worthless. Hardly a full screenfull of very generalized
info.
What dcop can do for|to kmail should be in the kmail handbook, but there
seems to not even be the word dcop. Where can I access what will fix
that lack?
Let be more precise here - in your first if method you do something for kde4
or kde5 not tde. In kde3 and later in tde dcop is the message
buss/interface between different applications. DBus emerged later and won
the public, so kde4 and kde5 also gnome and most of the modern systems use
it.
I think the best way is to examine what interfaces are provided by which
application in dcop. Maybe kdcop will help you.
https://api.kde.org/3.5-api/kdelibs-apidocs/dcop/html/index.html
and some background here
https://www.osnews.com/story/14768/kde-says-goodbye-to-dcop/