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.
What information is contained in the session name and how many different possibilities are there?
The String that is shown in the Tab-Bar where you can switch between the sub-konsoles. I (always) name my tabs by the task i indent to do with it. So the names are infinite(tm) or at least only constraint by the charset and string-length. ;-)