Bugzilla – Bug 150094
It 'd be fine if Konsole will have assotiated command for each subwindow.
Last modified: 2006-02-11 16:57:31 UTC
The idea is simple: Each time I start Konsole I use a few windows & run there some commands. Then I rename those windows to remember "what & where". Then oftenly I save settings. Currently it works (from KDE), but on start of a subwindow from saved state I would be glad to see the command started atomaticaly. The command should be assotiated with name of the Konsole subwindow. If it will be accepted as a good idea, then also it should be configurable: what to do if command died. Say 'ssh' to remote end assotiated w/ subwindow named 'remote'. Then after a some time the ssh will givup on timeout. If assotiated command is set, it'll be good to either: 1. restart command in that case (w/ configurable count of failures & final failure action). 2. open subwindow w/ stdout/stderr from failed command.(w/ configurable count of failures vefore doing that). 3. close subwindow w/ popup for user. 4. close subwindow silently.
report to bugs.kde.org - perhaps you can also provide a patch
Maybe you don't even need new features and just have to use the existing ones. I use the following script - start Konsole with konsole --title "messages" -e /home/cb/bin/kde_autostart #!/bin/sh #/home/cb/bin/kde_autostart xmodmap /home/cb/.Xmodmap ssh-add dcop konsole-$PPID konsole newSession tuxssh >/dev/null dcop konsole-$PPID konsole newSession Fontlinge >/dev/null dcop konsole-$PPID konsole newSession FAQ >/dev/null dcop konsole-$PPID konsole newSession MBox >/dev/null clear exec tail -f /var/log/messages This opens Konsole, runs xmodmap and ssh-add in the first session (titled "messages"), then displays /var/log/messages - and opens 4 new tabs with different sessions. Note that you have to setup these sessions (tuxssh, Fontlinge, ...) in the "Konsole settings" dialog. You can set different color shemes, default directories and even commands to execute there for each session. If you still feel the need to create a report on bugs.kde.org, please post the URL here.