You are not logged in.

#1 2012-03-06 13:32:27

Nicoco
Member
Registered: 2007-12-25
Posts: 19

How to disable firefox session restore permanently ?

Hello,

Every time I open firefox it restores all the tabs I have when I last quit it, which annoys me a lot.
I found that I had to change browser.sessionstore.resume_session_once in about:config to false to change this behaviour.

But for a reason I cannot find, its value is always restored to true every time I log out and log in.

What can cause this ?

I don't use any fancy extensions.

Thanks for your help

Offline

#2 2012-03-06 15:02:15

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: How to disable firefox session restore permanently ?

Edit -> Preferences -> General -> 'When Firefox starts:'.  Select something other than 'Show my windows and tabs from last time'.

Restoring the session is not default behaviour.  The first time you close ff with multiple tabs open you get a pop-up which allows you to enable it.

That about:config entry is probably meant to be used when you opt to restart ff after installing an add-on or the like.

Last edited by alphaniner (2012-03-06 15:10:10)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2012-03-06 15:08:52

Nicoco
Member
Registered: 2007-12-25
Posts: 19

Re: How to disable firefox session restore permanently ?

It's already set to "Show home page"

Offline

#4 2012-03-06 15:15:39

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: How to disable firefox session restore permanently ?

Then I guess your profile is borked.  My browser is set to 'Show my windows and tabs from last time' and that about:config entry is false.

Maybe you could try setting it to 'Show my windows and tabs from last time' then reseting it to 'Show home page'.  Otherwise the mozilla forums would be the best resource.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2012-03-07 12:58:35

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

Re: How to disable firefox session restore permanently ?

Open firefox go to home page check the general settings in firefox preferences the top one gives you a choice one them is open home page. under that should be the home page address then 3 buttons press restore to defaults. Re enter your home page that should be it. No need to  play in about:config unless you really know what you are doing


I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.

Offline

#6 2012-03-10 10:25:09

Nicoco
Member
Registered: 2007-12-25
Posts: 19

Re: How to disable firefox session restore permanently ?

Thanks for your answers, but firefox just doesn't want to save this setting.
Even now that I've selected "blank page" in the settings dialog box, all my tabs are restored.
This is really annoying sad

Offline

#7 2012-03-10 11:41:47

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: How to disable firefox session restore permanently ?

Firefox profiles seem a bit jammy. I've had sites refuse to load correctly due to corrupt profiles (probably my fault for spamming sqlite3 "vacuum").

# Create a new profile to eliminate the possibility of corruption
# If the issue really is the profile; export your old bookmarks/passwords(?) and prepare to re-download a bunch of addons, fun times.
firefox -ProfileManager

Last edited by Earnestly (2012-03-10 11:44:08)

Offline

#8 2012-03-26 17:36:47

Nicoco
Member
Registered: 2007-12-25
Posts: 19

Re: How to disable firefox session restore permanently ?

After a while, I finally decided to create a new profile... and it still doesn't work.
I don't want to switch to chromium, but this is sooooooooooooo annoying (I usually have 35 tabs opened, and when I close firefox, I DO NOT want to see them again !
:'(

Offline

#9 2012-03-26 18:21:41

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: How to disable firefox session restore permanently ?

Try opening a second firefox window, then close the one with all the tabs, then close the new one.  It's a sorry workaround at best, but if it works it will be better than nothing.

Also, did you ever start a thread over at the mozilla forums?  I had some obscure issues a while back and found them to be quite helpful.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#10 2012-03-26 19:33:01

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: How to disable firefox session restore permanently ?

Apart from asking on Mozilla forums, which may be the best course of action, you could try one of the session manager add-ons. I know they're meant to do the opposite of what you want, but they may have an option that forces ffx to do what you want.


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#11 2012-03-26 19:58:07

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: How to disable firefox session restore permanently ?

This sounds promising:
In about:config, set both 'browser.sessionstore.max_tabs_undo' and 'browser.sessionstore.max_windows_undo' to 0.

http://kb.mozillazine.org/Browser.sessi … _tabs_undo
http://kb.mozillazine.org/Browser.sessi … ndows_undo

Edit: spelling typo.

Last edited by thisoldman (2012-03-26 19:59:02)

Offline

#12 2012-03-27 11:01:02

Nicoco
Member
Registered: 2007-12-25
Posts: 19

Re: How to disable firefox session restore permanently ?

Last solution didn't work at all.

I decided to :
pacman -R firefox (+addons)
mv ~/.mozilla ~/.mozilla.backup
then reinstall and start a "clean profile"

I was so happy because it seemed to work yesterday. But today, I switch on my PC, launch firefox and ... aaaaaaaaaarrrrrrgggghhhh, 11 tabs open !
WTF !!!

Offline

#13 2012-03-27 12:18:36

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: How to disable firefox session restore permanently ?

You must be doing something very wrong or missing something very obvious tongue

I guess you could try firefox-aurora from the AUR.

Offline

#14 2012-03-27 13:54:30

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: How to disable firefox session restore permanently ?

Do you exit ff manually or is it closed when you log out of the gui?


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

Board footer

Powered by FluxBB