This simple tutorial shows how to increase or decrease the touchpad 2-finger scrolling speed in Ubuntu 22.04, Ubuntu 24.04 with default GNOME on Wayland session.

GNOME, the default desktop for Ubuntu, Fedora, and optional in many other Linux, so far lacks option to configure the mouse/touchpad scroll speed.

For Ubuntu 20.04, Ubuntu 18.04, and other Linux with GNOME on classic Xorg, there’s a command line tool imwheel available to do the job. And, here’s a step by step guide show you how.

For Ubuntu 22.04 and higher and other Linux with GNOME Wayland, this tutorial may help by settings virtual touchpad size.

IMPORTANT: This tutorial is tested and works in Ubuntu 24.04 & 22.04 on my old HP & ASUS laptop. However, some users report it does NOT work. Don’t do it on production machine!

Step 1: Measure & Set virtual touchpad size

1. First, open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching from ‘Activities’ overview screen.

2. When terminal opens, run command to install ‘libinput-tools’ package in case you don’t have it:

sudo apt install libinput-tools

3. Next, run command to tell your touchpad size (width and height in mm):

sudo libinput measure touchpad-size 100x100

As the screenshot shows, may laptop has touchpad with 114.6 mm width and 48.4 mm height. Once you got the value, press Ctrl+C to exit.

4. Finally, re-run the command in step 3, but with different args. For example, use 172×73 for 1.5x scroll speed (Here 172 ≈ 114.6 x 1.5, and 73 ≈ 48.4 x 1.5), run command:

sudo libinput measure touchpad-size 172x73

Or use 92×39 for 0.8x scroll-speed (92 ≈ 114.6 x 0.8, 39 ≈ 48.4 x 0.8):

sudo libinput measure touchpad-size 92x39

NOTE: You have to change the “width x height” number in command. Depends on your need to either increase or decrease scroll-speed, calculate them according the original size of your touchpad!!

Once you hit run the command, follow the terminal output to “Move one finger along all edges of the touchpad until the detected axis range stops changing.  You’ll see the little ‘0’ in the terminal output moves correspondingly when you moving finger on touchpad.

5. When done, press Ctrl+C to stop it. And, you should get similar output as the screenshot shows, if you’ve done correctly.

And, you need to copy the lines between the 2 “-8<————–” lines (in my case, the section with white background).

Step 2: Apply Changes

1. Now, open terminal (Ctrl+Alt+T) and run command to edit the config file:

sudo gedit /etc/udev/hwdb.d/61-evdev-local.hwdb

Replace gedit in command with gnome-text-editor for Ubuntu 24.04 and Fedora, or use nano instead that works in all desktops.

When file opens, paste the lines you just copied in ‘Step 1’ and save it.

2. Finally, update hardware database by running command:

sudo systemd-hwdb update

And, reload udev rules by running command:

sudo udevadm trigger /dev/input/event*

When everything’s done. Restart your computer to see the effect!

As the steps above also increase or decrease the cursor movement speed, you may also need to open “Settings -> Mouse & Touchpad” and adjust ‘Touchpad Speed’ slider-bar.

How to Restore

To undo the changes you made via the previous steps, first open terminal (Ctrl+Alt+T) and run command to delete the config file:

sudo rm /etc/udev/hwdb.d/61-evdev-local.hwdb

Then update database and reload udev rules by running 2 commands one by one:

sudo systemd-hwdb update
sudo udevadm trigger /dev/input/event*

Finally, restart your computer and done.

via: reddit thread.

For those who prefer the classic .deb package format, I’ve revived the Ubuntu PPA for the latest Audacity audio editor packages.

I was previously maintaining a PPA for the Audacity packages. It was however discontinued. Because, the project depended its own fork of wxWidget library, that is hard to maintain. And, Debian/Ubuntu upstream even stopped updating (now revived) the software package due to policy changes.

