Window rules for konsole with a certain profile

Hi,

I have a konsole profile, “Chat” which I use for my irc window that is on the bottom left of my screen. Putting that window in that position on login has stopped working when KDE 3 was replaced with KDE 4, some 20 years ago. Now, with plasma 6.6, I’d like to take another plunge at the issue.

Konsole seems to not have any possibility to control the window position. There are settings for the window size in the profile, but settings to turn off title bar, menu bar, scroll bars and other window decoration are not settable by profile but just for all konsole windows.

Window rules don’t help since konsole doesn’t seem to expose any properties that I could use to match in a window rule. Even konsole –title doesn’t work on wayland, desktop file name is always org.kde.konsole regardless of how the desktop file is named or what I give as the –desktopfile option.

Is there something I am missing on my brand new plasma 6.6 or is this STILL not possible?

If konsole is actually STILL unwilling to provide this very basic configurability, can somebody recommend an alternative terminal app that I could use for my chat window and that doesn’t look too foreign on KDE?

Greetings, Marc

Window rules don’t help since konsole doesn’t seem to expose any properties that I could use to match in a window rule. Even konsole –title doesn’t work on wayland, desktop file name is always org.kde.konsole regardless of how the desktop file is named or what I give as the –desktopfile option.

In the profile editor, set Tabs → Tab title format

In Window rules: Detect Window Properties → click on window with profile → Window title; Exact match

Then you should be able to force a position/size

Works for me at least

Forcing a title on a window with konsole –title doesn’t work in wayland.

I’m not talking about setting it from the command line, but from the profile settings:

If you need to start it via command line, you can use konsole –profile [ProfileName]

That would be a simple and very obvious soution on beginner level. The only disadvantage of this solution is that it doesn’t work. Did you try?

Yes, I tried and it works for me:

I’m using KDE neon with konsole 26.04.0, Plasma 6.6.4 and kwin 6.25.0. All on Wayland.

Works for me too (Fedora 43 / Konsole 25.12.3 / Plasma 6.6.4 on Wayland).

Now this is getting interesting. It works for me on KDE neon user edition (which is just a tad more current than my Debian unstable).

neon@neon-user:~$ cat konsoledata
Konsole: 25.12.3
KDE Frameworks: 6.24.0
Qt: Using 6.10.2 and built against 6.10.2
KDE neon User Edition (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.17.0-20-generic

swivel$ cat konsoledata

Konsole: 25.12.1
KDE Frameworks: 6.23.0
Qt: Using 6.10.2 and built against 6.10.2
Debian GNU/Linux forky/sid (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.19.13+deb14-amd64

But it works on my Debian unstable test VM:
[27/900]mh@sacada:~ :high_voltage: cat konsoledata
Konsole: 25.12.1
KDE Frameworks: 6.23.0
Qt: Using 6.10.2 and built against 6.10.2
Debian GNU/Linux forky/sid (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 7.0.1-zgws1
[28/901]mh@sacada:~ :high_voltage:

Now, what kind of library would I be missing on my notebook maybe? Does anyone know enough about the innards of Plasma and konsole to say what is going wrong here?

Thanks for poking me to try other systems.

Greetings, Marc

You could try something like dpkg -l | grep “^ii” > /tmp/installed to get a list of installed packages on each system, then compare them with a diff tool (e.g. kdiff3).

But I think it’s more likely a packaging issue with konsole itself.

The misbehaving system had in .config/konsolerc:

[KonsoleWindow]
ShowWindowTitleOnTitleBar=true

That was the culprit. Since commenting “ShowWindowTitleOnTitleBar”, the Title setting in the profile is now being honored. This is kind of unintuitive.