Ubuntu – Unity default settings


Every time I boot in to Ubuntu 14.04.02 64 Bit.I have to run unity-tweak-tool --reset-unity to reset unity to its Defaults. This has happened after I install kubuntu-desktop and logged in
to GNOME session once?Meanwhile I've removed and reinstall ubuntu-desktop and unity

sudo apt-get install --reinstall unity
sudo apt-get install --reinstall ubuntu-desktop

Now if I login to Ubuntu session nothing loads?so I can only log in to GNOME Flash Back compiz session..

Best Answer

Create /etc/xdg/autostart/unity-reset.desktop file, either as root (login with sudo -i) or simply do sudo gedit /etc/xdg/autostart/unity-reset.desktop and put the following information there

[Desktop Entry]
Exec=sh -c 'yes "yes" | unity-tweak-tool --reset-unity'


This way you don't have to run unity reset every time, but it will do it for you