https://bugs.kde.org/show_bug.cgi?id=524756
Bug ID: 524756
Summary: Not possible to automatically start multiple konsoles
on different virtual desktops at login (wayland)
Classification: Applications
Product: konsole
Version First 26.08.0
Reported In:
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I want to start up about half a dozen different konsoles at login, with
different characteristics and in different virtual desktops.
Background: I'm looking for a Wayland-native terminal emulator. The issue is
that I do AI experiments that occasionally crash my GPU; X11 and X apps do not
recover from this, so I lose my terminal sessions (Wayland recovers just fine).
But everything I've tried has problems:
* xterm is an X app, so it crashes when the GPU resets.
* kitty starts consuming a lot of CPU (400%!) after a GPU crash. It's fully
responsive, but something's going on in the background that I don't care to
debug.
* foot doesn't support scrollbars, but when scrolling at least shows your
position, but otherwise seems to be the best compromise.
* konsole cannot place windows on different virtual desktops at startup (e. g.
via ksmserverrc).
* alacritty doesn't support scrollbars or even scrolling indicator.
I haven't tried any of the others.
I can do this with xterm and kitty by setting the window title on the command
line, and with foot by setting the window class (via --app-id on the command
line). I have not found a way to do this with konsole (not to mention that
profiles are a very heavy weight way to do this). If I could do it by means of
LocalTabTitleFormat on the command line it would be ideal.
The most obvious way is via `konsole -p "LocalTabTitleFormat=desktop6 - %w"` or
in a profile (which has its own problems -- if I otherwise want to change
colors and such, I need to edit every one of the profiles). I have a rule that
substring matches on the title and initially places on the appropriate desktop,
but that doesn't fire. Web search suggests that the reason is that the title
isn't set at the moment the window is created, so kwin can't match against it.
I don't want to use force because then I can't move windows between virtual
desktops, since they're locked in place.
I've also tried separate .desktop files (!) for each such variant, but it looks
like dbus or something gets confused because it sees that they're all pointing
to basically the same app.
I'm out of ideas at this point. This seems like a fairly basic thing to want
to do. Activities (even if they were to work) are not a solution for me,
because I prefer to multitask and ad hoc jump around.
SOFTWARE/OS VERSIONS
$ kinfo
WARNING: radv is not a conformant Vulkan implementation, testing use only.
Operating System: openSUSE Leap 16.0
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2
Kernel Version: 7.2.0-lp160.5.gd0d31b0-default (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 9950X 16-Core Processor
Memory: 64 GiB of RAM (60.2 GiB usable)
Graphics Processor 1: AMD Radeon AI PRO R9700
Graphics Processor 2: AMD Ryzen 9 9950X 16-Core Processor
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.