Novice question about sessions persisting across reboots

I’m rather glad about the occurrence of this recent bug involving shutdown and restart in KDE, because I was not aware that a session could persist across reboots.

Does this bug affect the ability to store a session now?

Would you please point me to a good source of learning how to use this feature properly? Are there other sources than this: Session Management?

I read a few posts about what settings to select, but I’d like to read about how it is supposed to work, such as can more than one session be saved, can the current session be saved in between logouts shutdown (in case of power failure),–a better question might be, If the setting is to save the session at logout can it still be saved manually in between logouts also–and are there any risks to using this.

It appears that (if I learn how to use them properly) the virtual desktops and the ability to restore a session should makes KDE very useful to my work, and a time saver.

Thank you.

At the moment, it looks like it only saves the session when logging out. Some of the following may provide more info for you:

This week in KDE: real fake session restore – Adventures in Linux and KDE:

New Features

Even though we don’t have real session restore on Wayland yet (it’s still waiting for the protocol to be finalized), now we have the next best thing: fake session restore that simply re-opens apps you had open at the last logout and relies on them to have internally saved their own state appropriately. This works on X11 too (where apps that remember their window positions can do that as well), and it applies to all windows not covered by real session restore. As a result, now all your apps should always re-launch properly on login, rather than only the random-seeing assortment of session-restore-supporting apps re-launching on login. This feature is controlled by the existing setting that turns on or off session restore (David Edmundson, Plasma 6.1. Reopen running apps on startup (!3523) · Merge requests · Plasma / Plasma Workspace · GitLab)

This week in Plasma: polishing like mad – Adventures in Linux and KDE:

Fixed a bug that caused real-fake-session-restore to not work properly on Wayland (David Edmundson, Plasma 6.2.0. 436318 – Save/Restore session doesn’t work under Wayland)

2 Likes

I use Autostart, I have a number of Apps that autostart, and are positioned on various Virtual Desktops on boot up, using Window Rules.

I don’t usually Shut down the computer, so my Sessions persist across either a Sleep or Hibernate. On the odd occassion when I do reboot, I’m not concerned about preserving the Session.

Thank you for these links; for I need to start taking some time to check and follow these things. I tend to take the OS and DE for granted as if they just work without paying much attention to them; yet I follow other issues such as the SQLite forum to keep up with it’s new changes. Too much for my little brain, I suppose.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.