How to Reset Unity and Compiz Settings in Ubuntu

If you keep experimenting with your Ubuntu system you might end up with a messed up Unity and Compiz settings. In this quick tip, we shall see how to reset Unity and Compiz settings in Ubuntu 14.04. In fact it is all about running a couple of commands.

This is an old article written for Ubuntu 14.04. The steps may or may not work for Ubuntu 16.04 but it will definitely not work for Ubuntu 18.04.

Reset Unity and Compiz settings in Ubuntu

First of all, install dconf-tools using the following command in terminal (Ctl+Alt+T):

sudo apt-get install dconf-tools

Then use the following command to reset compiz:

dconf reset -f /org/compiz/

When you have reset compiz, restart Unity:

setsid unity

Optionally, if you want to reset Unity to the default launcher icons, try the command below:

unity --reset-icons

Possible troubleshoot:

If you encounter an error like this while resetting the compiz:

error: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code17: Cannot open dconf database: invalid gvdb header

The possible reason is that user file has messed up. Make a back up of dconf config and remove the config file:

mv ~/.config/dconf/ ~/.config/dconf.bak

I hope this quick tip helped you to reset Unity and compiz in Ubuntu. Any questions or suggestions are always welcomed.

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

It's FOSS

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.