I am using ubuntu 18, and need to be able to shutdown the pc, and keep the apps working for the next time I start the pc.
I've tried to allow hibernation and set up the shutdown button to hibernate, when I use it and turn the pc on, everything is closed, no application remain running.
I've tried to switch "save gnome session" on, using the dconf editor, and still, no luck. I turned it on and nothing remains open when I shutdown the machine.
How can I get that results?
Thanks
You can't from a normal Ubuntu since there is no save session as it is deemed a flawed feature and that is was not fixable. So it got removed in 2011: see this and this. But you can by using an extension. You will need this dependency:
and then install Window Session Manager Gnome Shell extension from the Gnome extensions website. From the link: