Bug 148867 - Save sessions and allow initial command in each terminal when starting
Summary: Save sessions and allow initial command in each terminal when starting
Status: RESOLVED DUPLICATE of bug 175140
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-15 21:42 UTC by Iñaki Baz Castillo
Modified: 2011-09-24 07:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iñaki Baz Castillo 2007-08-15 21:42:56 UTC
Version:           desconocido (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.20-16-generic

I've read other similar wishes but very old and not sure if they are the same. I'll explain here what I've to do every day I go to the office (I'm VoIP system adminsitrator):

- I open my KDE and Yakuake starts, but empty (first issue).
- I have to open several tabs and in each one do SSH to the same or different machines in order to monitorize services (Asterisk and so).
- I use SSH keys so I login into machines automatically.
- That takes me some time and it's always the same proccess.

What I would like is to automatize ALL this process:

- Possibility of saving a named tabs session and remember the last session, so when I run KDE my konsole/yakuake starts with all these tabs opened.
- Possibility of executing an initial command in each terminal (most obvious: ssh user@host) so when konsole starts and remembers last session, a SSH command is executed in each tab. If I use SSH keys is great because I login automatically, if not it doesn't matter, is better than ahbing to write "ssh...".

These things would make my life happier and know that other people would like this too :)

Regards and thanks for the best console app.
Comment 1 Robert Knight 2007-08-16 09:03:12 UTC
In KDE 4 Konsole has an optional --new-tab argument which can be used in combination with -e to create a Konsole window with several tabs, each running different ssh commands.

So a shell script which calls:

konsole --new-tab -e ssh user@host

For each host would work.  This doesn't do everything you are after, some extensions to the DBus interface for Konsole are needed for that.
Comment 2 Jekyll Wu 2011-09-24 07:42:40 UTC

*** This bug has been marked as a duplicate of bug 175140 ***