I have installed xfce on ubuntu 13.10, but now icons and colors in unity is strange. How to fix?

I wanted to install XUbunutu looks on my Ubuntu machine and I have done it like so:

sudo apt-get install xubuntu-desktop

But now when I have restarted the machine, I first got xUbuntu log-out scree. WHen I got back to the login screen, I got Xfce (xubuntu) login screen, and even I login to the unity, I have xfce icons set up and the colors of the menu. Like this enter image description here

What I would like is to have a Ubuntu like login screen, and the ubuntu looks when I login to ubunty (unity) and not some mixed xfce-ubunty experience.

I have tried

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

and

dconf reset -f /org/compiz/

unity --reset-icons

But it didn't work.

Can someone help me how to return the original Ubuntu looks when I get to the login screen and when I login to unity UI ?


What seems to have happened is that XFCE have changed some settings on your system, as such, your Ubuntu looks the way it does. You're going to have to reset some of these settings back to their defaults by running a few commands.

Reset Icons

gsettings set org.gnome.desktop.interface icon-theme 'ubuntu-mono-dark'

Reset Theme

gsettings set org.gnome.desktop.interface gtk-theme 'Ambiance'
gsettings set org.gnome.desktop.wm.preferences theme 'Ambiance'

Reset Login Screen

sudo dpkg-reconfigure lightdm

The above will fix the looks of the unity. Next is the login screen.

Reset Login Screen

There are two options for this:

First:

Run these commands:

sudo update-alternatives --config default.plymouth

Then choose your ubuntu option: /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth

And then run: sudo update-initramfs -u

Second:

Run in terminal:

sudo dpkg-reconfigure lightdm

After running the second (or even the first option) you will probably NOT see the results just yet. As those scripts are not updating all necessary files, edit the lightdm.config file (thanks to help of this post https://askubuntu.com/a/421322/223469):

sudo gedit /etc/lightdm/lightdm.conf

And change values to (previous value was probably xubuntu):

user-session=ubuntu
greeter-session=unity-greeter

Save and reset.

After those changes the login screen should appear.

All what is left to do is to return loading screen, but so far I haven't managed to do that, but will update once I find the solution