18
July
2025
Updating LXLE 20.04 "focal" to version 22.04 "jammy", part 2
17:16

Updating LXLE 20.04 "focal" to version 22.04 "jammy", part 2

18 July 2025 17:16

Continued first part of the article. Discussed here
completion of LXLE 20.04 update until 22.04.

Introduction

There is no LXLE 22.04 version because... The developers have not released the 22.04 ISO and are not updating the PPA. I read a comment from one user on distrowatch.com that he successfully updated Linux to version 22.04 "Jammy". This article provides an improved version of the update that eliminates unnecessary packages and dependencies.

Stage 2. Preparing PPA repository configuration files in /etc/apt/sources.list.d for update

2.1 Consideration of the composition of third-party PPA repositories in Linux LXLE

Before upgrading, I decided to remove unnecessary distribution PPAs. (I recommend making a copy of the folder).
Catalog /etc/apt/sources.list.d contains *.list files. The default set of *.list files in LXLE is as follows:

  1. anonbeat-ubuntu-guayadeque-bionic.list
  2. apandada1-ubuntu-blanket-focal.list
  3. apandada1-ubuntu-brightness-controller-bionic.list
  4. appgrid-stable.list
  5. bitseater-ubuntu-ppa-bionic.list
  6. bookworm-team-ubuntu-bookworm-bionic.list
  7. elementary-os-ubuntu-stable-focal.list
  8. kelleyk-ubuntu-compton-bionic.list
  9. landronimirc-ubuntu-skippy-xd-bionic.list
  10. libreoffice-ubuntu-ppa-bionic.list
  11. librewolf.list
  12. linphone-ubuntu-release-bionic.list
  13. linrunner-ubuntu-tlp-bionic.list
  14. linuxuprising-ubuntu-apps-focal.list
  15. lxle-ubuntu-stable-bionic.list
  16. maarten-baert-ubuntu-simplescreenrecorder-bionic.list
  17. maxiberta-ubuntu-system76-scheduler-focal.list
  18. obsproject-ubuntu-obs-studio-focal.list
  19. ozmartian-ubuntu-apps-bionic.list
  20. ozmartian-ubuntu-apps-focal.list
  21. philip_scott-ubuntu-spice-up-daily-bionic.list
  22. phoerious-ubuntu-keepassxc-focal.list
  23. pinta-maintainers-ubuntu-pinta-stable-focal.list
  24. roguescholar-ubuntu-ppa-focal.list
  25. ubuntuhandbook1-ubuntu-apps-focal.list
  26. ubuntu-mate-dev-ubuntu-fresh-mate-focal.list
  27. utappia-ubuntu-stable-bionic.list
  28. videolan-ubuntu-stable-daily-bionic.list
  29. webupd8team-ubuntu-y-ppa-manager-bionic.list
  30. xtradeb-ubuntu-apps-focal.list

