Ubuntu: How enable Unity again?



Question:

After installing Ubuntu 14.04 I installed compizconfig-settings-manager. Then I made a mistake and disabled the unity plugin. After that unity (the dash and panel ...) are gone.

I can't even run the terminal now.

What should I do? How can I restore or reset it?


Solution:1

Solved!

I had a link to home folder on my desktop. So I opened it and I went to /usr/bin/ from location bar. Then I started gnome-terminal.

In terminal I opened ccsm (compiz config manager) and enabled Unity Plugin again.

And now it works normally!!

What an awful weakness this is for a desktop OS, isn't it?

Shouldn't it have a default thing for these situations to run (automatically)?


Solution:2

To get started, press Ctrl+Alt+T to open a terminal window if it didn't work restart and press crtl+i when ubuntu is loading and from there do this steps. When it opens, run below command to reset Unity and Compiz settings:

dconf reset -f /org/compiz/  

After running previous command, you need to run blow command to restart Unity.

setsid unity  reset unity  

To get back the default set of Unity Launcher icons, run below command and then log out and back in.

unity --reset-icons  

If you want to restore default icon theme, use Unity Tweak Tool which is available in Ubuntu Software Center.


Solution:3

  1. I've sshed from my host into ubuntu running via vmware.
  2. Changed directory to ~/Desktop. Made ln -s ~/ to create symbolic link for home folder.
  3. Then I've opened folder, found terminal application. Started ccsm and turned on plugin again.


Solution:4

I spent several hours, but finally got it to work. Ubuntu 14.04 Desktop, Nvidia card: FX 3800

First, do Ctrl+Alt+F1 and login with your username and password

sudo stop lightdm

remove your nvidia drivers and use your nouveau driver

sudo apt-get remove --purge nvidia*

sudo apt-get purge nvidia*

sudo apt-get install xserver-xorg-video-nouveau sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf_bkup

now install unity-tweak-tool since unity -reset is deprecated

sudo apt-get install unity-tweak-tool

sudo apt-get install -reinstall xserver-xorg-core libgl1-mesa-glx

nvidia drivers have some dependencies with ubuntu-desktop, I also did:

sudo apt-get install ubuntu-desktop

and reboot

sudo reboot now

now do again ctrl+alt+F1 and login

up to this point, some of the steps that are similar to other posts on this #issue ... but when I tried reset unity from shell:

unity-tweak-tool --reset-unity

I received this error:

error: Cannot autolaunch D-Bus without X11 $DISPLAY

which I could not get around it, so

I install gnome-desktop, which worked (could see the desktop icons)

sudo apt-get update sudo apt-get upgrade sudo apt-get install gnome-shell
sudo apt-get install ubuntu-gnome-desktop

now reboot and login, you will see a small circle icon on the right top side #of the username box, click on it and a menu will allow you select gnome, #(ubuntu unity is defaulted)

finally, once in gnome, open a terminal ctrl+alt+T and do

sudo dpkg-reconfigure xserver-xorg

sudo reboot

login to gnome again and open a terminal

setsid unity

reset unity

unity --reset-icons

dconf reset -f /org/compiz

unity-tweak-tool --reset-unity

this last step above will overlay unity on top of gnome enviroment but voila, now reboot and login to ubuntu unity and it should work, this did the trick for me:). The gnome unity overlay will disapear next time you login to gnome too. Maybe some of the steps above are not necessary but they didn't hurt either. How I got into this mess to begin with? Trying to install cuda toolkit. Hope this helps!


Solution:5

I had the same problem. I just had to remove my Nvidia graphic card with this command after switching to ttyl with Ctrl + alt + F1

Sudo apt-get remove  --purge nvidia*  Sudo apt-get purge nvidia*  

And I install nouveau which happens to be the default graphic card.

sudo apt-get install xserver-xorg-video-nouveau  Sudo reboot to restart  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »