To install the Unity desktop on Ubuntu, you can run sudo apt install unity in a terminal, then select Unity at the login screen. This guide covers the full process, from enabling the necessary repositories to troubleshooting common issues, and explains what Unity is and how it compares to GNOME.
What Is Unity Desktop?
Unity is a desktop environment originally developed by Canonical for Ubuntu. It was the default interface from Ubuntu 11.04 (2011) through 17.04 (2017), known for its launcher bar on the left, the global menu at the top of the screen, and the HUD (Head-Up Display) that lets you search menu items by typing. After Canonical switched to GNOME in 2017, Unity was discontinued as an official flavor, but it remains available in Ubuntu’s repositories for users who prefer its workflow.
Before You Install
Unity is still packaged for current Ubuntu releases (as of 2024, it works on 22.04 LTS and 24.04 LTS), but it is not as actively maintained as GNOME. Before installing, consider:
- Your graphics driver: Unity uses Compiz for window effects, which needs a working GPU driver. If you have an NVIDIA card, install the proprietary driver first.
- Disk space: The install pulls in several hundred MB of packages. Make sure you have at least 2 GB free.
- Backup: While installing a desktop environment rarely breaks anything, it’s good practice to back up important files.
Installation Steps
- Open a terminal (Ctrl+Alt+T).
- Update your package list:
sudo apt update - Install Unity and its recommended components:
sudo apt install unity - Optionally, install the Unity Tweak Tool for customization:
sudo apt install unity-tweak-tool - Log out. At the login screen, click the gear icon next to your name and select “Unity” as the session.
- Log in. You should see the Unity launcher on the left.
If you don’t see Unity in the session list, try installing the unity-session package: sudo apt install unity-session
How to Switch Between Unity and GNOME
You don’t have to uninstall anything to switch. At the login screen, choose your session (Unity or Ubuntu/GNOME) from the gear menu. Your settings and files remain intact in both environments. To make Unity the default for all users, you can set the session in the login manager configuration, but it’s easier to just pick it each time.
Common Problems and Fixes
- No Unity option at login: Install
unity-sessionand reboot. - Black screen after selecting Unity: This is often a graphics driver issue. Try installing
nvidia-driver-535(for NVIDIA) or the open-sourcemesa-utilsfor AMD/Intel. - Launcher doesn’t appear: Press Super (Windows key) to toggle the launcher. If it still doesn’t show, run
unity --reset-iconsin a terminal. - Unity is slow: Disable some visual effects in the Tweak Tool, or install
compizconfig-settings-managerand reduce animations. - After upgrade, Unity is gone: If you upgraded Ubuntu and Unity disappeared, reinstall it with the commands above.
Unity vs. GNOME: Which Should You Choose?
Unity and GNOME are both modern desktops, but they differ significantly:
- Launcher vs. Dock: Unity’s launcher is always visible on the left (unless hidden). GNOME’s dock is hidden by default and appears when you press Super.
- Global menu: Unity puts the application menu at the top of the screen, saving vertical space. GNOME keeps menus inside each window.
- Workspaces: Unity uses a horizontal workspace switcher; GNOME uses a vertical one with a different overlay.
- HUD: Unity’s HUD (press Alt) lets you type a menu command like “save as” and it executes it. GNOME has no direct equivalent.
If you miss the classic Ubuntu feel, Unity is the closest you’ll get. If you prefer a more modern, streamlined interface, stick with GNOME.
Is Unity Safe and Supported?
Unity is open-source software, and the packages in Ubuntu’s repositories receive security updates as long as the release is supported. However, Unity itself is no longer developed by Canonical, so new features are unlikely. It is generally safe to use, but you may encounter minor bugs that won’t be fixed. For a more actively maintained classic-style desktop, consider MATE or Xfce instead.
Alternatives to Unity
- MATE: A continuation of GNOME 2, very similar to Unity in layout but lighter.
- Xfce: Lightweight and customizable, good for older hardware.
- KDE Plasma: Feature-rich and highly customizable, with a more traditional Windows-like layout.
- Cinnamon: The default in Linux Mint, similar to GNOME but with a more classic taskbar.
Frequently Asked Questions
Does Unity work on Ubuntu 24.04?
Yes, Unity is available in the Ubuntu 24.04 repositories and works, though it may not be as polished as on older releases. The installation steps are the same.
Will installing Unity break my current desktop?
No. It installs alongside your existing desktop, and you choose which one to use at login. Your files and settings are untouched.
Can I remove Unity later?
Yes. Run sudo apt purge unity unity-session and then sudo apt autoremove to clean up. This will not affect your other desktop environments.
Why is Unity not in the default Ubuntu installation?
Canonical dropped Unity in 2017 to focus on GNOME, which they felt was more aligned with the future of the platform. Unity was also costly to maintain.
Is Unity lighter than GNOME?
In practice, Unity uses more memory than GNOME because of Compiz and the launcher. If you have limited RAM, consider MATE or Xfce instead.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Text Cursor Turning White in Windows 11
- Force Quit Non-Responding Apps on Mac: 6 Ways
- Chromebook Not Charging? Fix It Fast
- iPhone Won’t Make Calls but Texts Work? Fixes
- Android to iPhone Hotspot: Connect & Fix Issues
- How to Auto-Enable Low Power Mode on iPhone