[opensuse] konsole - scripting ?
I like to use the KDE konsole on my servers, it's a really convenient tool. However, I'd prefer not to have to install all the KDE and X stuff, but as far as I can tell, that means no Konsole - even if I could build it as a stand-alone, I'd still need lost of X-stuff (presumably). So here is the question - is there a way of running/configuring/ scripting konsole locally on my workstation, but have it behave as if it was running off a remote server? That is primarily this behaviour: start konsole for server#1, automatic ssh to user@server#1. For every new tab opened with Ctrl-Shift-N, also automagically ssh user@server1. start konsole for server#2, automatic ssh to user@server#2. For every new tab opened with Ctrl-Shift-N, also automagically ssh user@server2. etc. I often have 9 or 10 such Konsoles running, but remotely. -- Per Jessen, Zürich (7.2°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 07 December 2010 10:27:23 Per Jessen wrote:
I like to use the KDE konsole on my servers, it's a really convenient tool. However, I'd prefer not to have to install all the KDE and X stuff, but as far as I can tell, that means no Konsole - even if I could build it as a stand-alone, I'd still need lost of X-stuff (presumably).
So here is the question - is there a way of running/configuring/ scripting konsole locally on my workstation, but have it behave as if it was running off a remote server? That is primarily this behaviour:
start konsole for server#1, automatic ssh to user@server#1. For every new tab opened with Ctrl-Shift-N, also automagically ssh user@server1.
start konsole for server#2, automatic ssh to user@server#2. For every new tab opened with Ctrl-Shift-N, also automagically ssh user@server2.
etc. I often have 9 or 10 such Konsoles running, but remotely.
Create konsole profiles where the Command field is "/bin/bash -c "ssh user@server#1". Start the konsole using a specific profile with konsole -- profile profilename, edit the kde menu to contain profile specific entries, or use the Konsole Profiles applet to select a profile. Will -- Will Stephenson, openSUSE Team SUSE LINUX Products GmbH - Nürnberg - AG Nürnberg - HRB 16746 - GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Will Stephenson wrote:
On Tuesday 07 December 2010 10:27:23 Per Jessen wrote:
I like to use the KDE konsole on my servers, it's a really convenient tool. However, I'd prefer not to have to install all the KDE and X stuff, but as far as I can tell, that means no Konsole - even if I could build it as a stand-alone, I'd still need lost of X-stuff (presumably).
So here is the question - is there a way of running/configuring/ scripting konsole locally on my workstation, but have it behave as if it was running off a remote server? That is primarily this behaviour:
start konsole for server#1, automatic ssh to user@server#1. For every new tab opened with Ctrl-Shift-N, also automagically ssh user@server1.
start konsole for server#2, automatic ssh to user@server#2. For every new tab opened with Ctrl-Shift-N, also automagically ssh user@server2.
etc. I often have 9 or 10 such Konsoles running, but remotely.
Create konsole profiles where the Command field is "/bin/bash -c "ssh user@server#1". Start the konsole using a specific profile with konsole -- profile profilename, edit the kde menu to contain profile specific entries, or use the Konsole Profiles applet to select a profile.
Brilliant! Thanks, just what I was after. /Per -- Per Jessen, Zürich (9.0°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Per Jessen <per@opensuse.org> [12-07-10 04:28]:
I like to use the KDE konsole on my servers, it's a really convenient tool. However, I'd prefer not to have to install all the KDE and X stuff, but as far as I can tell, that means no Konsole - even if I could build it as a stand-alone, I'd still need lost of X-stuff (presumably).
So here is the question - is there a way of running/configuring/ scripting konsole locally on my workstation, but have it behave as if it was running off a remote server? That is primarily this behaviour:
start konsole for server#1, automatic ssh to user@server#1. For every new tab opened with Ctrl-Shift-N, also automagically ssh user@server1.
start konsole for server#2, automatic ssh to user@server#2. For every new tab opened with Ctrl-Shift-N, also automagically ssh user@server2.
etc. I often have 9 or 10 such Konsoles running, but remotely.
Look into screen and tmux, quite similar apps. I prefer tmux and it is scriptable, works in any term/tty screen/window and doesn't require X. -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Patrick Shanahan
-
Per Jessen
-
Will Stephenson