Now, Audacity can be built with the wxWidget 3.2 library from Ubuntu’s system repositories. And, Debian/Ubuntu again keep updating the software package  (v3.2.4 at the moment) in the new Distro releases.

So I decide to continue the PPA with the latest Audacity packages built against the rules from Debian upstream. And, now it’s updated to Audacity 3.7.0.

Audacity 3.3 installed as .deb package

Install Audacity 3.7.0 via PPA in Ubuntu

For the release note, and the official AppImage package, see the Github Release page.

The PPA so far supports for Ubuntu 22.04, Ubuntu 24.04, and Ubuntu 24.10 on both x86_86 and ARM CPU platforms.

1. First, open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching from start menu ‘Activities’ overview depends on your DE.

2. When terminal opens, paste the command below and hit run to add the PPA.

sudo add-apt-repository ppa:ubuntuhandbook1/audacity

Type user password when it asks (no asterisk feedback) and hit Enter to continue.

3. If an earlier version was installed via apt install command, you can then upgrade the package using Software Updater (Update Manager).

Or, just run command in terminal to install/update the Audacity .deb package:

sudo apt install audacity

NOTE: Linux Mint may need to run sudo apt update first.

Once installed, search for and open it from start menu or ‘Activities’ overview and enjoy!

If you also installed Audacity as Flatpak, or create a shortcut for official AppImage, you may then have duplicated app icons. You can choose to either remove the other package, or start the .deb version from command line:

/usr/bin/audacity

Uninstall:

To uninstall the Audacity software packages, simply open terminal and run command:

sudo apt remove audacity audacity-date

Also, remove the Ubuntu PPA either by running command:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/audacity

or by launching “Software & Updates” and removing source line under “other software” tab.

That’s all. Enjoy!

Shotwell image organizer released version 0.32.0 a few days ago. Here’s how to install it in Ubuntu 22.04, Ubuntu 23.04 via PPA.

After a few years of 0.31.x development releases, Shotwell 0.32 was finally released as new stable series. Compare to v0.30.x, it features:

  • Webp, AVIF, HEIF/HEVC, CR3, JPEG-XL images support.
  • Initial support for having multiple accounts per publishing service
  • HiDPI support for photo viewer and tools
  • Support MXF files
  • Support .nomedia files when importing from folder

For more changes in Shotwell 0.32.0, see the NEWS file in gitlab project page.

How to Install Shotwell 0.32.0 in Ubuntu

The developer team offers official Linux package via Flatpak. However, it’s not updated at the moment of writing this tutorial. See Shotwell in Flathub.

For those who prefer the classic .deb, I’ve uploaded the package into this unofficial PPA for Ubuntu 22.04, Ubuntu 22.10, and Ubuntu 23.04. Due to minimum dependency version mis-match, Ubuntu 20.04 is not supported.

1. First, search for and open terminal from your system application menu, or press Ctrl+Alt+T on keyboard. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/shotwell

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2. Next, launch Software Updater (Update Manager), then install the updates for the software package.

Or, run command in terminal to install/upgrade the Shotwell package:

sudo apt install shotwell

NOTE: Linux Mint user may need to run sudo apt update first to refresh package cache.

Finally, either right-click on your photo images to select open with the photo manager, or search for and launch shotwell from ‘Activities’ overview and enjoy!

Uninstall Shotwell 0.32.0

For any issue, it’s recommended to purge the Ubuntu PPA. Which, will remove PPA and downgrade shotwell to the pre-installed version.

To do so, open terminal (Ctrl+Alt+T) and run command:

sudo apt install ppa-purge && sudo ppa-purge ppa:ubuntuhandbook1/shotwell

The Audacity audio tag editor announced the new 3.3.0 release. Here’s how to install it in Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 23.04.

Audacity 3.3.0 is a new major release that features initial version of Beats and Measures. Some built-in effects (such as, Bass & Treble, Distortion, Phaser, Reverb and Wahwah) are now realtime capable.

The new release also added “Shelf Filter” function which is vailable in ‘Effect -> EQ and Filters’ menu.

Other changes in Audacity 3.3.0 include:

  • New “Time Signature Toolbar” (hidden by default)
  • New ruler, Linear (dB)
  • Add delete button to the Cut/Copy/Paste toolbar.
  • FFmpeg 6.0 support.

How to Install Audacity 3.3.0 in your Linux

Option 1: AppImage

Audacity now provides official Linux package through AppImage. It’s non-install software package that can be run directly to launch the application.

First, download Audacity from the link below (under ‘Assets’ section):

Then, right-click on the AppImage in file manager, go to “Properties” and enable ‘allow executing file as program‘ under Permissions tab. Finally, click run the AppImage to launch Audacity audio editor.

Ubuntu 22.04 and higher does not support AppImage out-of-the-box, press Ctrl+Alt+T on keyboard and run command to enable it:

sudo apt install libfuse2

And, if you want to create app shortcut for this AppImage package, here’s an application to automate the process.

Option 2: Flatpak

Audacity is also available to install as Flatpak package, though it’s not updated at the moment of writing.

1. First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, make sure Flatpak support enabled by running command:

sudo apt install flatpak

NOTE: Ubuntu 18.04 needs to add this Ubuntu PPA first before running the command above.

2. Then, just run the single command to install Audacity as Flatpak package:

flatpak install https://dl.flathub.org/repo/appstream/org.audacityteam.Audacity.flatpakref

For the future updates, just run flatpak update org.audacityteam.Audacity every time in terminal.

Once installed, search for and launch Audacity from start menu or ‘Activities’ overview depends on your desktop environment and enjoy!

Option 3: Ubuntu PPA

For those who prefer the classic .deb package, I’ve upload the software package into this unofficial PPA for Ubuntu 22.04 and higher.

Just launch terminal, and run commands below one by one to add PPA and install the editor:

sudo add-apt-repository ppa:ubuntuhandbook1/audacity
sudo apt update
sudo apt install audacity

Uninstall Audacity

For the Appimage package, just remove the file and done.

For Flatpak package, open terminal (Ctrl+Alt+T) and run command:

flatpak uninstall --delete-data org.audacityteam.Audacity

Also run command to remove unused runtime libraries to free up disk space:

flatpak uninstall --unused

For the PPA package, remove it via command:

sudo apt remove --autoremove audacity audacity-data

Also remove the Ubuntu PPA by running command:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/audacity

This simple tutorial shows how to install Adobe Acrobat Reader 9.5.5 in Ubuntu 24.04, Ubuntu 22.04, Ubuntu 20.04, and most other Linux.

Adobe has discontinued Linux support for its Acrobat PDF reader for many years! There are now many free open-source Linux apps for reading and/or editing PDF files.

However, if you like, the old Adobe Acrobat Reader 9.5.5 is still can be installed in current Ubuntu and other Linux, though it’s unmaintained and may contain security vulnerabilities.

NOTE: Adobe Reader 9.5.5 discontinued in 2013, it may have bugs and security issues! Install and use it at your own risk!

Thanks to @Ray Schumacher (see the comment below), Adobe website still provide native .deb package for the v9.5.5 version. It did install in my case in Ubuntu 24.04, however refused to launch due to the error below:

/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libgdk_pixbuf_xlib-2.0.so.0: cannot open shared object file: No such file or directory

The libgdk-pixbuf-2.0-0:i386 package offers the missing library, but it somehow refused to install in my test. So, this tutorial shows you how to install the Flatpak package instead, which works in all current Ubuntu releases, Fedora, Debian, Arch, and most other Linux.

Install Abode Reader 9.5.5 via Flatpak package

Flatpak is an universal Linux package format that runs in sandbox environment. It takes more disk space due to shared run-time libraries, however can be more safe since it runs in container.

1. Enable Flatpak Support

