Yeah, use my shutdown service. That gets run before the actual shutdown happens, and shuts down Chromium "softly". That way it doesn't even ask you to restore the session, it just does so automatically.
Hm, I just assumed that all Chromiums are the same, but maybe it's because I use ungoogled-chromium? Anyway, it works with the shutdown script now, so I don't care ;)
Okay, so turns out that the systemd service did work; I just must've gotten super unlucky. After some testing I've concluded that it doesn't always work, and that SIGTERM works better than SIGINT. So this is all you need (works for logout, shutdown and reboot):
Chromium doesn't ask, it just closes. But if I shutdown gedit for example, it does ask me if I would like to save any open files before closing. But even then, I can gracefully kill Chromium with pkill -2, I just haven't found a way to run that before shutdown yet.
Hmm, I seem to have the same drive as you but writing is only ~140 MB/s for me (with and without UAS). Can you run this quick benchmark and report your results:
Seagate, I'm using a 4 TB WD Elemtents as a NAS. If you give me one of your drives, the next one is going to be a Seagate as well ;) #RunWithIronWolf #Giveaway
Yeah, use my shutdown service. That gets run before the actual shutdown happens, and shuts down Chromium "softly". That way it doesn't even ask you to restore the session, it just does so automatically.
Hm, I just assumed that all Chromiums are the same, but maybe it's because I use
ungoogled-chromium? Anyway, it works with the shutdown script now, so I don't care ;)I got it to work now. I guess it always kinda worked, I just got unlucky. Check my top comment.
Okay, so turns out that the systemd service did work; I just must've gotten super unlucky. After some testing I've concluded that it doesn't always work, and that
SIGTERMworks better thanSIGINT. So this is all you need (works for logout, shutdown and reboot):Because it's asking to load the previous state from disk. This obviously works, until it doesn't and I lose all my tabs.
Yeah but when you kill the application gracefully, it doesn't ask you to restore the last session. It just loads it.
crash bad
Chromium doesn't ask, it just closes. But if I shutdown gedit for example, it does ask me if I would like to save any open files before closing. But even then, I can gracefully kill Chromium with
pkill -2, I just haven't found a way to run that before shutdown yet.Hmm, I seem to have the same drive as you but writing is only ~140 MB/s for me (with and without UAS). Can you run this quick benchmark and report your results:
I though this was going to be a parody of some sorts because I heard "I'm just a lonely little bitch" at the start lol
Seagate, I'm using a 4 TB WD Elemtents as a NAS. If you give me one of your drives, the next one is going to be a Seagate as well ;) #RunWithIronWolf #Giveaway
End of this list.
Back to top