I want to reset all keys in the GSettings to their default values; preferably using a single command, or a simple bash script. How can I get that done?
Ubuntu – How to reset all GSettings key to their default values
command linegsettings
Related Question
- Ubuntu – How to change the default shell for ALL USERS to bash
- Ubuntu – How to read default key value with dconf or gsettings
- Ubuntu – How to dump all the manully altered dconf / gsettings keys
- Ubuntu – How to add element to the gsettings array at the specific location (given by index)
- Ubuntu – Seriously, dconf, gconf, gsettingsā¦ How to save the terminal settings
- Ubuntu – How to run gsettings for another user Ubuntu 18.04.2 LTS
Best Answer
Generally you can reset one key to its default value with
So you might use a bash script to do for all available keys.
Something like (pseudocode):
Look at its man-page for more information: man gsettings