Add Restore session to Gnome Settings

Currently I have not found any working solution to restore a session. This is similar to open previously closed windows during logout, after logging back in, or re-starting the computer.

The “Another Window Session Manager” is getting a little long in the tooth and doesn’t support Gnome 49. I am currently running Ubuntu 25.10. If this was a default gnome settings option all windows (applications) would be restored after login/startup, and their previous workspace location and size would also be restored (just like what another window session manager used to do when it worked).

Most of the options provided in the gnome extension are unnecessary. It would simply be a single toggle say in the display settings: “Restore Session?” toggle “On/Off”.

This is being worked on already, by providing a new Wayland protocol that allows for apps to store a state and let it be restored by the desktop session manager.

It also recently landed, so it should be available in the current nightly or in an upcoming release.

See here for more details:

3 Likes

OMG! thank you for the updated release file, i installed it and it works! There are some extension UI bugs on close/save open windows approve/close buttons not disappearing once selected, but otherwise it finally saves current window session without the error and works restoring the windows/apps and the location/size (mostly).

Some windows don’t restore to their full size and there is a small gap depending on the app, terminal and files app seems to be the ones when using tiling I have noticed so far.

1 Like

Out of curiosity, what is a “release file?” What exactly did you install?

1 Like

you unzip the file and move it to the /home/amiga/.local/share/gnome-shell/extensions/ folder with file name that includes all the files is another-window-session-manager@gmail.com

Looks like there are no artifacts to download but I have the zip file, i could share it somewhere.

What file exactly tho? Where did you downloaded it from? Now I’m also curious… I thought that by “release file” you meant that you installed GNOME OS.