How to configure Zorin OS to remember application's last position and size?

Microsoft Windows 11 Version 22H2 (OS Build 22621.5262)
VirtualBox Version 7.1.6 r167084 (Qt6.5.3)
Zorin OS v17.3 Core

Thanks for creating this beautiful and clean Linux distribution, below is my normal aligned of application panels in daily work:

As you can see, on each startup of Zorin OS, if it can remember respective application's size and position aligned, it would be very helpful and I do not need to spend time to re-align again.

I did not found any solid solution in this forum although there are few posts mentioning about remembering application windows size and position.

ChatGPT's feedback:

DeepSeek's Feedback:

I am new to Zorin OS, not sure the solution of DeepSeek is implementable or not as I cannot find any Window Position Manager in the gnome-shell-extension browser.

Please advise.

Gnome Tweaks is what you need (I think). Only Arch appears to have an extension for this issue with Gnome 43 which is what Zorin 17 uses. (Fun fact Ubuntu/Gnome removed this functionality in 2011/12).

From Brave A.I. search engine via mojeek:

" Remember Gnome 43 Window Position

To get Gnome 43 to remember window positions when launching applications, you can use the Another Window Session Manager GNOME Shell extension. This extension is designed to remember and restore window positions and sizes upon application startup. It is available in the AUR as gnome-shell-extension-another-window-session-manager-git.

Alternatively, you can use Gnome Tweaks to change the default window placement behavior. In Gnome Tweaks, navigate to the Windows section and enable "Center New Windows" to have new windows open in the center of the screen.5 However, this method does not specifically remember the previous positions of windows.

For applications like gnome-terminal, you can configure the initial terminal size through the application's preferences.

It's important to note that Gnome does not inherently keep track of window positions; this is typically handled by the application itself or through third-party extensions.

If you are using Wayland, the current state of Gnome Shell does not remember the last position of windows when they are reopened.6 In such cases, using an extension like Another Window Session Manager is recommended."

Thanks for the feedback, well currently I just used the gnome tweaks to set pop up window to center merely. Hopes, Zorin OS developers consider to include this feature on next release though :slightly_smiling_face:

I am not sure how this is possible as a lot of issues arise due to Gnome devs deciding on behalf of users and devs what should and should not be present (possible indication why Microsoft employees a few years back voted to give the Gnome project $10,000). If you look at my post again, Arch people have had to create an extension for it. I don't know what extensions Team Zorin have created, but most are people who use vanilla Gnome.

Looked again, this is what you need:

Haven't checked if it is compatible for Gnome 43. This is the problem with extensions, they are dependent on authors updating the code to match the current Gnome Shell.

Yes, this does have a version for Gnome 43. @rickygai can try this out by selecting 43 from the arrow and drop down menu.

1 Like

which extension version to choose ?

Scrolling down to Download "Shell version"
The shell version is 43.

yes, but it also prompted for Extension version before the download .zip file is triggered. I am sorried as totally new to Zorin OS, after downloaded the .zip file, how to install it ?

Oh. Uh... I guess 41.

You can decompress the file and move the contents into one of two locations.
I f you want the extension to apply system wide:
/usr/share/gnome-shell/extensions

Or for one user on that user account:
~/.local/share/gnome-shell/extensions

2 Likes

Ok, at least now I can save and restore session of aligned applications manually with single click.

However, the restore at startup does not fuction properly, either at logout/login or off/on the Zorin OS computer.

Just to inform, also it is subjected to the application itself the way it is programmed to remember its windows size or not. Like Blender 3.01 required to "Save Preferences" to retain its working windows size, same goes to KiCad v9.0.1

In addition, the another window session manager can remember position and size of terminal and application as well.

Thank you all.

Hopes, this help.

You could simply use the so-called Extension Manager to install Gnome Extensions. That makes the whole thing way much easier. You can find it in the Software Store:


(ignore the Language, my System is in German; the blue Puzzle Piece is important)

When it is installed, open it and go to the ''Browse'' Tab and search for it:

1 Like

Ponce-De-Leon, thank you so much, just found another settings which automatically load the saved session ( eg. kicad ) as shown in picture below.

Now, the Another Window Session Manager is totally working fine under Zorin OS.

Cheers :slightly_smiling_face:

3 Likes

You should thank @swarfendor437 for the Suggestion. I only showed You a Way to install it.

no worry, already mentioned earlier, this one is for you.

2 Likes

I've changed the category to General Help ( seems more of a support thread rather than overall feedback) and marked @swarfendor437's post as the solution.

2 Likes