Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: konsole: automatically open several sessions at startup?

  • Subject: Re: konsole: automatically open several sessions at startup?
  • From: Roy Schestowitz <newsgroups@schestowitz.com>
  • Date: Tue, 05 Jul 2005 04:05:12 +0100
  • Newsgroups: comp.windows.x.kde
  • Organization: schestowitz.com / Manchester University
  • References: <3it0pnFmus7mU1@individual.net>
  • Reply-to: newsgroups@schestowitz.com
  • User-agent: KNode/0.7.2
Markups Lehmann wrote:

> Can I setup console so that it always opens with, say, 10 sessions? The
> names of these sessions should also be set automatically. Is that
> possible, with some scripting or so?

Find out which file is invoked at the beginning of a session in your
distribution, e.g. /etc/profile.local (needs root permissions to change).
Run the following at startup.

konsole -T moe& konsole -T larry& konsole -T curly...

> The reason is that I use to ssh into a machine and open konsole there, but
> I always need the same sessions. Ideally, each session would also execute
> a specific cd command so that I am already in the right directories...
> 
> Thanks!

Change .bashrc on the remote machines to run 

cd /home/whatever

This, however assumes that logins to that machines will have a similar
nature. Otherwise, this might leads to inconveniences.

Roy

-- 
Roy S. Schestowitz
http://Schestowitz.com

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index