How to install GNOME 40 on Ubuntu 21.04 Hirsute Hippo

GNOME 40 on Ubuntu 21.04

I've been testing for a few days GNOME 40. I am doing it in USB with Manjaro GNOME persistent storage in which I have changed the branch to use the Unstable option, that is, in which the new packages are added first. I move very comfortable in KDE, and much to blame is the feeling of fluidity and the applications / functions of the desktop, but GNOME is used a lot because it is what Ubuntu and Fedora offer by default. Hirsute hippo stayed in GNOME 3.38, but there is already a way to make the leap.

This tutorial I have found in Linux uprising, where they also explain how to add a dock (spoiler: installing Plank), and from it the most important thing is to add a repository that contains the new GNOME 40 packages. The repository is not official, that is, Canonical or anyone related to the company is behind this, so we have to be especially careful. At this time I am going to do the same as Logix, the author of the article on which I have relied, and advise that we may run into compatibility issues, so it is not recommended to go up in a main team, but in one to test. We will also say how to revert the changes, but that said, what better to try in an installation that we do not depend on.

GNOME 40 on Ubuntu 21.04 with this tutorial

Before continuing, we continue with the warnings, like that DING or the extension for the Ubuntu Dock will not work after updating, and this will mean, for example, that we will not be able to move files from / to the desktop again. Nor will we be able to access the Appearance section of Settings.

If you still want to go ahead, something that I have done on a persistent USB to check that it works, you just have to follow these steps:

  1. We add the shemgp repository, we repeat, an unofficial one:
sudo add-apt-repository ppa:shemgp/gnome-40
  1. We update all packages:
sudo apt update && sudo apt full-upgrade
  1. We install a supported theme from the following two options. Yaru does not work on GNOME 40, so you have to install GNOME Session, which is the Adwaita theme, or a supported Yaru theme.
  • Option A:
sudo apt install gnome-session adwaita-icon-theme-full fonts-cantarell
  • Option B:
sudo apt install git meson sassc libglib2.0-dev libxml2-utils
git clone https://github.com/ubuntu/yaru
cd yaru
meson build
sudo ninja -C build install
  1. We reboot and choose the desired option, such as Yaru session (Wayland).

How to use the new gestures

In my opinion, the best things about GNOME 40, performance aside, are his gestures. Now, with three fingers up, we will see the dock and the activities, that is, the virtual desktops. If we slide a little more up we will see the applications. Once in this view, with three fingers to the left / right we go from one activity to another, while with two fingers we will move through the different pages of apps. For the latter, it is necessary that we have a minimum number of applications installed, at which time the newest ones will appear on another page.

If you do not want to use gestures, and I already tell you that they are fluid even on a computer like my Lenovo that does not have the best touch panel in the world, you can also access all this with the keyboard: the Super (META) key shows us the dock and activities, something that we also get with Super + Alt + Up. I think only the Windows key is more comfortable to enter this view, but if we use Super + Alt + Up again we will enter the application drawer. We can also add right or left to move through the activities.

How to undo the changes

If for whatever reason we want to undo the changes, what we have to do is write these commands:

sudo apt install ppa-purge
sudo ppa-purge ppa:shemgp/gnome-40

If we have updated Yaru, we must also enter the following:

sudo apt install --reinstall yaru-theme-icon yaru-theme-gtk yaru-theme-gnome-shell

GNOME 40 is a major leap in quality, so I think it's worth a try at least. It was rumored that there would be an official way to come up with a backport that they would do, but that hasn't happened yet. If in the end they don't, Ubuntu 21.10 will arrive with an updated version of the desktop, although it is expected to be GNOME 41 already.


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

Be the first to comment

Leave a Comment

Your email address will not be published.

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.