For each of them, I learned a description of what the program is for and commands for uninstalling applications (located below the list).

  1. guayadeque - player for audio files for music lovers. You can use the parole media player instead. I'm deleting.
  2. blanket - generator of white noise and sounds of nature - splashing waves, wind noise, . Not needed at the moment. I'm deleting.
  3. ubuntu-brightness-controller - separate and joint adjustment of image channels R, G, B, color temperature and brightness using sliders. I'm deleting.
  4. appgrid- a lightweight application store, a replacement for the heavy Ubuntu Software Center (ubuntu-software package). Left it.
  5. bitseater - weather forecast. Available on FlatHub, called "Meteo" and on Snap (snap install meteo). I'm deleting.
  6. bookworm-team-ubuntu-bookworm-bionic.list - file is empty
  7. elementary-os-ubuntu-stable-focal.list - the file is empty
  8. kelleyk-ubuntu-compton-bionic.list - file is empty
  9. landronimirc-ubuntu-skippy-xd-bionic.list - the file is empty
  10. libreoffice-ubuntu-ppa-bionic.list - for the LibreOffice office suite (text editor, spreadsheet, presentations). I left it, but in the future I will replace the version in it focal на jammy.
  11. librewolf.list - a web browser aimed at privacy (prohibiting the collection of data about user preferences when visiting sites). I'm deleting it because... It will work slowly on this laptop. Instead, I will use the Firefox and Chromium web browsers.
  12. linphone-ubuntu-release-bionic.list - free VoIP (SIP) client that works with Virtual PBX. C. I don’t use Internet telephony. I'm deleting.
  13. linrunner-ubuntu-tlp-bionic.list - TLP Power Manager program for extending laptop battery life. I'm deleting.
  14. linuxuprising-ubuntu-apps-focal.list - a small package of utilities from plugins from future versions of Ubuntu (birthday, vlc-plugin-bittorrent, etc.). I don't use it. I'm deleting.
  15. lxle-ubuntu-stable-bionic.list - can be deleted, because there is no Release file for the LXLE version for OS 22.04 in the repository. The repository is useless.16.maarten-baert-ubuntu-simplescreenrecorder-bionic.list - simple screen recording. I don’t plan to record the screen on this very weak netbook. Deleted.
  16. maxiberta-ubuntu-system76-scheduler-focal.list - a program for multi-core processors to improve multitasking. Deleted.
  17. obsproject-ubuntu-obs-studio-focal.list - video streaming (multimedia that the user continuously receives from the broadcaster to consumers via streaming). I'm deleting.
  18. ozmartian-ubuntu-apps-bionic.list - sample and video transcoding. I'm deleting.
  19. ozmartian-ubuntu-apps-focal.list - the same for OS version 20.04 Focal Fossa. Deleted.
  20. philip_scott-ubuntu-spice-up-daily-bionic.list - SpiceUP program for creating presentations (replacement for LibreOffice Impress). I'm deleting.
  21. phoerious-ubuntu-keepassxc-focal.list - a utility related to the security and storage of GNU PG keys. For keys there is Seahorse. I am providing the keepassxc package.23.pinta-maintainers-ubuntu-pinta-stable-focal.list - drawing program. (It can be installed from different sources. e.g.apt install pinta from the universe repository) Deleting.
  22. roguescholar-ubuntu-ppa-focal.list- system utilities from the author Peter J. Mello (RogueScholar). I left it because... it has the qBittorrent package.
  23. ubuntuhandbook1-ubuntu-apps-focal.list- many useful packages from the online publication Ubuntu Handbook (aom-tools audacious audacious-dev audacious-plugins audacious-plugins-data converseen dav1d gnome-epub-thumbnailer gthumb gthumb-data gthumb-dev heif-gdk-pixbuf heif-thumbnailer highway-doc hugin hugin-data hugin-tools liferea liferea-data luminance-hdr parole parole-dev pithos puddletag vokoscreen-ng x265). I’ll leave it, but I’ll change version 20.04 - 22.04 (see below).
  24. ubuntu-mate-dev-ubuntu-fresh-mate-focal.list - for notifications via system tray pop-ups, contains packages mate-desktop-common mate-notification-daemon mate-notification-daemon-common mate-utils mate-utils-common. (Repository ppa:ubuntu-mate-dev/fresh-mate). The 22.04 version is working. Adding the repository after upgrading to 22.04: sudo add-apt-repository ppa:ubuntu-mate-dev/fresh-mate && sudo apt update && sudo apt install mate-notification-daemon. Instead, you can replace the version of focal-jammy in the ubuntu-mate-dev-ubuntu-fresh-mate-focal.list file after upgrading from 20.04 to 22.04.
  25. utappia-ubuntu-stable-bionic.list - System utilities. I'm keeping them, but I'll be switching between versions 20.04 "focal" and 22.04 "jammy."
  26. videolan-ubuntu-stable-daily-bionic.list~~ - assembly of VLC video player. I don't need it, because... I don’t plan to watch the video on a weak one. But you can leave it.
  27. webupd8team-ubuntu-y-ppa-manager-bionic.list- a small utility "Y PPA Manager" for the convenience of working with PPA repositories (for example, mass renaming of *.list files in the text when migrating to a new OS version). Left it.
  28. xtradeb-ubuntu-apps-focal.list- PPA repository for additional utilities and programs, games. There is support for Jammy 22.04, Noble 24.04, Oracular 24.10, Plucky 25.04. In fact,XtraWeb similar to an application store in DEB format (for Ubuntu, Debian). There are browsers FireFox and Chromium. Left it.

I deleted some of the .list files, renamed some, and excluded some of the APT PPA repositories. Thus, the list of commands for removing packages and repositories is as follows:

