How to Install Unity Desktop Environment on Ubuntu 20.04 LTS
This tutorial shows you how to install Unity Desktop on Ubuntu 20.04 LTS. We will also restore the nice-looking Unity login screen, in case you don’t like the GNOME login screen. I personally don’t like GNOME. Here’s why.
- There’s too much movement when switching between programs, which is distracting.
- GNOME is trying to remove functionalities that I love to use over the years.
- If you insert a USB stick, the icon is shown on the desktop. You need to minimize your current window to access it. In Unity, I can simply click the USB icon in the left launcher bar. I can’t understand why the icons are shown on the desktop when there’s room in the left bar.
- In GNOME, a program’s menu bar isn’t displayed on the top bar, which wastes screen real estate.
- I prefer the window control buttons (minimize, maximize, close) on the left side of title bar because when you click one of three buttons, you are likely to switch to another program, which requires you to click on the left side of the screen.
- Sometimes I want to hide the clock on the top bar so as to focus on my task and not worry about time and deadline. It can be easily done in Unity but difficult to do in GNOME.
GNOME becomes the default desktop environment since Ubuntu 17.10 with some Ubuntu-made modifications. But still, I can’t bring myself to like it. You may argue that users can install extensions to customize the desktop, but I’m not a person who would spend much time modifying appearance when there’s already one desktop environment I like out of the box.
Update: The GNOME desktop environment on Ubuntu 20.10 improved a lot in both appearance and functionality, and performance as well. I’m starting to switch to GNOME, because Unity DE won’t receive any update. Still, I don’t like the vanilla GNOME. You can install the GNOME Tweak tool (sudo apt install gnome-tweaks
) to customize your desktop, like moving the titlebar button to the left and centering new windows.
How to Install Unity Desktop on Ubuntu 20.04 LTS
Open up a terminal window. Then run the following two commands to install Unity 7 desktop from the default software repository.
sudo apt update sudo apt install ubuntu-unity-desktop
This will install a lot of packages. Hit Enter to continue.
During the installation, you will be asked to choose a display manager. You can choose lightdm display manager, which will give you the Unity Login screen. gdm is the default display manager for GNOME desktop.
Once the installation is complete, restart your Ubuntu 20.04 computer.
sudo shutdown -r now
Now you are greeted by Unity login screen. What a warm feeling to have it back!
The default desktop environment is now Unity. You can click the Ubuntu icon to choose another desktop environment if you want to.
If your Ubuntu 20.04 system is upgraded from Ubuntu 19.10 or Ubuntu 18.04 and the login screen was replaced with the one from GNOME desktop, you can restore Unity login screen by running the following command.
sudo dpkg-reconfigure lightdm
And here’s the good old Unity desktop.
Checking Unity Version
You can use the screenfetch
tool to check Unity desktop version.
sudo apt install screenfetch screenfetch
As you can see, we have installed Unity 7.5.0.
You can also acquire Unity version by running the following command.
unity --version
Since we installed Unity, why not install the Unity tweak tool?
sudo apt install unity-tweak-tool
How to Remove GNOME Desktop from Ubuntu 20.04
If you don’t want to keep GNOME on the list of available desktop environments, uninstall it with the following command.
sudo apt remove gnome-shell
Restart Ubuntu 20.04 OS, there will be no GNOME desktop in the login screen options.
Troubleshooting
If your screen is blank after restarting the system, it’s probably because lightdm
didn’t start successfully. You can Press Ctrl+Alt+F2, log into the system, then run the following command to restart lightdm
.
sudo systemctl restart lightm
I hope this tutorial helped you install Unity 7 desktop on Ubuntu 20.04 LTS. As always, if you found this post useful, then subscribe to our free newsletter to get more tips and tricks. Take care 🙂
Thank you for the nice tutorial!
I also miss many Unity features after upgrading to Ubuntu 18.04. In addition, some broken shortcuts are not possible to fix (Alt+Tab+Shift).
In Gnome it’s not possible to overview all windows of one app on full screen. You can either see all opened windows for all apps with Activities or overview windows for on app in one row/column. The last is not enough for me because I’m used to having more than 5-10 browser windows. Each for a different topic.
And…. enjoy broken ambiance theme, double titlebar, beause of GNOME thing
Hmmm, I was happy when I read this and thought it was something new… But I kept using Unity throughout the whole time and 7.5.0 is the actual version I had all along.
Thanks. I accidentally at one point installed Unity trying to install Unity 3d, but it was worth it. Just wanna throw out there that I had an issue with not being able to install apps because I didn’t have that “unity-lens-applications” package or w/e it is. This article came up a few times when I was trying to find a solution. Just wanted to throw out that solution in case it helps someone.
Nice site though, really dig the content.
Thanks for the article.
Why do you suggest switching to lightDM as display manager? Would you be missing anything if you use the standard GDM?
Because LightDM automatically selects the username, so I can immediately type the password when the login screen shows up.
Thank you! Thank You! I like Unity soooo much better than gnome.
Works great so far on my old repurposed iMac w/ Ubu 20.04
I’m so happy to have Unity back! It feels like I’m back home!
Besides, I’m also using Wine, which allows to run many Windows programs under Linux. With Unity, it means that the system tray icons are also back! Therefore these Windows programs are happy! (like weather widgets that continuously display the temperature on the system tray)
*BIG* Thanks!!!
I followed the steps on a fresh install of Ubuntu 20.04. However the Unity screen is unresponsive. I see the mouse cursor move but it ignores any clicks and does not respond to the keyboard either
Great. Thanks. Works exactly like advised
Great article!
Will removing the default GNOME environment have any repercussions, like broken packages ?