Fun fact 3: in 2020 Logging out of GNOME/KDE/XFCE and others doesn't gracefully shutdown Firefox. It just crashes it so that any time you log out or reboot, the next time you start firefox you will get a warning that your browser crashed and it will attempt to recover the previous session.

Recently, after many, many years, Firefox finally addressed this, not by fixing the problem, but by making the Linux version of Firefox not show a warning message after a crash (it still crashes though). This has the effect of making it impossible to configure Firefox not to remember your tabs. The option is there, but it doesn't work unless you close Firefox before logging out every time. Genius.

@a_breakin_glass crashing instead of cleanly shutting down. the pinnacle of reasonable

@animeirl Last time that happened to me (two or three weeks ago), FF remembered my tabs and offered me to recover the previous session.

@josemanuel I don't think you read my post completely? That's exactly what's not supposed to happen. Logging out should not crash your web browser lmao

@animeirl I didn't log out. Someone switched off the computer. The thing is, I think FF did the right thing, that is, remember my session.

In my opinion, what is wrong is to log out without manually closing all your programs. Why should your DE make assumptions on the contrary? I don't get it.

@josemanuel This sounds like a bad troll, but if you're for real then this mentality is a fantastic example why Linux isn't a mainstream OS. Demanding the user manually close every open program before they click shutdown to avoid the OS hard-crashing all their work is some of the most insanely boneheaded shit I've heard in awhile.

@animeirl I am so for real that I am offended by your assumption.

In any case, starting with “but if you're for real” and then insulting me is much more troll-y than whatever I did say or could have said.

I don't know what you thought I did to deserve it, but I don't really care.

@josemanuel Sorry, but your assertion is just ridiculous, thats why I assumed it was a troll. If I configure both my browser and my desktop environment not to remember my previous session, it should not remember my previous session. It's a pretty basic tenet of interaction design that options are supposed to more or less do what they say they do, as opposed to the complete opposite.

can you fire up a private window instead of the real thing?

to let the browser forget everything on crash.

@zem wouldn't work since it's run by a different user and isn't synchronous with the logout process (e.g it needs to be guaranteed to happen before the logout completes and block the actual logout until it does). Equally importantly, I'm not gonna be arsed to write shell scripts for such basic functionality. If your desktop environment can't even handle logout right, why should I take it seriously? Desktop Linux is a toy, not a viable workstation.

i honestly never thought about keeping apps open as I am happy not to find myself in a long lasting questionaire each time I shut down.

@zem in professional operating systems there is no questionnaire unless there is unsaved data. When logging out or shutting down the session manager should simply send SIGTERM to any applications running in the session (presumably with a timeout in case some applications misbehave). The machine-global init system on linux (systemd, runit, and so on) is able to handle this quite gracefully when doing a whole system shut down/reboot (which is good since you'd otherwise be losing data and having to run fsck every reboot lol) but this basic functionality is apparently too difficult for the developers of gdm/kdm/etc

Sign in to participate in the conversation

We love to post!