choice of using konsole as a backend instead of gnome terminal

Asked by somekool

terminator is the only gnome application i need and require the following dependencies on my system

Get:1 http://ca.archive.ubuntu.com/ubuntu/ precise/main libavahi-glib1 amd64 0.6.30-5ubuntu2 [8,804 B]
Get:2 http://ca.archive.ubuntu.com/ubuntu/ precise/main libgail18 amd64 2.24.10-0ubuntu6 [16.6 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu/ precise/main libgdu0 amd64 3.0.2-2ubuntu7 [90.0 kB]
Get:4 http://ca.archive.ubuntu.com/ubuntu/ precise/main libglade2-0 amd64 1:2.6.4-1ubuntu1 [52.7 kB]
Get:5 http://ca.archive.ubuntu.com/ubuntu/ precise/main libart-2.0-2 amd64 2.3.21-1 [58.1 kB]
Get:6 http://ca.archive.ubuntu.com/ubuntu/ precise/main libbonobo2-common all 2.32.1-0ubuntu1 [56.7 kB]
Get:7 http://ca.archive.ubuntu.com/ubuntu/ precise/main libidl-common all 0.8.14-0.2ubuntu2 [8,572 B]
Get:8 http://ca.archive.ubuntu.com/ubuntu/ precise/main libidl0 amd64 0.8.14-0.2ubuntu2 [81.6 kB]
Get:9 http://ca.archive.ubuntu.com/ubuntu/ precise-updates/main liborbit2 amd64 1:2.14.19-0.1ubuntu1 [186 kB]
Get:10 http://ca.archive.ubuntu.com/ubuntu/ precise/main libbonobo2-0 amd64 2.32.1-0ubuntu1 [269 kB]
Get:11 http://ca.archive.ubuntu.com/ubuntu/ precise/main libgnomevfs2-common all 1:2.24.4-1ubuntu2 [24.3 kB]
Get:12 http://ca.archive.ubuntu.com/ubuntu/ precise/main libgnomevfs2-0 amd64 1:2.24.4-1ubuntu2 [308 kB]
Get:13 http://ca.archive.ubuntu.com/ubuntu/ precise/main libgnome2-common all 2.32.1-2ubuntu1 [36.9 kB]
Get:14 http://ca.archive.ubuntu.com/ubuntu/ precise/main libgnome2-0 amd64 2.32.1-2ubuntu1 [67.4 kB]
Get:15 http://ca.archive.ubuntu.com/ubuntu/ precise/main libgnomecanvas2-common all 2.30.3-1ubuntu1 [9,204 B]
Get:16 http://ca.archive.ubuntu.com/ubuntu/ precise/main libgnomecanvas2-0 amd64 2.30.3-1ubuntu1 [101 kB]
Get:17 http://ca.archive.ubuntu.com/ubuntu/ precise/main libbonoboui2-common all 2.24.5-0ubuntu1 [11.8 kB]
Get:18 http://ca.archive.ubuntu.com/ubuntu/ precise/main libbonoboui2-0 amd64 2.24.5-0ubuntu1 [190 kB]
Get:19 http://ca.archive.ubuntu.com/ubuntu/ precise/main libgnomeui-common all 2.24.5-2ubuntu2 [16.5 kB]
Get:20 http://ca.archive.ubuntu.com/ubuntu/ precise/main libgnomeui-0 amd64 2.24.5-2ubuntu2 [257 kB]
Get:21 http://ca.archive.ubuntu.com/ubuntu/ precise/main gvfs-common all 1.12.1-0ubuntu1 [16.5 kB]
Get:22 http://ca.archive.ubuntu.com/ubuntu/ precise/main gvfs-libs amd64 1.12.1-0ubuntu1 [52.5 kB]
Get:23 http://ca.archive.ubuntu.com/ubuntu/ precise/main gvfs-daemons amd64 1.12.1-0ubuntu1 [348 kB]
Get:24 http://ca.archive.ubuntu.com/ubuntu/ precise/main gvfs amd64 1.12.1-0ubuntu1 [99.0 kB]
Get:25 http://ca.archive.ubuntu.com/ubuntu/ precise/universe libkeybinder0 amd64 0.2.2-3build1 [9,220 B]
Get:26 http://ca.archive.ubuntu.com/ubuntu/ precise/main policykit-1-gnome amd64 0.105-1ubuntu3 [27.5 kB]
Get:27 http://ca.archive.ubuntu.com/ubuntu/ precise/main python-gconf amd64 2.28.1+dfsg-1 [28.5 kB]
Get:28 http://ca.archive.ubuntu.com/ubuntu/ precise/main python-pyorbit amd64 2.24.0-6ubuntu2 [63.3 kB]
Get:29 http://ca.archive.ubuntu.com/ubuntu/ precise/main python-gnome2 amd64 2.28.1+dfsg-1 [203 kB]
Get:30 http://ca.archive.ubuntu.com/ubuntu/ precise/universe python-keybinder amd64 0.2.2-3build1 [7,592 B]
Get:31 http://ca.archive.ubuntu.com/ubuntu/ precise/main python-vte amd64 1:0.28.2-3ubuntu2 [21.7 kB]
Get:32 http://ca.archive.ubuntu.com/ubuntu/ precise/universe terminator all 0.96-0ubuntu1 [262 kB]

if it would be possible to use konsole as well as gnome-terminal as a backend, this could allow not to have both series of deps install.

thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Terminator Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stephen Boddy (stephen-j-boddy) said :
#1

It's not possible to simply switch the terminal from vte to konsole. Most of the program is written using gtk. You would effectively have to rewrite the thing to remove the dependancies.
Further, I looked into doing an equivalent python/konsole version. It was vaguely possible to put a shell in a window, but it was done with the konsole kpart which is (AFAICT) quite limited in what you can do. This means you would have to a) use C++ to write your program, or b) create full python bindings for konsole... in C++.

Revision history for this message
Stephen Boddy (stephen-j-boddy) said :
#2

Hmm. Actually I got a little further than that. I had three konsoles divided by splitters. But I was struggling to understand how to put input into the konsole programatically. The docs mention a TerminalInterface (http://api.kde.org/4.0-api/kdelibs-apidocs/interfaces/html/classTerminalInterface.html) but I haven't figured out how to access this in Python, if it is even possible. Alternatively to that you have to start looking at faking keypress events into each part separately. Also never got to the bottom of that.

Be aware that it would take a *huge* amount of work to get near the functionality available to you in terminator.

Can you help with this problem?

Provide an answer of your own, or ask somekool for more information if necessary.

To post a message you must log in.