I am using elementary OS Freya. How to reset elementary OS settings to default without reinstalling, and without using Timeshift?
There is no option like Restore Default Settings under about:
I am using elementary OS Freya. How to reset elementary OS settings to default without reinstalling, and without using Timeshift?
There is no option like Restore Default Settings under about:
You could try to use gsettings
.
First, create a file with all the keys in it:
gsettings list-recursively | grep '^\S*' > keys.txt
then loop through that file and reset each key
while read line; do echo $line; gsettings reset-recursively $line; done <keys.txt
This resets all the settings (hopefully).
Lewis G's approach worked for me on Loki, but needed a bit of tinkering. It also wound up being quite a bit slower than necessary, as gsettings list-recursively repeated a bunch of keys. Here's a one-liner that should do it all. It skips the temp file and runs much faster by removing repeated lines.
for line in `gsettings list-recursively | grep '^\S*' |awk '{ print $1 }' | uniq`; do gsettings reset-recursively $line; done
In System Settings > About there is a button "Restore Default Settings".
This will reset all system gsettings keys. It will not reset settings for apps or delete any of your personal data.
Edit: Ah my mistake. This feature hasn't landed as a stable update yet.