The Secret Command to Reset Ubuntu Desktop to Default Settings:
dconf reset -f /
Reset Unity:
unity --reset
Reset Unity Launcher icons:
unity --reset-icons
Reset Compiz in Ubuntu 11.04 or newer:
gconftool-2 --recursive-unset /apps/compiz-1
gconftool-2 --recursive-unset /apps/compizconfig-1
unity --reset
You can also try:
rm -rf ~/.config/compiz-1/compizconfig/*
Restart Ubuntu’s Unity Without Logging Out :
Option 1:
unity --replace
Option 2:
dconf reset -f /org/compiz/
setsid unity
Reinstall unity :
sudo apt-get -f install && sudo apt-get --reinstall install unity
Edit :
Some other fixes :
export DISPLAY=:0
sudo dconf reset -f /org/compiz/
setsid unity
And :
sudo apt-get install compizconfig-settings-manager
DISPLAY=:0 ccsm &
Reinstall ubuntu desktop as last resort :
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
sudo shutdown -r now
startx
. Might work in your experiments.