Registered Member
|
Hi,
I'm trying to convert my konsole3 DCOP script to konsole4 DBUS, but I'm a little bit confused.
There is no newSession in /konsole or /Sessions. I only found:
But this is not the same - it doesn't return the opened session. I also don't know, how to get the list of properties for the Get and Set methods:
Is there any documentation for it? Or tutorial for DCOP2DBUS migration? I've found nothing usable on google
mkyral, proud to be a member of KDE forums since 2008-Dec.
|
Administrator
|
You manipulate a property like so ( note that you need a property to be present )
Or basically: qdbus + application dbus url + path to property + org.freedesktop.DBus.Properties.Get + everything before the last dot + everything after the last dot A new session is probably now called a new tab, however for some reason they appear under /Sessions. unfortunately it appears no D-Bus interfaces have yet been created so you can't interact with the Tabs / Sessions. I would use Profiles as a workaround for now.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks, I'll try. The only problem is the list of correct properties
Well, probably I need to create bug report for it. And start to hack konsole
You mean to have one profile for each combination of possible parameters? Or for each server? It is a really workaround. I need a possibility to rename tab at least.
mkyral, proud to be a member of KDE forums since 2008-Dec.
|
Administrator
|
The problem is, there is no properties, otherwise they would be listed there
you could have a script that asks for the variables you need run using one profile alone, I do not know the ability of Konsole to dynamically set the tab name, but something should be possible. That however is really a workaround that does not offer full functionality, I think your only option to get everything you need will be to hack on Konsole, and send the patches in when trunk opens back up for features ( sometime in January )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Well, that's are bad news for me
mkyral, proud to be a member of KDE forums since 2008-Dec.
|
KDE Developer
|
I asked the current Konsole maintainer via private mail and he wrote that unfortunately he hadn't had enough time yet to fully port the scripting facilities to D-Bus yet.
However he thinks this should be fairly easy and that there seem to be a group of students interested in working on that as he as seen respective discussion going on the konsole-devel mailinglist. Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
Registered Member
|
Thanks, looks better now. I'll monitor the maillist.
mkyral, proud to be a member of KDE forums since 2008-Dec.
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]