10.8 C
Texas
Melhttp://www.osradar.com
Guru Unix /Linux and GNU supporter

How to Reset Ubuntu to Default Settings

Linux is a rather difficult one, don’t you agree? There are lots of things that a new user has to learn and master. There are lots of things that can go wrong in the way. Take a look at myself when I messed up with an important system function. In this tutorial, let’s take a look how to reset Ubuntu to the default settings.

Why Ubuntu? Because it’s the most popular Linux distro for everyone. It’s quite simple and user-friendly for others. It’s the most popular one as well. Let’s take a look how to reset your Ubuntu.

  • Dconf

There are several flavors of Ubuntu. There are other Ubuntu-based distros as well. The distros that use GTK, GNOME, Xfce4, LXDE, Cinnamon etc. will work in this method. Here, we’ll be using a tool named “Dconf”. This tool resets the current user only but can be used to reset multiple users.

This method will remove every single setting on the user account (icons, apps etc.) so use it only when you need it.

  • Start a terminal.
  • Run the following command:
- Advertisement -
dconf reset -f /
  • Restart your PC.

You’ll reach a completely fresh account without any previous customization available. Dconf resets other apps like file manager, music players etc. You have to manually set your preferred settings again in those apps.

  • Kubuntu + KDE-based distros

Kubuntu is a major flavor of Ubuntu. It uses the KDE Plasma desktop. It’s also quite popular for its polished UI and customizability. The method described before won’t work on KDE as it’s not GTK-based. Instead, you have to follow a different set of instructions.

Like before, this resetting process is also per-user based, meaning it will reset every setting on the current user and can be followed on various user accounts.

  • Start a terminal.
  • Run the following command:
rm -rf .kde/share/config/plasma-*
  • Additionally, you can delete other Plasma files. These are configuration files that stored the corrupted information. Don’t worry; they’ll be recreated.
cd ~/.config

rm plasma*

After you run this command, you’ll start seeing errors on the screen. Quickly head to KDE application icon and restart your system.

It’ll return to the default state of Kubuntu and KDE Plasma desktop.

  • Reinstall the OS

In some serious cases, the operating system becomes so much broken that the above methods won’t work anymore. You have to reinstall the OS completely. It’s the easiest way to restore your system as well.

Thanks to Ubuntu, there’s an inbuilt feature of reinstallation. You won’t have to manually partition & install Ubuntu again. Download Ubuntu, Create a bootable USB flash drive and boot into Ubuntu installation.

When it boots up, select “Install Ubuntu”. Check the options like “Download updates while installing Ubuntu” and “Install third-party software”.

Once you reach the “Installation Type” page, you’ll see the option of reinstalling Ubuntu. This option will keep other files like pictures, documents, music etc. Then, continue the installation. Don’t forget to use the same username as you did before.

Voila! Your OS is completely fresh and free of issues!

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article