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

Moderator: Forum moderators

Post Reply
Overdrive5
Posts: 29
Joined: Wed Aug 05, 2020 11:48 pm
Been thanked: 4 times

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

Post 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.

Instant Puppy Fan since 2006!

Jinx
Posts: 29
Joined: Sat Oct 08, 2022 6:38 pm
Has thanked: 3 times
Been thanked: 6 times

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

Post 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?

Overdrive5
Posts: 29
Joined: Wed Aug 05, 2020 11:48 pm
Been thanked: 4 times

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

Post 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.

Instant Puppy Fan since 2006!

Jinx
Posts: 29
Joined: Sat Oct 08, 2022 6:38 pm
Has thanked: 3 times
Been thanked: 6 times

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

Post 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.

User avatar
iarda1
Posts: 18
Joined: Wed Jul 15, 2020 5:37 am
Location: Bèarn council
Has thanked: 5 times
Been thanked: 1 time

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

Post by iarda1 »

thanks for the clue :thumbup2:

Try to use F96-CE non co-existing with any, without compressed and depressed redundancies, not 'frugally' forced.

User avatar
MochiMoppel
Posts: 1105
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 352 times

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

Post 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.

Jinx
Posts: 29
Joined: Sat Oct 08, 2022 6:38 pm
Has thanked: 3 times
Been thanked: 6 times

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

Post 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.

User avatar
mikewalsh
Moderator
Posts: 5547
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 564 times
Been thanked: 1670 times

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

Post 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. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

Post Reply

Return to “F96-CE”