Bug 168021 - Konsole doesn't use the profile specified on the command line
Summary: Konsole doesn't use the profile specified on the command line
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 19:05 UTC by kaouete
Modified: 2010-10-26 04:45 UTC (History)
0 users

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 kaouete 2008-08-01 19:05:30 UTC
Version:           2.1 (using KDE 4.1.0)
Installed from:    Unlisted Binary Package
Compiler:          4.1 
OS:                Linux

Hello,

I am using package provided by archlinux.

There is two things in this bug report, the first one seems to look like some old bug reports (https://bugs.kde.org/show_bug.cgi?id=137031 and https://bugs.kde.org/show_bug.cgi?id=154735) but I prefer to report it again in the case it is not :)
Both are about profile specified in the command line not used.

I want also say that I am using konsole from fluxbox and not from kde4.

1) If I start konsole with this kind of command line :
konsole --profile termirc --name termirc -e ssh -X -t somewhere

The profile used does not seems to be "termirc" like it should be. In fact it looks like it, but if I look at the "modify profile" window, the profile name is not used. Maybe it is normal :)

2) Now, if I start fluxbox, and I have in my menu, different scripts to launch konsole with different profile, the following scenario happens :
a) I open a classical konsole from the menu (with corresponding command line in the menu : konsole --profile Shell)
a konsole open
b) I type in this konsole : konsole --profile anotherprofileIcreated
another konsole open, it has the right profile
c) I open another konsole from the menu (with corresponding command line in the menu : konsole --profile oneanotherprofileIcreated)
And then, a new konsole open BUT it has the Shell profile !

The thing is that the first profile used by a konsole opened with the menu is kept for ALL konsole opened after from the menu, even if these konsole has a --profile argument on their command line.

Maybe the things come from the fact that all of these konsole are started from the same process : the fluxbox one ?
The same thing happens if instead of starting them from the menu, I start them from the startup script of fluxbox, the first of all the konsole called in the script set the profile used by all of these.

But every time, if I try to start a konsole from another terminal, then the --profile argument of the command line is really used.

Thanks you.
Comment 1 Kurt Hindenburg 2010-10-26 04:45:42 UTC
A lot of things have changed since 4.1 - This works for me in 4.5.x

Reopen if you still have issues with a 4.5.x version.