Page 1 of 1

Minor Annoyance, Firefox is not remembering previous position (Solved)

Posted: Sat Mar 04, 2023 3:40 pm
by Overdrive5

Usually when I had "Open previous windows and tabs" set in Firefox settings, it would remember and use it's last position and size even after a reboot.

At first I thought there was a new bug introduced in a Firefox update and started googling for the solution.

I found nothing about it except a few posts in other Linux O/S's about using "centered" in a window manager app settings.

So I went to JWMDesk and looked around but could not find any setting for it.

Then I looked at /root/.jwm/jwmrc-personal and found this:

Code: Select all

<!-- Start Firefox maximized, to save vertical space  -->
<Group>
    <Name>Navigator</Name>
    <Name>Firefox</Name>
    <Option>maximized</Option>
</Group>

So I changed it to:

Code: Select all

<!-- Start Firefox centered, to save last size,position settings -->
<Group>
    <Name>Navigator</Name>
    <Name>Firefox</Name>
    <Option>centered</Option>
</Group>

And sure enough, that fixed it.

Thought I would post this in case anyone else had this minor annoyance.


Re: Minor Annoyance, Firefox is not remembering previous position (Solved)

Posted: Sun Mar 05, 2023 4:47 am
by Jinx

Thank you!

This also works for S15Pup and likely others. The size of the Firefox window when you exit Firefox will reappear, centered, on the next launch. You need to restart xwin after changing this file.

I wonder if it will remember size and position if the lines are commented out?


Re: Minor Annoyance, Firefox is not remembering previous position (Solved)

Posted: Sun Mar 05, 2023 5:22 am
by Overdrive5
Jinx wrote: Sun Mar 05, 2023 4:47 am

Thank you!

This also works for S15Pup and likely others. The size of the Firefox window when you exit Firefox will reappear, centered, on the next launch. You need to restart xwin after changing this file.

I wonder if it will remember size and position if the lines are commented out?

Yes, I forgot to mention restarting xwin or just reboot to make changes take affect.

And I checked my bionicpup64 and Fossapup64 9.5 jwmrc-personal and neither of them had it so it probably would work "commented out" as well.


Re: Minor Annoyance, Firefox is not remembering previous position (Solved)

Posted: Sun Mar 05, 2023 4:51 pm
by Jinx

Firefox opens in a "cascade" position offset from the top left corner without any command.Your "centered" choice better for browsing.

Glad you posted since I looked in vain for why Firefox was always full screen.


Re: Minor Annoyance, Firefox is not remembering previous position (Solved)

Posted: Sun Mar 19, 2023 4:57 am
by iarda1

thanks for the clue :thumbup2:


Re: Minor Annoyance, Firefox is not remembering previous position (Solved)

Posted: Wed Apr 05, 2023 7:03 am
by MochiMoppel
Jinx wrote: Sun Mar 05, 2023 4:51 pm

Firefox opens in a "cascade" position offset from the top left corner without any command.Your "centered" choice better for browsing.
Glad you posted since I looked in vain for why Firefox was always full screen.

@Jinx I see no reason for the "centered" choice - unless you really like it this way. Your Firefox opens in a "cascade" position because you most likely haven't changed the Firefox setting to "Open previous windows and tabs" (Settings -> General -> Startup) as @Overdrive5 mentioned in his initial post. If you do that Firefox will open with size and position of previous session.


Re: Minor Annoyance, Firefox is not remembering previous position (Solved)

Posted: Wed Apr 05, 2023 1:41 pm
by Jinx

It is a purely personal choice and centered seems to remember the last browser window size. Everyone should pick what suits them and @Overdrive5 has given us a way to make that choice.

My choice for Firefox is to clear all history but passwords when closed - certainly not remember tabs.


Re: Minor Annoyance, Firefox is not remembering previous position (Solved)

Posted: Wed Apr 05, 2023 2:02 pm
by mikewalsh
Jinx wrote: Sun Mar 05, 2023 4:51 pm

Firefox opens in a "cascade" position offset from the top left corner without any command.Your "centered" choice better for browsing.

Glad you posted since I looked in vain for why Firefox was always full screen.

@Jinx :-

Actually, that "cascade" positioning is entirely due to the way Joe Wingbermuehle wrote JWM to work. As far back as I can remember, this just seems to be one of the 'features' of how JWM functions.....

Don't ask me why. Or it could be summat to do with "X" itself. MochiMoppel may know; he understands JWM a lot better than I do. I really couldn't say with any degree of authority. You just get used to it.

Mike. ;)