You are not logged in.

#1 2022-07-25 08:25:03

neerkoli
Member
Registered: 2022-02-09
Posts: 15

[SOLVED] - Windows not remembering maximized state - XFCE

I noticed this first on Firefox. But this is happening across many applications - Thunar, Xfce Terminal, Ristretto, Anydesk etc. I am able to maximize properly by clicking on the button or double clicking the title bar, but the windows do not start maximized when I restart them. The only app in my system that does remember is EasyEffects, I don't know why. Can anyone help me please?

PS: I had Gnome installed on my system initially. But then I installed Xfce and removed Gnome. When I was in Gnome I had tried Material Shell extension. Did that change some window rules across the system?

Xfce: v4.16
Graphics: Intel HD Graphics 620 + Nvidia GeForce 940MX

Last edited by neerkoli (2022-07-25 12:57:45)

Offline

#2 2022-07-25 08:49:22

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: [SOLVED] - Windows not remembering maximized state - XFCE

The state is to be maintained and restored by the client (firefox etc.) itself.
Some WMs provide rulesets to remember or enforce behavior on selected windows, but xfwm4 doesn't seem to be one of them (and not even offer a "maximized" placement strategy)

Offline

#3 2022-07-25 09:08:58

SimonJ
Member
Registered: 2021-05-11
Posts: 119

Re: [SOLVED] - Windows not remembering maximized state - XFCE

I got quite OCD about this and ended up using devilspie2 https://github.com/dsalt/devilspie2/

It is available in the AUR and works perfectly with XFCE4

Offline

#4 2022-07-25 12:51:13

neerkoli
Member
Registered: 2022-02-09
Posts: 15

Re: [SOLVED] - Windows not remembering maximized state - XFCE

SimonJ wrote:

I got quite OCD about this and ended up using devilspie2 https://github.com/dsalt/devilspie2/

It is available in the AUR and works perfectly with XFCE4

Thank you so much! This worked perfect for me.

Offline

#5 2022-07-25 12:55:59

neerkoli
Member
Registered: 2022-02-09
Posts: 15

Re: [SOLVED] - Windows not remembering maximized state - XFCE

seth wrote:

The state is to be maintained and restored by the client (firefox etc.) itself.
Some WMs provide rulesets to remember or enforce behavior on selected windows, but xfwm4 doesn't seem to be one of them (and not even offer a "maximized" placement strategy)

I guess xfwm4 does not have a policy to save window states. Even when I tested in a VM, the default applications didn't remember the maximized state. But Firefox did! I don't know why that works in VM and not on the real machine.

Offline

Board footer

Powered by FluxBB