Summary: | KDE 4 Konsole DBus introspection | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Florian Jauernig <fjauernig> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mads, pickscrape, robertknight |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | DBus patch for 4.1 |
Description
Florian Jauernig
2008-08-13 11:16:37 UTC
It isn't broken, it just doesn't exist. Writing a D-Bus interface is not a particularly difficult task I just haven't got around to it yet. If you or one of the other responders to the Debian mailing list thread is interested please get it touch. Thanks for this quick reply. This explains why my trials in using D-Bus all failed;-) If you could implement a D-Bus interface for konsole me and at least one of my colleagues would be very happy! Unfortunately I am not familiar with C programming but if you need someone to test I would be happy in doing this for you! If you have another idea on how to solve my "problems" without using D-Bus I also would be happy. I used konsole with dcop previously for doing the following: 1. Calling kdialog prompting for an IP address 2. openening a new konsole window 3. opening 5 tabs in this new window 4. connect to the IP specified in kdialog via ssh in each of this tabs 5. cd'ing in every tab to another directory on the target host 5. renaming all tabs to provide an overview about where in directory I currently am I too would like this. My exact usecase, actually. Created attachment 31553 [details] DBus patch for 4.1 From Konsole mailing list http://lists.kde.org/?l=konsole-devel&m=123100564132457&w=2 Has anyone patched a recent 4.2 or trunk? If not I may break this patch up to slowly apply it. SVN commit 941837 by hindenburg: An initial commit to get a working DBus interface working. CCBUG: 169024 M +8 -0 CMakeLists.txt M +13 -0 ViewManager.cpp M +5 -0 ViewManager.h M +7 -38 org.kde.konsole.Konsole.xml M +0 -6 org.kde.konsole.KonsoleScripting.xml M +0 -6 org.kde.konsole.SessionScripting.xml WebSVN link: http://websvn.kde.org/?view=rev&revision=941837 SVN commit 952482 by hindenburg: Implement org.kde.konsole.Konsole methods (minus activateSession). Thanks to Arno Töll for the big dbus patch that I'm breaking into smaller pieces. CCBUG: 169024 M +79 -0 ViewManager.cpp M +36 -0 ViewManager.h [POSSIBLY UNSAFE: gets] M +31 -7 org.kde.konsole.Konsole.xml WebSVN link: http://websvn.kde.org/?view=rev&revision=952482 SVN commit 957189 by hindenburg: Implements the session portion of the dbus interface. CCBUG: 169024 M +47 -1 Session.cpp M +117 -77 Session.h M +61 -2 org.kde.konsole.Session.xml WebSVN link: http://websvn.kde.org/?view=rev&revision=957189 I believe I've committed all of the patch from Arno Töll. Open seperate wishlist for any other dbus calls you want. Many thanks to all of you who made dbus interaction possible in konsole. I am looking forward in interacting with my konsole windows from CLI again! As I am not familiar with KDE release management - will konsole dbus interaction be in KDE 4.2.x or will this be in KDE 4.3? 4.3 - Like most other projects, KDE has a policy of not adding major new features in minor releases. The 4.X.Y releases are for bug fixes or minor tweaks only - the idea being to reduce the risk of regressions. |