Ubuntu does NOT support Flatpak out-of-the-box, due to favor of Snap. It’s however easy to add it support by doing the steps below one by one.

1. (Ubuntu 16.04|18.04 only) For the old Ubuntu 16.04 and Ubuntu 18.04, press Ctrl+Alt+T on keyboard to open terminal. And, run command to add the Flatpak official PPA.

sudo add-apt-repository ppa:flatpak/stable

Then, update system package cache via:

sudo apt update

2. Press Ctrl+Alt+T on keyboard to open terminal. When terminal opens, run command to enable Flatpak support:

sudo apt install flatpak

For other Linux, follow this official setup guide instead for Flatpak support.

2. Install Adobe Reader Flatpak package

Once you got the file format support, then run the command below to install the Flatpak app package:

flatpak install https://dl.flathub.org/repo/appstream/com.adobe.Reader.flatpakref

Flatpak runs in sandbox. Though, the PDF reader itself only takes 59 MB, it needs also download & install hundred of MB run-time libraries.

Once installed, either right-click on your PDF file and select “Open With Other Application” to choose Adobe Reader, or just search for and launch it from the overview screen.

NOTE: If this is the first app installed as Flatpak package in your system, you may need to log out and back in to make app icon visible.

3. Add Printer Support & Grant other Permissions

As mentioned, the Flatpak package runs in sandbox environment, which has NO permission by default to access printing system.

To enable this feature, first, open terminal (Ctrl+Alt+T) and run command to install Flatseal app:

flatpak install https://dl.flathub.org/repo/appstream/com.github.tchx84.Flatseal.flatpakref

Then, launch the “Flatseal” app, navigate to “Adobe Reader” in left pane of the pop-up app window, finally scroll down in right, find-out and turn on the toggle option for “Printing system”.

NOTE: If you intent to use network printer, then you also need to enable “Network” toggle option for this app package.

Uninstall Adobe Reader

To remove the software package, also open terminal (Ctrl+Alt+T) and run command:

flatpak uninstall --delete-data com.adobe.Reader

You may also run command to remove unused runtime libraries to free up disk space.

flatpak uninstall --unused

KDE’s Kdenlive video editor has released version 23.04, here are the new features and how to install guide for (K)Ubuntu 22.04 & (K)Ubuntu 22.10 via PPA.

According to the KDE Gear 23.04 release note, Kdenlive 23.04 features new nested timelines.

The new feature allows user to select several video clips from tracks, and use right-click menu option “Create sequence from selection” to group them together as one single sequence. User can then edit the sequence, apply effects, and add transitions between nested and regular clips.

For more about Kdenlive 23.04, see the official release note which will be available soon tomorrow.

How to Install Kdenlive 23.04 in Ubuntu

The official PPA has built the new release package for Ubuntu 22.04 and Ubuntu 22.10, though it somehow does not support Ubuntu 23.04 yet.

1. First press Ctrl+Alt+T on keyboard to open terminal, or search for and launch ‘Konsole‘ from start menu. When it opens, run command:

sudo add-apt-repository ppa:kdenlive/kdenlive-stable

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2. After adding PPA, user can either open Software Updater (or Update Manager) to update the software package from an installed version:

Or run the command below to install or update the video editor:

sudo apt install kdenlive

NOTE: Linux Mint user has to run sudo apt update first to manually refresh package cache

And, if you got overwriting files issue due to the old dependencies: libmlt-data and melt, run command to remove them and then re-run the apt command above:

sudo dpkg -r melt libmlt-data

Once installed, press Super (Windows logo key) to open ‘Activities’ overview or start menu, and search for and open Kdenlive.

Uninstall Kdenlive

To remove Kdenlive, either use your system package manager or run the command below in a terminal window:

sudo apt remove --autoremove kdenlive

And remove the Ubuntu PPA either by running command in terminal:

sudo add-apt-repository --remove ppa:kdenlive/kdenlive-stable

Or use “Software & Updates” utility to remove the source line under “Other Software” tab.