cd /etc/apt/sources.list.d
sudo apt remove guayadeque blanket brightness-controller meteo librewolf simplescreenrecorder mate-desktop-common mate-notification-daemon mate-notification-daemon-common mate-utils mate-utils-common spiceup keepassxc pinta
sudo add-apt-repository --remove ppa:anonbeat/guayadeque -y #1
sudo add-apt-repository --remove ppa:apandada1/blanket -y #2
sudo add-apt-repository --remove ppa:apandada1/brightness-controller -y#3
sudo add-apt-repository --remove ppa:bitseater/ppa -y #5
sudo add-apt-repository --remove ppa:linrunner/tlp -y #13
sudo add-apt-repository --remove ppa:linuxuprising/apps -y #14
sudo add-apt-repository --remove ppa:maarten-baert/simplescreenrecorder -y #16
sudo add-apt-repository --remove ppa:philip.scott/spice-up-daily -y #21
sudo add-apt-repository --remove ppa:phoerious/keepassxc -y #22
sudo add-apt-repository --remove ppa:pinta-maintainers/pinta-stable -y #23
sudo rm anonbeat-ubuntu-guayadeque-bionic.list#1
sudo rm apandada1-ubuntu-blanket-focal.list #2
sudo rm apandada1-ubuntu-brightness-controller-bionic.list #3
sudo rm bitseater-ubuntu-ppa-bionic.list #5
sudo rm bookworm-team-ubuntu-bookworm-bionic.list #6
sudo rm elementary-os-ubuntu-stable-focal.list #7
sudo rm kelleyk-ubuntu-compton-bionic.list #8
sudo rm landronimirc-ubuntu-skippy-xd-bionic.list #9
sudo rm librewolf.list #11
sudo rm linphone-ubuntu-release-bionic.list #12
sudo rm linrunner-ubuntu-tlp-bionic.list#13
sudo rm linuxuprising-ubuntu-apps-focal.list #14
sudo rm lxle-ubuntu-stable-bionic.list #15
sudo rm maarten-baert-ubuntu-simplescreenrecorder-bionic.list #16
sudo rm maxiberta-ubuntu-system76-scheduler-focal.list #17
sudo rm obsproject-ubuntu-obs-studio-focal.list #18
sudo rm ozmartian-ubuntu-apps-bionic.list #19
sudo rm ozmartian-ubuntu-apps-focal.list #20
sudo rm philip_scott-ubuntu-spice-up-daily-bionic.list #21
sudo rm phoerious-ubuntu-keepassxc-focal.list #22
sudo rm pinta-maintainers-ubuntu-pinta-stable-focal.list#23

Step 3: Connect to Wi-Fi and update 20.04 packages to their latest versions

sudo apt update
sudo apt upgrade

Stage 4. Upgrade from 20.04 to 22.04 using the "do-release-upgrade" command

sudo do-release-upgrade

When asked about replacing packages, answer all questions accordingly, “y” or “d”, confirming with the Enter key.

Stage 5. Editing PPA repositories - specifying "jammy"

Go to the /etc/apt/sources.list.d directory and use nano to correct the text focal => jammy in all files.

cd /etc/apt/sources.list.d
ls -l *.list

nano appgrid-stable.list
sudo mv libreoffice-ubuntu-ppa-focal.list libreoffice-ubuntu-ppa-jammy.list
nano libreoffice-ubuntu-ppa-jammy.list

Replaced the text focal -> jammy
...
Etc. in all *.list files in the /etc/apt/sources.list.d directory.

Stage 6. Updating operating system packages version 22.04

sudo apt update
sudo apt upgrade

Stage 7. Setting up the time display, updating apt full-upgrade packages, etc., rebooting the PC

In the system line where the watch, right-click on time and select "Set digital clock".
Replace the clock format %r with %H:%M:%S%z %Z (copy the text from the tooltip format to the clock format) and delete %z. Clock format is now %H:%M:%S %Z

Full update of packages, including the kernel:

sudo apt full-upgrade

If screenshots do not work (Start - Accessories - Take Screenshot):

sudo apt install mate-utils mate-utils-common

Removing unused packages and cleaning the system

sudo apt autoremove && sudo apt autoclean

Disabling the casper-md5check.service service (since it is designed to boot from an ISO CD and does not work).

sudo systemctl disable casper-md5check.service
sudo systemctl stop casper-md5check.service
sudo systemctl mask casper-md5check.service

If the Russian keyboard layout has disappeared and switching the En/Ru language does not work

