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

--profile doesn't use color an title tab correctly now

Tags: None
(comma "," separated)
novazur
Registered Member
Posts
41
Karma
0
OS
Hello,
I've been using konsole for many years but maybe I'm not doing it the right way because since updating from 21.12.3 to 22.04.3 (Gentoo) I have problem with profiles .
I use profiles in new tabs to initiate an ssh connection to a machine, such as:
Code: Select all
$ cat ~/.local/share/konsole/sshVMServer.profile
[Appearance]
ColorScheme=WhiteOnBlack
Font=Minivan,9,-1,2,50,0,0,0,0,0
TabColor=0,255,255

[Encoding Options]
DefaultEncoding=UTF-8

[General]
Command=ssh -x -t chris@vmserver screen -R -S cored -D
Icon=/usr/local/perso/icons/circle_blue.svg
LocalTabTitleFormat=VMServer
Name=sshVMServer
Parent=FALLBACK/
RemoteTabTitleFormat=VMServer


But since this last version, the title and the color of the tab, of the profile are no longer used. The color and title of the first profile used to launch konsole are systematically reproduced. However, Icon is ok and the command is executed correctly.

I've seen a lot of bugs reported on the bug tracker, which could be related but I'm not sure.

Does this speak to anyone please?

Details:
Code: Select all
$ konsole  --new-tab --profile sshVMServeur

gives a new tab with yellow bar and "Serveur2" as title like in the profile used to start konsole :
Code: Select all
$ cat ~/.local/share/konsole/sshServeur2.profile
[Appearance]
ColorScheme=WhiteOnBlack
Font=Monospace,9,-1,2,50,0,0,0,0,0
TabColor=255,255,0

[Encoding Options]
DefaultEncoding=ISO-8859-15

[General]
Command=ssh -x -t chris@serveur2 screen -R -S kanelxp -D
Icon=/usr/local/perso/icons/gdu-smart-threshold
LocalTabTitleFormat=Serveur2
Name=sshServeur2
Parent=FALLBACK/
RemoteTabTitleFormat=Serveur2

Image

EDIT:
Sometimes, even the Icon isn't the good one.
novazur
Registered Member
Posts
41
Karma
0
OS
Did I explain my problem so badly that I didn't get any response?
With each konsole update, I have the secret hope that the problem will finally be solved, but it's never the case. I'm on version 22.04.3, the stable version on Gentoo.

If I have to complete to be able to be helped, do not hesitate to tell me.
novazur
Registered Member
Posts
41
Karma
0
OS
The only solution I found is to not use "--profile" option anymore and to call konsole with all options contained in the profile, like:
Code: Select all
konsole --hide-menubar --new-tab -p Name=sshVMServeur -p Icon=/usr/local/perso/icons/circle_blue.svg -p LocalTabTitleFormat=VMServeur -p RemoteTabTitleFormat=VMServeur -p TabColor="#00FFFF" -p ColorScheme=WhiteOnBlack -p Font=Monospace,9,-1,2,50,0,0,0,0,0 -p DefaultEncoding=UTF-8  -e $SHELL -c "ssh -x -t chris@vmserveur screen -R -S myscreen -D"

It's so ugly not being able to use the option intended for, but no choice.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]