Since Ubuntu 23.04 Lunar Lobster, the default system fonts for the texts in system menus, documents, and app windows have been changed.

The new font is slim. And, I’ve written a tutorial about how to try it out in Ubuntu 22.04 and 20.04. If you prefer the old one, here’s how to revert it back in Ubuntu 24.04 LTS.

Compare to Ubuntu 23.04/23.10, the new font in Ubuntu 24.04 looks better now in my opinion. Because, the default fonts have been changed:

  • from ‘Ubuntu Regular‘ to ‘Ubuntu Sans‘ for interface text.
  • from ‘Ubuntu Mono Regular‘ to ‘Ubuntu Sans Mono‘ for monospace text.

Default fonts changed in Ubuntu 24.04

Install old Ubuntu Fonts in Ubuntu 24.04

1. Install the classic font

Since Ubuntu 23.10, a new package fonts-ubuntu-classic is available in system repository for those who prefer the classic font.

To install the package, press Ctrl+Alt+T on keyboard to open up a terminal window. Then, run command:

sudo apt install fonts-ubuntu-classic

You may run sudo apt update to refresh system package cache first if the command above somehow does not work for you.

After installing the classic fonts, text in terminal may become un-readable. In the case, just log out and back in.

2. Download & install classic font for Console (Optional)

The classic font for console (terminal) so far is NOT available in Ubuntu 24.04 repository. For choice, you may manually download and install the package for Ubuntu 22.04.

To do so, launch a terminal window (Ctrl+Alt+T), and download the classic font for console package via command:

wget -c https://launchpad.net/ubuntu/+archive/primary/+files/fonts-ubuntu-console_0.83-6ubuntu1_all.deb

Next, install the package by running command:

sudo apt install ./fonts-ubuntu-console_0.83-6ubuntu1_all.deb

3. Apply the classic fonts

Option 1: Use Gnome Tweaks to apply classic fonts:

After installed the classic fonts, it won’t apply automatically, because the default font names have changed as mentioned.

To switch back the old ones, first search for and install GNOME Tweaks from App Center.

Next, launch Gnome Tweaks, and in the first “Fonts” tab:

  • Select Ubuntu Regular as Interface Text font. It will be displayed as ‘Ubuntu’ after selection.
  • And select Ubuntu Mono Regular for Monospace Text, if you also installed the classic font for console.

Option 2: use Linux commands to apply the classic fonts
For those who are OK with Linux commands, open up a terminal window (Ctrl+Alt+T) and run the commands below one by one instead:

gsettings set org.gnome.desktop.interface font-name "Ubuntu 11"
gsettings set org.gnome.desktop.interface monospace-font-name "Ubuntu Mono 13"

Lock & Prevent updating to new fonts

To prevent your system from automatically updating to the new fonts, you have to lock the old fonts packages that were just installed via the previous step.

Thanks to @Alex Farran, lock package version via Synaptic package manager only prevents itself and ‘Software Updater’ from upgrading the package. However, apt command and may be other tools can still upgrade the fonts. So, the best choice can be running the command below in terminal:

sudo apt-mark hold fonts-ubuntu fonts-ubuntu-console

For the graphical way (NOT work for apt), first open App Center, search for and install Synatic Package Manager.

Then launch “Synaptic”, click “Search” and search “fonts-ubuntu“. Finally, do:

  • Press and hold Ctrl then highlight both “fonts-ubuntu” and “fonts-ubuntu-console” packages.
  • Go to menu “Package -> Lock Version”.

How to go back the new Ubuntu Fonts

First, open terminal (Ctrl+Alt+T) and run command to unlock the font packages:

sudo apt-mark unhold fonts-ubuntu fonts-ubuntu-console

Then, also search for and launch Synaptic package manager.

