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
|
|