If INET(EVDEV) is displayed when switching the language Alt+Shift, simply configure the applet by right-clicking the flag icon in the corner of the screen. "Configure the keyboard layout handler."
*Uncheck "Save system layouts".*
add Russian language layout**("Add" button)

  • change the order of layouts as required.
  • click "Close".
    layouts
    In this figure, switching using the Ctrl+Shift combination can be changed in the same window by clicking the button labeled "grp:".

Stage 8. Installing additional packages flatpak, xdg-desktop-portal, chromium, firefox

Installing a system to install Flatpak applications

Flatpak applications run in a sandbox, which provides greater security, which is especially important when working on the Internet.

sudo apt update
sudo apt install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Installing the Chromium browser

flatpak install flathub org.chromium.Chromium -y

Installing the Mozilla Firefox web browser from Flatpak

Using FireFox browser from Flatpak:

flatpak install flathub org.mozilla.firefox -y
flatpak install org.freedesktop.Platform.ffmpeg-full

to enable hardware acceleration, in Firefox - about:config

gfx.webrender.all=true
media.ffmpeg.vaapi.enabled=true

Launching FireFox

flatpak run org.mozilla.firefox

If an update is required in the future, run the command after a few days

flatpak update

To have shortcuts for launching Mozilla Firefox and Google Chromium appear in the Start menu - see the article Installing Flatpak and Snap app shortcuts in the LXDE menu.

Installing the xdg-desktop-portal and xdg-utils packages

The xdg-desktop-portal package is designed to open the File - Open menu for access from the Flatpak sandbox to the PC hard drive. The xdg-utils package contains utilities for running command line applications xdg-open filename or xdg-open url Flatpak applications outside the container.
Installation in Ubuntu 22.04 version after installing Flathub is not required, because... The xdg-desktop-portal and xdg-utils packages are present in the system, as evidenced by the output of the commands:

dpkg -s xdg-desktop-portal
dpkg -s xdg-utils

Installing system utilities of the mate-utils package

After updating 20.04 to 22.04, the screenshot does not work according to this scheme. Application is missing mate-screenshot. The solution to the problem is very simple:

sudo apt install mate-utils

This package contains useful utilities:

  • mate-disk-user-analizer - determining the size of disk folders with summary statistics (disk usage analyzer)
  • mate-dictionary - "MATE Dictionary" - a program for quickly determining the meaning of English words via the Internet
  • mate-search-tool - in the main menu "Start" - "Search". search for files by file name or file content. File Search program mate-search-tool replaces catfish. You can also install and use a different program to search for files: "searchmonkey" (sudo apt install searchmonkey), which has 5 stars on https://sourceforge.net.
  • mate-system-log - view logs auth.log, boot, ... debug, dmesg, dpkg, gufw, ..., kern
  • mate-screenshot - a utility for creating screenshots and saving them to files on disk ("Start" - "Accessories" - "Take a screenshot").

Installing the gnome-disks disk management utility

I like the Disks utility (the gnome-disks external command from the gnome-disk-utility package).

It is intended for:

  • Formatting and partitioning disks
  • Mounting and unmounting volumes
  • Query S.M.A.R.T attributes.

    sudo apt install gnome-disk-utility

The Disks program will be added to the Start - Accessories menu.

Measuring operating system startup time, RAM consumption

A laptop with a regular hard drive.

OS OS startup time, minutes:seconds
LXLE 20.04 immediately after installation 1:25
LXLE 20.04 after package updates 1:38
LXLE 22.04 after updating 20.04 to 22.04 working OS (no preparation was made!) 2:50
LXLE 22.04 immediately after updating 20.04 to 22.04 OS according to these instructions (cleaning the OS and then updating) 1:50
LXLE 22.04 after installing browsers from Flatpak and Snap 3:10
LXLE 22.04 after removal sudo apt purge chromium-browser snapd && rm ~/.local/share/applications/chromium_chromium.desktop 1:52

Thus, snapd greatly slows down the startup of the OS, and deleting snap applications has a very positive effect on the startup time of the operating system.

LXLE desktop appearance

desktop

LXLE RAM usage

RAM usage by the LXLE 22.04 operating system when idle after following these instructions:373 MB(from 8 GB).

ram_usage

(If you remove the snapd package, RAM consumption drops to 335 MB).

Creating Shortcuts to Third-Party Flatpak Applications in the LXDE Menu

See article Installing Flatpak and Snap app shortcuts in the LXDE menu.

Measuring application launch speed

For measuring the launch speed of web browsers, see next article - "Measuring the startup speed of web browsers on Linux".



Related publications