Jammy Jellyfish, Ubuntu 22.04

Jammy Jellyfish (Ubuntu 22.04) just got released on April 21, 2022. While it has a some wonderful additions12, it just feels like a few minor tweaks can smooth out the issues faced immediately after installation.

The approaches mentioned below are sourced from a collection of resources across the internet. The main articles are appropriately referenced and cited. Let’s get started now!

1. Upgrade and Update

First off, let’s update and upgrade all the packages.

sudo apt-get update
sudo apt-get upgrade

2. Clean the System Installations

The next step would be to check for packages which were installed and are not required any longer. This can be done using the autoremove command.

sudo apt autoremove

3. Fix Firefox Slow Start

One thing that might instantly stand out is the extremely long start time of the Firefox snap installation. Ubuntu 22.04 comes with a default snap instance of Firefox instead of the traditional deb package. In order to circumvent this problem, we could uninstall the snap and install the deb package. The following guide to install Firefox deb is sourced from OMG Ubuntu3.

Remove the Firefox snap:

sudo snap remove firefox

Add the Firefox PPA:

 sudo add-apt-repository ppa:mozillateam/ppa

And make the PPA as the preferred package for Firefox:

echo '
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
' | sudo tee /etc/apt/preferences.d/mozilla-firefox

[Optional] Make Firefox update automatic:

echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox

Install Firefox:

sudo apt install firefox

4. Fix Mouse Lag

This problem is not common and does have a tendency to get automatically fixed with time. However, below are the commands that I used to fix the problem, which is sourced from Ask Ubuntu4. Note that each line must be entered separately.

sudo su -
modprobe drm_kms_helper
echo N> /sys/module/drm_kms_helper/parameters/poll
echo "drm_kms_helper" >> /etc/modprobe.d/local.conf
echo 'drm_kms_helper' >> /etc/modules-load.d/local.conf
echo "options drm_kms_helper poll=N" >> /etc/modprobe.d/local.conf

Some other fixes for this issue could be:

  • Slower default mouse pointer speed, which can be fixed in Settings -> Mouse & Touchpad
  • Accessibility Zoom turned on. This can be fixed be fixed using Settings -> Accessibility -> Zoom

With this, some of the most common issues with Ubuntu 22.04 must have been fixed. 🎉

References