How to reset Ubuntu to default settings? (With easy steps)

Resetting Ubuntu To Default Settings 2

Ubuntu, one of the most popular Linux distributions, is known for its ease of use and strong community support. However, like any operating system, it can sometimes experience issues that necessitate resetting its default settings. 

This article will discuss resetting any Ubuntu or Debian-based distribution to its default factory settings without reinstalling Ubuntu using a GUI-based open-source tool called Resetter and a terminal command called dconf.

Why Reset Ubuntu to Default Factory Settings?

Reasons to Reset Ubuntu

There are several reasons why you might want to factory reset your Ubuntu installation:

  1. System errors or crashes due to software conflicts or configuration issues
  2. Malware or virus infections that are difficult to remove
  3. Unwanted software or configurations that clutter your system

Benefits of Resetting Ubuntu

Resetting your Ubuntu system can provide the following benefits:

  1. Restoring system stability and performance
  2. Removing unwanted software and settings
  3. Starting fresh with a clean slate makes it easier to troubleshoot issues

Creating a Backup of Your Data

Before proceeding with the reset, creating a backup of your important data is crucial. This can be done using various backup tools like Deja Dup, Timeshift, or manual file copying.

Here are the steps to follow to Install Resetter to reset Ubuntu

Requirements for Resetter

Before you proceed with the installation, make sure your system meets the following requirements:

  1. Supported Ubuntu versions: Ubuntu 18.04 LTS or later
  2. System requirements: At least 2 GB of RAM and 10 GB of free disk space

Installing Resetter via Terminal

To install Resetter through the Terminal, follow these steps:

1. Add the Resetter repository to your system:

sudo add-apt-repository ppa:resetter/ppa

2. Update your package list:

sudo apt update

3. Install the Resetter package:

sudo apt install resetter

Alternative Installation Methods to install resetter

If you prefer not to use the Terminal, you can also install Resetter using these alternative methods:

  1. Download the Resetter .deb package from the official GitHub page: https://github.com/gaining/Resetter/releases
  2. Install the package using a package manager like GDebi or Software Center.

Using Resetter to Reset Ubuntu to Default Settings

Launching Resetter

After installing Resetter, you can launch it in one of two ways:

  1. Run Resetter from the Terminal by typing: sudo resetter
  2. Access Resetter through the applications menu by searching for “Resetter” and clicking the icon.

 Reset Options in Resetter

Resetter offers two reset options:

  1. Automatic reset: Resets your system to factory defaults by removing all installed packages and settings except those in the official Ubuntu repositories.
  2. Custom reset: This lets you choose which packages and settings to reset.
Resetter Homescreen
Resetter Homescreen

Performing an Automatic Reset

To perform an automatic reset:

  1. Select the “Automatic Reset” option in the Resetter main window.
  2. Confirm your decision by clicking “Yes” in the confirmation dialog.
  3. Wait for the reset process, and reboot your system when prompted.

Performing a Custom Reset

To perform a custom reset:

  1. Select the “Custom Reset” option in the Resetter main window. 
  2. Choose the packages and settings you wish to reset by checking the corresponding boxes.
  3. Confirm your decision by clicking “Yes” in the confirmation dialog.
  4. Wait for the reset process, and reboot your system when prompted.
Resetter Custom Packages
Resetter Custom Packages

Steps to Reset Ubuntu to Default Settings Using the dconf Command

We can easily reset our Ubuntu to default settings using the dconf command. You can check out its man-pages by running the following command in the terminal:

man dconf

Here is how my customized and tweaked Ubuntu desktop looked before resetting to default settings.

My Desktop Before Restoring
My Desktop Before Restoring

To reset Ubuntu to default settings, open your terminal from the menu or use the keyboard shortcut CtrL+Alt+T, and run the following command –

dconf reset -f /

This command will reset your system settings and desktop to factory settings. After running the command, your Ubuntu will revert to default factory settings in a blink of an eye.

Your Ubuntu will look as good as new as mine does. Everything from system settings, wallpaper, dock size, and pinned icons was reverted to factory settings.

Ubuntu Restored To Default Settings
Ubuntu Restored To Default Settings

This command resets all the changes you made to the system UI, like wallpaper, pinned applications, icon themes, screen resolution, fonts, dock, panel applets, system settings, keyboard shortcuts, menu behavior, etc., to default factory settings.

It will not affect any application that you have installed. It won’t affect or delete your downloaded applications or data either. It will only affect only those applications that use dconf like the system settings.

For ease, we have added a GIF below, especially for you. It will help you to understand the entire process pretty easily.

Resetting Ubuntu To Default Settings
Resetting Ubuntu To Default Settings

Bonus

  • You can also use dconf to backup and restore your system settings

Verifying the Reset

Checking the System Settings

After the reset is complete, you can verify that your system has been restored to its default settings by:

  1. Checking the default configurations in the System Settings application.
  2. Ensuring that unwanted software has been removed from the applications menu.

Testing System Stability and Performance

To further confirm that the reset was successful, you can:

  1. Run system diagnostics using built-in tools like System Monitor and Disk Usage Analyzer.
  2. Compare the system’s performance before and after the reset by monitoring resource usage and responsiveness.

Conclusion

In conclusion, this article offers a comprehensive guide on resetting Ubuntu to default settings using Resetter and the dconf command. Remember to backup crucial data before proceeding. Resetting Ubuntu can restore stability, remove unwanted software, and provide a fresh start for troubleshooting. Follow the steps provided to easily reset your system and verify its success.