When it opens, search “fonts-ubuntu“. Then do:

  • highlight both “fonts-ubuntu” and “fonts-ubuntu-console” packages via Ctrl + mouse click.
  • Go to menu “Package” and un-check “Lock Version” (skip if NOT enabled).
  • Next, right-click on both packages and select “Mark for Upgrade“.
  • Finally, click on “Apply” button.

When done, reset the font names by running commands in terminal (Ctrl+Alt+T) one by one:

gsettings reset org.gnome.desktop.interface font-name
gsettings reset org.gnome.desktop.interface monospace-font-name

Ubuntu 23.04 has been released! Besides installing from new .iso image, here’s a step by step guide shows how to upgrade from Ubuntu 22.10.

NOTE: The Upgrade process may fail! So it’s HIGHLY recommended to backup your important data first!! And, Ubuntu 22.04 LTS can even follow this tutorial twice to upgrade to 22.10 first, and then to 23.04.

Before getting started:

Backup! Backup! Backup! The most important thing to do first is to backup your important data! The upgrade process could fail due to various reasons, such as power interruption, network issue, or even poor software packages on your system.

1. Before getting started, search for and open “Software & Updates” utility. When it opens, navigate to “Other Software” tab, then disable or remove all third-party PPAs.

2. Also, in “Software & Updates” utility, navigate to “Additional Drivers” tab. Then, select and apply open-source driver, if a proprietary driver is in use.

3. In “Software & Updates“, switch to “Updates” tab. Then, select “For any new version” for “Notify me of a new Ubuntu version” drop-down box.

4. Also, search for and launch “Extension Manager” or “Gnome Extensions” app depends on which one you installed, and disable all user-installed Gnome Shell Extensions to avoid compatibility issues.

Upgrade to Ubuntu 23.04

Now, search for and open “Software Updater” from either overview or ‘Show Applications’ screen. When it opens, install all available package updates.

When done, restart your computer if it prompts to.

Finally, press Ctrl+Alt+T on keyboard to open terminal. And, run command to start software updater and check distribution upgrade!

update-manager -c

If all package updates are properly installed, and useless packages removed, then it should prompt that Ubuntu 23.04 is available.

Just click on “Upgrade” button. Then it will open the release note dialog for Ubuntu 23.04. In my case, it shows a blank page, though it’s not a big deal.

Click “Upgrade” button again. Then it opens the wizard to download and setup the software sources.

When done “Setting new software channels”, it will ask for confirm again. Before clicking “Start Upgrade” button, it’s the last chance to cancel the upgrading the process!

Once you clicked “Start Upgrade” button, it starts downloading and installing all required packages. It can take quite a few minutes depends on your network speed and computer specs.

Before “Cleaning up”, you need to do one more mouse click to confirm.

If everything’s going well, it will ask to restart computer when done.

After all, verify your Ubuntu edition, either by opening “Settings” and navigate to ‘About’ page, or run command in terminal (Ctrl+Alt+T):

cat /etc/issue

That’s all. Enjoy!

The Ubuntu Team announced the Ubuntu 23.04 yesterday!

Ubuntu 23.04, code-name “Lunar Lobster”, is a short term release with 9-month support until January 2024.

The release is powered by the latest Linux Kernel 6.2. The Ubuntu Kernel supports for building and running external kernel modules using Rust programming language.

The desktop edition features GNOME 44, with following changes:

  • “background apps” section (only for flatpak apps) in top-right system menu.
  • QR code support when enabling Wi-Fi hotspot.
  • Wireguard VPN support in Network settings.
  • Redesigned ‘Mouse & touchpad’, ‘Accessibility’ settings page.
  • Icon view support in native file chooser.
  • Bigger avatar icon and bold username in login/lock screen.
  • Save image link and paste into new file in Nautilus.

The release also introduced new installer. It’s a flutter app that has a fast response and modern look and feel. The old installer is still available in case of issues with the new installer.

Lunar new installer wizard

