[Konsole-devel] [Bug 135547] New: Version of dcop-Command "newSession" which takes a "Name"-Parameter
Matthias Schniedermeyer
ms at citd.de
Thu Oct 12 21:56:55 UTC 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=135547
Summary: Version of dcop-Command "newSession" which takes a
"Name"-Parameter
Product: konsole
Version: unspecified
Platform: Debian testing
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: konsole-devel kde org
ReportedBy: ms citd de
Version: (using KDE KDE 3.5.5)
Installed from: Debian testing/unstable Packages
I want to instanciate a Konsole-Window with several Sub-konsoles.
That would be a bit easier if i could start sub-konsoles with a name
Currently i do the following:
konsole --ls -T "xyz"
In my.profil i have a "name=`dcop ... sessionName`" and then a "case" which executes the needed commands based on that name.
When i want several sub-windows i have to do the following:
use a "magic" sessionName.
in the .profile is a loop that starts as many "newSession"s as needed.
In the .profile of the sub-konsoles i must use a "if sessionName=Shell" and "if dcop ... session-1 sessionName=magic" to see if this sub-konsole is actually a special-one and then "renameSession" it to the name i would have liked to use with newSession and then "exec /bin/bash --login" to start over the .profile which then executes the correct commands based on the updated sessionName.
Fortunaly i currently only have >= 3 sub-window-konsoles with sessions 2 .. x doing the same.
Otherwise i would also have to use for the "sessionCount" to set the correct sub-konsole-names.
Finally when the "magic" Session is done it "dcop ... renameSession" itself to it's final name and "exec /bin/bash --login" to finalize it.
More information about the konsole-devel
mailing list