There seems to be some overlap between what firefox does versus what the windows manager, KDE in my case, does.  For some reason the behavior is different if the session is logged out of, if the computer is forced shutdown or if firefox is shut down directly.

Of the three, I prefer to do a forced shutdown as firefox restores the best when I do that.  The only thing it doesn't do is put the firefox windows on the right desktop.

Pretty interesting how far desktop managers and computers have come such that this is a complaint.

On Thu, Feb 6, 2020 at 10:45 PM Ed Greshko <ed.greshko@greshko.com> wrote:
On 2020-02-07 13:17, linux guy wrote:
> Thanks for the tip.    Unfortunately, if I do a normal shutdown, Firefox asks to close all the open windows first, which means they don't automatically reopen upon restart.

If I have 2 firefox windows open, each with 4 open tabs, and I do

qdbus org.kde.ksmserver /KSMServer logout 0 3 3

I get logged out without any prompts to close any windows/tabs of FF.

And when I log back in and start FF my windows/tabs are restored.
I also have it set for KDE to start with a blank session on login.

Oddly?, I don't have "Restore Previous Session" checked as Dave has mentioned.  This option may only
be relevant if one closes FF directly.

--
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org