what has replaced dconf-tools for Ubuntu 20.04

This strikes me as a bit chaotic, but I'm new to Ubuntu. I want to have the option to restore open apps when I shut down or logout of Ubuntu 20.04. As usual, I did a search, and found two articles that said basically the same thing: "use dconf-tools for this" (HTG article, LinOxide article).

Attempting to install this tool with apt, I learn that the dconf-tools package is not available. OK - so something's there to replace it - right? "Maybe not" is the answer here; the author of that answer indicates it "never worked well"? It was also suggested that Window Session Manager was good & well-maintained... but then he also said the entire concept never worked well?! Another Q&A suggested that dconf-tools had a replacement in dconf-cli - except that was for use as a dependency in another package, so...?

Also - quick search through the Ubuntu Software app shows there is an app called Dconf Editor, but its description is so terse as to be useless.

Since I've not seen anything for 20.04, I thought it was worth asking the question again: How to restore open windows and apps from my last session? Or, what has replaced dconf-tools?


Solution 1:

The package dconf-tools was most recently a transitional package which had the dependencies dconf-cli and dconf-editor so all you have to do is install those two packages:

sudo add-apt-repository universe
sudo apt update
sudo apt install dconf-cli dconf-editor

as dconf-editor is the one referred to in the HTG article.

Additionally, it's provided by the Universe repository which is supposed to be enabled by default but just in case I added an extra command to ensure this.

Solution 2:

There's no org.gnome.gnome-session config option anymore.You have to install the extension Window Session Manager.

An indicator that let's you save and restore your open apps and the window positions and arrangements over multiple real and virtual displays. Requires lwsm and nodejs to be installed (npm install -g linux-window-session-manager).