Other changes in Ubuntu 23.04 include:

  • Support for Intel Arc graphics DG2/Alchemist
  • New Intel TDX guest driver
  • Support for Sony DualShock 4 gamepads
  • OpenJDK v17, .NET 7, Python 3.11, go language 1.20, Rust 1.67, Ruby 3.1.
  • New default fonts.
  • LibreOffice is now available on RISC-V
  • Support for enterprise proxy, app confinement and network shares
  • See here for more details.

Get Ubuntu 23.04

The iso images for Desktop, Server and Network install are available for download at the link below:

For cloud, loT, and other images, go to the official download page.

Ubuntu 22.10 users can now upgrade to Ubuntu 23.04. Just install all available updates via “Software Updater“, restart if asked, and finally run update-manager -c command to check distribution upgrades.

This simple tutorial shows how to install or completely remove the XFCE4 desktop environment in Ubuntu 22.04 and/or Ubuntu 24.04.

XFCE4 is lightweight Linux desktop environment aims to be fast and low on system resources. To try it out, I’d recommend to install XUbuntu, Linux Mint, Linux Lite or other Linux with XFCE4 as default.

But for lazy men who don’t want to backup personal data, re-install and re-configure favorite applications again and again, install XFCE4 Desktop on top of the current Ubuntu system is a good choice. And, here’s how to do the job step by step.

Install XFCE4/XUbuntu Desktop in Ubuntu

1. First, open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching from ‘Activities’ overview.

2. When terminal opens, it’s recommended to first run command to update your system package index:

sudo apt update

3 Then, either install XFCE4 desktop, and core apps without changing startup animation, login screen, etc.

sudo apt install xfce4

As you can see in the screenshot, the installation only takes 88.5 MB (126 MB for 24.04) disk space in my case.

Or, install the whole XUbuntu Desktop environment, to make your Ubuntu just look like XUbuntu

sudo apt install xubuntu-desktop

Though, it will install more packages and takes 550 MB (905 MB for 24.04) disk space in my case.

In the case, it also asks to choose which login screen interface to use (Display Manager). Either choose gdm3 to keep original login screen, or use lightdm to switch to the one that is default in XUbuntu. Finally, hit Tab to highlight OK and hit Enter.

Log in XFCE4 Desktop

After installation, restart your computer!

Depends on which display manager you chose in previous step, either select your user and choose “Xfce Session” via the bottom right gear button menu.

Or, directly choose user and type password to login, if you selected lightdm display manager.

After login, you may want to tweak something. In my case, I’d like to right-click on top-panel and go to “Panel -> Add New Items”, then add Whisker Menu to replace the default application menu. In case you don’t see the widget in the list, run command to install it:

sudo apt install xfce4-whiskermenu-plugin

How to Completely Remove XFCE4/XUbuntu Desktop

1. If you installed the ‘xubuntu-desktop’ package and replaced the login screen, open terminal and run command to open the configuration again and choose “gdm3” to restore the original login screen:

sudo dpkg-reconfigure lightdm

2. Also, to restore the original startup animation screen, run command:

sudo update-alternatives --config default.plymouth

In terminal output, type the number for bgrt.plymouth theme and hit Enter.

3. Before removing the packages, it’s HIGHLY recommend to restart or log out, and choose either “Ubuntu” or “Ubuntu on Xorg” session to log in.

Finally, open terminal and run the single command to remove XFCE4 or XUbuntu Desktop packages:

sudo apt remove --autoremove xubuntu-desktop xfce4 xfce4-* libxfce4* espeak-data gnome-software-common libexo-common libgarcon-common thunar-data tumbler-common xiccd atril-common brltty-x11 wslu plymouth-theme-xubuntu* adwaita-icon-theme-full pinentry-gtk2 xterm mesa-utils lm-sensors libxapian30

This command will remove the most packages installed along with ‘xfce4’ or ‘xubuntu-desktop’ package. However, it’s recommended to keep an eye on terminal output to see which packages it’s going to remove, before typing ‘y’ to confirm.