Score:0

How can I get Ubuntu 20.04 to restore my open windows when I log in again?

ph flag

I'm on Ubuntu 20.04, using the default desktop environment (Gnome 3, I guess?) and when I log out and back in again (or restart the computer, etc.) my open windows are gone.

How can I get Ubuntu to restore my open windows, like Mac OS does, and like other desktop environments (e. g. xfce) do on Linux?

I searched online and found this page, which says to run gnome-session-properties, and then it shows an "Options" tab with a check box that says "Automatically remember running applications when logging out."

When I run gnome-session-properties, that option does not exist:

gnome-session-properties

How do I get this functionality?

pierrely avatar
cn flag
manually with a script that then runs when restarting gnome session using wmctrl -l and doing a lot of work tidying all that up, saving it to a restore file ,periodically updating it in a loop
Score:0
cn flag

Your desktop session will be remembered if you turn your computer of in sleep mode or in hibernation mode rather than shutting it down. Sleep mode keeps your session into RAM and requires a minimum of continued power consumption. Hibernation stores RAM in swap space on the hard drive before fully powering off. Unfortunatelly, hibernation is not enabled by default in Ubuntu because there is quite some hardware where it does not work reliably.

In older versions of Gnome, you could save your "session". When logging in again, applications that were open when you shut down, would be launched again. Because this did not work very well, the feature is not anymore enabled in Gnome.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.