Is there a way to export dconf settings by reading some .config/dconf/
tree from another user (say, user2
), instead of the current user1
?
I have a problem whereby I cannot log into a Gnome session with user2
, and I found the culprit is something in its .config/dconf/
. Evidently, I cannot export settings for user2
since I cannot login (unless logging in via terminal and exporting ensures a proper result).
To be able to login again, I apply the solution here whereby user2
homedir is backed up into user2bkp
.
Then to debug the problem, I mean to log in with user1
, export all settings in /home/user2bkp/.config/dconf/
, and try finding the culprit with a gradual incorporation of customizations and settings into the recreated /home/user2/.config/dconf/
.
(Note: It is very tedious since I have to continuously log out and log in).
In addition to this question, I would need to find out all settings that were changed from the default, but that's another issue.
The root problem is described in Gnome shell does not work with one user, but it works with a newly created one.
Related:
gsettings list-recursively
ordconf dump /
as another user viadbus-launch
- see for example How to run gsettings for another user Ubuntu 18.04.2 LTS or How to fetch the proxy configuration of the root and other users with GSettings cmd/home/user2/.config/dconf/
would not correspond to any user, but it would be a backup from my (user1
) broken state, prior to recreating a clean home dir for me. I guess the answers would then not apply. So I would rather post a separate question, instead of altering this one.