You are not logged in.
Hi,
I switched recently from X to Wayland with KDE plasma (KDE Plasma version 5.27.10, KDE Frameworks 5.115.0 and QT 5.15.12) with kwin as the compositor.
In "KDE Settings > Startup and Shutdown > Desktop Session" there is a "Session Restore" entry with the option "When session was manually saved". I activated this and did save my session via the Application Launcher Menu "Save Session" button.
Yet on the next login Plasma does not remember and does not restore the apps that were open and saved during the last session?
This worked well under X. How can I achieve this in a Wayland Session?
Thanks
gen2arch
Last edited by gen2arch (2024-02-18 13:33:25)
Offline
Not at all currently. This relied on a specific xorg protocol to work properly, not sure whether such a thing exists for Wayland in general, but FWIW plasma devs have at least experimented with application restore on compositor/crash shutdown so this might become more possible with Plasma 6.
on a cursory googler, it's at least on the roadmap https://community.kde.org/Plasma/Plasma … n_progress
Offline
Thanks V1del for clarification!
But that's a bummer! Can't believe that something so basic and ubiquitous would not be implemented in a desktop environment.
This means manually opening, resizing and placing apps and windows and tabs over and over again upon every new login, that's totally absurd.
I'll revert back to X until Wayland becomes ready for real work.
gen2arch
Offline
This is still not working for me either as of today (5/24/2024). Running Fedora 40 kde plasma wayland. I have multiple desktops (12 in total). Windows appear in exactly one desktop and all over the place within that desktop.
Has this been fixed or is this the new normal? I adgree with gen2arch above -- a bit odd that this sort of basic feature is missing. It's a bit of an annoyance (though I can still do work :) ).
Even more specifically:
xterms open, but in wrong place
emacs will not open on restore (have to launch it manually)
seamonkey (keep it around for nostalgia) DOES open in the right place
thunderbird opens, but in the wrong place
gnome-terminals don't open at all.
Last edited by cnmirose (2024-05-25 01:10:48)
Offline
Not before Plasma 6.1
If you want this to work "now" use hibernation
Offline
not sure whether such a thing exists for Wayland in general
It doesn't - I'm not aware even of any experimental protocol proposals for this yet.
Can't believe that something so basic and ubiquitous would not be implemented in a desktop environment.
Ha! You'd be shocked if you really looked at wayland development. NOTHING that a vast majority of users take for granted in desktop systems is possible in any generic way for wayland. Each wayland compositor must re-implement nearly everything themselves in their own way. This leads to the comment I intended to make here based on your title: for a majority of common features it's nonsensical to even ask if a given feature exists "in wayland" - you need to ask if it exists in plasma, or in gnome, or in sway, etc. You do not run wayland the same way you run Xorg. You run just your compositor specifically: and that has to do everything itself.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Linux, street photography and Baroque music enthusiast.
Offline