<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Robert,<br>
<br>
Apolagies, I couldn't really confirm some information so didn't mention
this before, though I too thought KDE 4 no longer uses dcop server.<br>
<br>
Appears I have the best of both worlds following the Fedora 8 to Fedora
9 upgrade I did earlier through yum, which may or may not be the case
for others.  kde 3.5 isn't removed but kde 4 is added.  Now I've
upgraded to Fedora 10, and it upgraded the kde 3.5 packages as well as
the kde 4 ones.  This gives me the option to run /usr/bin/kdeinit (kde
3.5) which reinstates the dcopserver.  I'm not sure if this is the case
for others, however, allows me to continue to script the other apps
that continue to rely on the dcopserver.  Further, if apps that are
scripted for the dcopserver, can't find it, but want it, they appear to
reinstate their own copy using /usr/bin/kbuildsycoca.<br>
<br>
Once I run /usr/bin/kdeinit, alot of problems vanished.  kdevelop, k3b,
kaffeine amongst others now connect to the dcop server fine.  I can of
course continue to then script any of the ones that used dcop as before.<br>
<br>
Hence my suggestion.  If some of the upgrades out there continue to
maintain kde 3.5, reinstating the dcop code in konsole might allow
everyone that already scripted konsole, their functionality again,
while dbus gains momentum.<br>
<br>
I haven't tried this but at some point I'll look into pushing an older
konsole version into my system and yanking out the latest one to see if
I can get dcop functionality again ( just for fun  :)   )<br>
<br>
Kind Regards,<br>
Tom<br>
<br>
Robert Knight wrote:
<blockquote
 cite="mid13ed09c00812080315t359e41ach402e539792a314a2@mail.gmail.com"
 type="cite">
  <pre wrap="">Hello,

  </pre>
  <blockquote type="cite">
    <pre wrap="">Would reenabling the old dcop code be easier and provide for some backwards compatability
for everyone who has already scripted their konsole using the old dcop
interface while the dbus code is being worked on?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
There is no DCOP support in KDE 4 as far as I am aware so that would
unfortunately be out of the question.
I am not actively working on D-Bus support at the moment although I
would be happy to help anyone who
wishes to implement it.

Regards,
Robert.

2008/12/4 Scott Isaac <a class="moz-txt-link-rfc2396E" href="mailto:scottgisaac@gmail.com"><scottgisaac@gmail.com></a>:
  </pre>
  <blockquote type="cite">
    <pre wrap="">donot care

On Thu, Dec 4, 2008 at 7:31 AM, Tom K. <a class="moz-txt-link-rfc2396E" href="mailto:tomkcpr@rogers.com"><tomkcpr@rogers.com></a> wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Has the old code for accessing DCOP been removed from current Konsole
code?  The old change log

<a class="moz-txt-link-freetext" href="http://www.kde.org/announcements/changelogs/changelog2_2_2to3_0.php">http://www.kde.org/announcements/changelogs/changelog2_2_2to3_0.php</a>

has

Konsole: DCOP interface, sets environment variables KONSOLE_DCOP &
KONSOLE_DCOP_SESSION


however no mention that this has been removed.  Checking out and looking
through svn, appears the old DCOP code has been removed.

Reenabling the dcop server after upgrading to Fedora 9 and KDE 4.x, I do
notice some of the old apps connect to it now but konsole does not
suggesting the old code for DCOP has been removed from konsole.  Some
things I've tried:

declare -x KONSOLE_DCOP_SESSION="DCOPRef("`ps ax|grep
/usr/bin/konsole|egrep -v grep|awk '{ print "konsole-"$1
}'`",session-"`echo $KONSOLE_DBUS_SESSION|sed -e "s/[^0-9]//g"`")"

declare -x KONSOLE_DCOP="DCOPRef("`ps ax|grep /usr/bin/konsole|egrep -v
grep|awk '{ print "konsole-"$1 }'`",konsole)"

export KONSOLE_DCOP_SESSION KONSOLE_DCOP

yielding

KONSOLE_DCOP=DCOPRef(konsole-2935,konsole)
KONSOLE_DCOP_SESSION=DCOPRef(konsole-2935,session-6)

but of course since these entries no longer appear in the code, the
above doesn't work and produced one of:

call failed
object not accessible

I'm aware others are looking to write code for dbus.  Would reenabling
the old dcop code be easier and provide for some backwards compatability
for everyone who has already scripted their konsole using the old dcop
interface while the dbus code is being worked on?  Thoughts?

Kind Regards,
Tom
_______________________________________________
konsole-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:konsole-devel@kde.org">konsole-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/konsole-devel">https://mail.kde.org/mailman/listinfo/konsole-devel</a>
      </pre>
    </blockquote>
    <pre wrap="">
_______________________________________________
konsole-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:konsole-devel@kde.org">konsole-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/konsole-devel">https://mail.kde.org/mailman/listinfo/konsole-devel</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
konsole-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:konsole-devel@kde.org">konsole-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/konsole-devel">https://mail.kde.org/mailman/listinfo/konsole-devel</a>

  </pre>
</blockquote>
<br>
</body>
</html>