This forum has been archived. All content is frozen. Please use KDE Discuss instead.

konsole profile with multiple tabs

Tags: konsole konsole konsole
(comma "," separated)
jp_314
Registered Member
Posts
3
Karma
0

konsole profile with multiple tabs

Thu Jun 11, 2009 4:11 am
A while back I upgraded from KDE 3* to KDE 4.1.3.

In konsole under KDE 3* I used to be able to create multiple named tabs,
with each in a different initial working directory, and save all config. info.
associated with all tabs, in a single profile. I found this incredibly handy
as I didn't have to manually set up a frequently used collection of tabs
each time I ran konsole. Even the menu item for that in a running instance
of konsole under KDE 4* appears to be missing. There doesn't appear to
be any mention of it in the KDE 4* konsole handbook on kde.org.

Any assistance at finding a method to manage multiple tab configs.
builtin to the KDE 4* konsole, and have them all automatically recreated
at konsole startup, would be greatly appreciated.

If you feel that description needs additional details then please read on.

It appears the internals of the new profile files have been "flattened".

The old profile files appended a digit to a config value, almost as an index,But I feel that's a kludge, and I would be very
happy to hear that I don't have to do that.
to conceptually group config values in the profile file., ala:

Args1=/bin/bash
Cwd1=$HOME/src
Encoding1=0
HistoryEnabled1=true
Icon1=konsole
. . .
Title1=dev

The indexes started at 0 ( zero ) so the example I picked above
from an actual profile file for konsole from KDE 3* would be for
what I'd think of the second tab. The values for a single tab
were physically distributed throughout the file, with all the Args*
for all tabs listed one after the other, all the Cwd* listed one
after the other, etc.

Does the ability to configure multiple tabs with various attributes
and save that configuration to have it recreated each time konsole
starts, still exist somewhere? If it's not accessible from the
menus, is it still doable via a single profile file? If so, is there a
document that describes the new dialect used in the profile files?
Or is there some other way of doing it, built into konsole?

The command line help output from the konsole command itself
states that a profile name that's used as the arg. for the "--profile"
option is the name of the profile for a new instance of konsole. I
used to be able to use an app launcher button/etc. to pass that arg
to konsole when I started an instance of it, and have all my tabs
and associated config. for each tab be restored when konsole ran
from the information for multiple tabs in the saved profile.

Under KDE 4.1.3 I've discovered that actually, if it's combined with the
"--new-tab" I can specify a different profile for use with each new tab,
rather than each new instance of konsole, and the named profile appears
to actually apply separately to each tab.

If the old feature of having multiple configs. for multiple tabs described
in a single profile file is gone for good, I guess one way or another I
can probably have some shell script run a series of konsole commands
with a "--new-tab" option with an individual profile for each tab to start
an instance of konsole. Even with that, I'm not sure that all the
attributes that it used to be possible to save for individual tabs can be
still be saved on a tab by tab basis.

I feel a builtin method for automagically recalling the separate configuration
of several tabs, all at once on startup, would be more effective, and I would
be very happy to hear that I don't have to go in the direction I'm thinking.
I'm not sure that if I was forced to implement the setup with a shell script,
that there's anyway, currently, to cause the external configuration to affect
a particular instance of konsole, should I have multiple instances running.

Again, any ideas would be greatly appreciated.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell