Reset Linux Desktop To Default Settings With A Single Command
A while ago, we shared an article about Resetter – an useful piece of software which is used to reset Ubuntu to factory defaults within few minutes. Using Resetter, anyone can easily reset their Ubuntu system to the state when you installed it in the first time. Today, I stumbled upon a similar thing. No, It’s not an application, but a single-line command to reset your Linux desktop settings, tweaks and customization to default state.
Reset Linux Desktop To Default Settings
This command will reset Ubuntu Unity, Gnome and MATE desktops to the default state. I tested this command on both my Arch Linux MATE desktop and Ubuntu 16.04 Unity desktop. It worked on both systems. I hope it will work on other desktops as well. I don’t have any Linux desktop with GNOME as of writing this, so I couldn’t confirm it. But, I believe it will work on Gnome DE as well.
A word of caution: Please be mindful that this command will reset all customization and tweaks you made in your system, including the pinned applications in the Unity launcher or Dock, desktop panel applets, desktop indicators, your system fonts, GTK themes, Icon themes, monitor resolution, keyboard shortcuts, window button placement, menu and launcher behaviour etc.
Good thing is it will only reset the desktop settings. It won’t affect the other applications that doesn’t use dconf. Also, it won’t delete your personal data.
Now, let us do this. To reset Ubuntu Unity or any other Linux desktop with GNOME/MATE DEs to its default settings, run:
dconf reset -f /
This is my Ubuntu 16.04 LTS desktop before running the above command:
As you see, I have changed the desktop wallpaper and themes.
This is how my Ubuntu 16.04 LTS desktop looks like after running that command:
Look? Now, my Ubuntu desktop has gone to the factory settings.
For more details about “dconf” command, refer man pages.
I personally prefer to use “Resetter” over “dconf” command for this purpose. Because, Resetter provides more options to the users. The users can decide which applications to remove, which applications to keep, whether to keep existing user account or create a new user and many. If you’re too lazy to install Resetter, you can just use this “dconf” command to reset your Linux system to default settings within few minutes.
And, that’s all. Hope this helps. I will be soon here with another useful guide. Stay tuned!
Thanks for stopping by!
Help us to help you:
- Subscribe to our Email Newsletter : Sign Up Now
- Support OSTechNix : Donate Via PayPal
- Download free E-Books and Videos : OSTechNix on TradePub
- Connect with us: Facebook | Twitter | Google Plus | LinkedIn | RSS feeds
Have a Good day!!