[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konsole-devel
Subject:    Re: [Konsole-devel] Konsole + DCOP + DBus
From:       "Scott Isaac" <scottgisaac () gmail ! com>
Date:       2008-12-04 17:20:15
Message-ID: b32cfb220812040920y3e89e8a9vc3c702a4b451cede () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


donot care

On Thu, Dec 4, 2008 at 7:31 AM, Tom K. <tomkcpr@rogers.com> wrote:

> Has the old code for accessing DCOP been removed from current Konsole
> code?  The old change log
>
> http://www.kde.org/announcements/changelogs/changelog2_2_2to3_0.php
>
> 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
> konsole-devel@kde.org
> https://mail.kde.org/mailman/listinfo/konsole-devel
>

[Attachment #5 (text/html)]

donot care<br><br>
<div class="gmail_quote">On Thu, Dec 4, 2008 at 7:31 AM, Tom K. <span \
dir="ltr">&lt;<a href="mailto:tomkcpr@rogers.com">tomkcpr@rogers.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px \
0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Has the old code for accessing DCOP been \
removed from current Konsole<br>code? &nbsp;The old change log<br><br> <a \
href="http://www.kde.org/announcements/changelogs/changelog2_2_2to3_0.php" \
target="_blank">http://www.kde.org/announcements/changelogs/changelog2_2_2to3_0.php</a><br><br>has<br><br>Konsole: \
DCOP interface, sets environment variables KONSOLE_DCOP &amp;<br> \
KONSOLE_DCOP_SESSION<br><br><br>however no mention that this has been removed. \
&nbsp;Checking out and looking<br>through svn, appears the old DCOP code has been \
removed.<br><br>Reenabling the dcop server after upgrading to Fedora 9 and KDE 4.x, I \
do<br> notice some of the old apps connect to it now but konsole does \
not<br>suggesting the old code for DCOP has been removed from konsole. \
&nbsp;Some<br>things I&#39;ve tried:<br><br>declare -x \
                KONSOLE_DCOP_SESSION=&quot;DCOPRef(&quot;`ps ax|grep<br>
/usr/bin/konsole|egrep -v grep|awk &#39;{ print \
&quot;konsole-&quot;$1<br>}&#39;`&quot;,session-&quot;`echo $KONSOLE_DBUS_SESSION|sed \
-e &quot;s/[^0-9]//g&quot;`&quot;)&quot;<br><br>declare -x \
KONSOLE_DCOP=&quot;DCOPRef(&quot;`ps ax|grep /usr/bin/konsole|egrep -v<br> grep|awk \
&#39;{ print &quot;konsole-&quot;$1 }&#39;`&quot;,konsole)&quot;<br><br>export \
KONSOLE_DCOP_SESSION \
KONSOLE_DCOP<br><br>yielding<br><br>KONSOLE_DCOP=DCOPRef(konsole-2935,konsole)<br>KONSOLE_DCOP_SESSION=DCOPRef(konsole-2935,session-6)<br>
 <br>but of course since these entries no longer appear in the code, the<br>above \
doesn&#39;t work and produced one of:<br><br>call failed<br>object not \
accessible<br><br>I&#39;m aware others are looking to write code for dbus. \
&nbsp;Would reenabling<br> the old dcop code be easier and provide for some backwards \
compatability<br>for everyone who has already scripted their konsole using the old \
dcop<br>interface while the dbus code is being worked on? &nbsp;Thoughts?<br><br>Kind \
Regards,<br> Tom<br>_______________________________________________<br>konsole-devel \
mailing list<br><a href="mailto:konsole-devel@kde.org">konsole-devel@kde.org</a><br><a \
href="https://mail.kde.org/mailman/listinfo/konsole-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/konsole-devel</a><br> \
</blockquote></div><br>



_______________________________________________
konsole-devel mailing list
konsole-devel@kde.org
https://mail.kde.org/mailman/listinfo/konsole-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic