Archives For Howtos

Linux Kernel 5.16 was released a few days ago. Here’s how to install it in Ubuntu 20.04, Ubuntu 21.10, and/or Linux Mint 20.x.

Kernel 5.16 comes with many new features. Here are some of them:

  • Initial DisplayPort 2.0 Support For AMD Radeon Driver.
  • Intel Protected Xe Path for Gen12 graphics.
  • Intel AMX support for Sapphire Rapids.
  • Raspberry Pi Compute Module 4 support.
  • Snapdragon 690 and other new Arm hardware support such as Rockchip RK3566 and RK3688.
  • Better support for the Sony PlayStation 5 controller.
  • Better support for HP Omen laptops.
  • Realtek RT89 WiFi driver
  • Support for 2021 Apple Magic Keyboard.
  • Apple M1 PCIe driver

How to Install Kernel 5.16 in Ubuntu 21.10:

NOTE: The Mainline Kernel PPA provides packages for Ubuntu 21.10. However, it does not include any Ubuntu-provided drivers or patches, which are NOT appropriate for production use.

The .deb packages for amd64, arm64, ppc64el and s390x are available to download at the link below:

For personal computers, select generic for common system, or lowlatency for a low latency system (e.g. for recording audio):

  • linux-headers-5.16.0-xxxxxx_all.deb
  • linux-headers-5.16.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  • linux-modules-5.16.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  • linux-image-xxx-5.16.0-xxx-generic(/lowlatency)_xxx_amd64.deb

Keep an eye on the date in package names. 64-bit build has two versions of same package with different package date.

For those familiar with Linux command, open terminal and run commands one by one to download & install the packages:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-headers-5.16.0-051600_5.16.0-051600.202201092355_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-headers-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-image-unsigned-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16/amd64/linux-modules-5.16.0-051600-generic_5.16.0-051600.202201092355_amd64.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.16:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 5.16:

sudo dpkg --purge linux-image-unsigned-5.16.0-051600-generic

Install Kernel 5.16 for Ubuntu 20.04:

The mainline kernel was build against Ubuntu 21.10, so it won’t install in Ubuntu 20.04 LTS. However, for those insist on installing the new kernel, this project is available along with an Ubuntu PPA. Use it at your own risk!

You may run command in terminal to add the PPA:

sudo add-apt-repository ppa:tuxinvader/lts-mainline

Once the Kernel 5.16 package is updated, use command to install it:

sudo apt install linux-generic-5.16

NOTE: Linux Kernel keeps rolling new releases regularly. The PPA package name varies according to the version number. It’s better to check the PPA page before running the apt command.

For Ubuntu 20.04+ and other Linux with GNOME desktop (e.g., Fedora workstation, Debian and Arch Linux), there’s an extension lets you quickly locate mouse pointer.

The extension is called “Jiggle“. It highlights the mouse pointer position when it moved rapidly by applying 3 cool animation effects: Cursor Scaling, Spotlight, and Fireworks.

Cursor Scaling animation. Original pointer can be turned off

Fireworks effect

spotlight animation

User may choose one of the three effects to function. And each has options to configure the shake threshold, speed, and other settings.

Choose effect & change the “Shake Threshold”, etc.

Install Jiggle extension in Ubuntu 20.04

The extension at the moments supports for Gnome 3.36, 3.38 and 40. Though it works on GNOME 41 as reported.

The Extension so far does not support Ubuntu 22.04, scroll down and see another method to highlight pointer position.

1. Install Gnome Extensions App:

Before installing the extension, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to install the ‘chrome-gnome-shell’ and ‘gnome-shell-extensions-prefs’ packages:

sudo apt install chrome-gnome-shell gnome-shell-extension-prefs

The first package is required for installing Gnome Extensions from web browser in Ubuntu based system. The latter installs the app for managing extensions.

2. Install Jiggle:

Next, go to the extension web page via your web browser. And then turn on the toggle icon to install it:

If you don’t see the slider icon, install the browser add-on and refresh the page.

After installed the extension, search for and open ‘Gnome Extensions‘ from Activities overview screen.

Manage Gnome Extensions

Finally, open settings for ‘Jiggle’ and apply your favorite animation and enjoy!

Highlight pointer in Ubuntu 22.04:

Without installing an extension, there’s hidden option to quickly locate the pointer position by hitting Ctrl key on keyboard.

Firstly, open system settings either by searching from activities overview or use system tray menu option:

When it opens, navigate to Accessibility in the left, then turn on the option for “Locate Pointer” in the bottom right.

When done, press Ctrl on keyboard to quickly find your mouse pointer and enjoy!

Mozilla Firefox 96.0 was released today. The new release focuses on performance and security improvements.

Firefox 96.0 significantly reduced the main-thread load, improved noise suppression and automatic gain control for better overall experience.

It now enforces the Cookie Policy: Same-Site=lax by default which helps defend against Cross-Site Request Forgery (CSRF) attacks.

The release also fixed some issues, including video quality degradation issues on certain sites, issue where WebRTC downgrades screen sharing resolution, and video intermittently drops SSRC. As well, there are various security fixes.

And for developers, Firefox 96 adds WebP image encoder support for canvas.

Firefox Dark

How to Install Firefox 96 in Ubuntu Linux:

For Ubuntu 21.10+ using the pre-installed Firefox as Snap, it updates automatically and user should now have v96.0.

For those using the native .deb version, the best choice is wait! The official Ubuntu build will be available in next few days. At that time, open “Software Updater” to upgrade the Firefox package.

Firefox website also provides Linux package via portable tarball. Extract and run the executable file within the source will launch the web browser:

As you may know, Gnome control center (aka settings) has “Fractional Scaling” option since Ubuntu 20.04, allows to change scaling level for HiDPI displays.

By default, user may scale up to 125%, 150%, 175% and 200% to make Ubuntu (or other GNOME based Linux, such as Fedora) to be read easily. In this tutorial, I’m going to introduce “BetterScale”, a command line tool gives more scaling levels.

GNOME by default has 125%, 150%, 175%, 200% scaling levels

BetterScale:

BetterScale is a group of bash scripts that helps Gnome & Budgie x11 users perfectly scale their desktop. With it, user may scaling via 110%, 120%, 130%, 140%, 150%, 160%200% levels.

BetterScale uses a similar concept for scaling as macs do by enabling Gnomes experimental scaling support & increasing the graphics framebuffer. It makes your system easily readable while remaining fully clear, crisp and sharp.

BetterScale with more scaling levels

The tool uses xrandr to scale the framebuffer. Which means, it only works for GNOME / Budgie on Xorg. Ubuntu 21.10+ needs to switch to Xorg session at Login Screen for using the tool.

Install & Use BetterScale:

The tool is hosted on Github page. Ubuntu user may press Ctrl+Alt+T on keyboard to open terminal, and run command to grab the source:

git clone https://github.com/rbreaves/betterScale.git

Install git via sudo apt install git for those don’t have it.

Next, run cd command to navigate to the source folder:

cd betterScale

Finally, start the script via command:

./setup.sh

Grab and start BetterScale

When it starts, read the description and warning before hitting Enter.

And, it will ask if to install the fix for tearing & mouse flickering for intel GPU. Type “n” to skip it if you don’t have this issue, or answer “Y” and type user password to install the fix.

If you answered ‘Y’ to fix tearing and flicker, log out and back in. Then, re-run the script to get the scaling level selection screen and type number to choose your favorite scaling factor.

BetterScale with more scaling levels

How to Restore:

The tool is in quite earlier stage. It might not work sometimes. I tested it in Ubuntu 21.10 with normal HD display without system’s ‘Fractional Scaling’ enabled. It works mostly but NOT occasionally.

To restore the changes, simply re-run the script and select 10 to set scaling to 100%. Do it twice if it does not work properly!

And remove the “20-intel.conf” file via the command below if you’ve installed the fix for tearing and mouse flickering:

sudo rm -rf /usr/share/X11/xorg.conf.d/20-intel.conf

That’s all. Enjoy!

The third point release of Linux Mint 20 is out! Unlike Ubuntu, it has different code names for each point releases. And, Linux Mint 20.3 codenamed ‘Una’.

The release still has Kernel 5.4 though user may install updated Ubuntu patched Kernels using ‘Update Manager’. And, it features Cinnamon 5.2, MATE 1.26, and XFCE 4.16 for each desktop editions.

XApp Updates:

Linux Mint now has a new Xapp “Thingy. It’s a Document Manager for user to quick access to favorite and recently opened documents and keeps track of the reading progress.

New Document Manager
‘Thingy’

Hypnotix IPTV Player now defauts to dark mode. And, it features a new search function, and Xtream AIP support.

The Sticky Notes also has a new search function and adds option to control the text size.

Theme updates:

Linux Mint 20.3 features full dark mode support. And some apps including Hypnotix, Celluloid, Pix, Xviewer and Gnome Terminal now default to dark.

The default “Mint-Y” theme now has rounded tittle bar corners and bigger buttons. Accents and feature colors removed on some widgets, and now only left on sliders, checkboxes, radios and the close button.

For those prefer the old look, the original Mint-Y theme is available as “mint-themes-legacy” package in the repositories.

Cinnamon 5.2:

The Cinnamon desktop has been updated to v5.2. It’s calendar applet features multi-calendar events, and online calendars and applications sync with evolution-data-server.

Calendar multi events support

There are also simplified animations, new radial shader effect added to clutter dialogs, new configuration options for windows list, notification and workspace switcher applets, and other improvements.

Other changes in Linux Mint 20.3 include:

  • Proper manga support for Xreader PDF reader.
  • Ctrl-Tab and Ctrl-Shift-Tab to navigate through tabs in Xed text editor.
  • Option to hide the menubar for Xed, Xreader.
  • xreader no longer shows toolbar in full-screen mode.
  • system reports run once a day instead of every hour.
  • WebApp manager shows which browser is used for each app.
  • Turn on/off bluetooth from its tray menu.
  • Sperb collection of new backgrounds.
  • Linux-firmware 1.187 and Flatpak 1.12.
  • HPLIP 3.21.8 and latest versions of ipp-usb and sane-airscan.

Download Linux Mint 20.3:

Linux Mint 20.3 is available to download in the official website below:

User may also upgrade to Linux Mint 20.3 by following this guide.

Ubuntu’s default LibreOffice office suite 7.2.5 was released today. User may install it from the official PPA in Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.04, Ubuntu 21.10 and Linux Mint 20.x

LibreOffice 7.2.5 comes with 90 bug-fixes, including many crashes when recent files are not accessible, inserting hidden field over input field, one click and three TAB presses, saving a calc file after delete some columns, and more. See the release note for details.

How to Install the Latest LibreOffice in Ubuntu:

The software is available to install as Snap, Flatpak, and AppImage. Though, I recommend the classic .deb package via its official PPA repository.

1. Add LibreOffice PPA:

Press Ctrl+Alt+T on keyboard to open terminal. When it opens, paste and run the command below:

sudo add-apt-repository ppa:libreoffice/ppa

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

2. Update package cache:

For Ubuntu 18.04 and some Ubuntu based systems, user needs to manually update system package cache by running command:

sudo apt upgrade

3. Install/Upgrade Libreoffice:

Finally install the office suite via command:

sudo apt install libreoffice

Or upgrade the software package using Software Updater utility:

How to Restore:

To revert back the original office version, run command in terminal to install ppa-purge tool and purge the PPA repository.

sudo apt install ppa-purge && sudo ppa-purge ppa:libreoffice/ppa

There are a few extensions (e.g., Dash-to-dock and Dash-to-panel) to change the Gnome Shell ‘Dash’ appearance and behavior. Here I’m going to introduce the new extension called “Dash from Panel“.

GNOME Shell Dash:

The ‘Dash’ is the bottom bar in GNOME Activities overview screen, that shows favorite apps and running applications. Ubuntu by default uses ‘Dash-to-dock’ extension to bring the Dash out of overview screen as a left panel. And, there’s a ‘Dash-to-panel’ extension for choice to combine it with top-bar into single Microsoft Windows style bottom panel.



Dash from Panel

This is a new gnome shell extension. It does not change the default ‘Dash’, but only let it appear as dock at top when moving the cursor over top bar. So, user may access favorite and running app icons quickly without triggering ‘Activities’ overview.

The extension uses native GNOME Shell Dash to display as “dock”. And, it’s very light. As a new project, Dash from Panel so far lack options to configure the position, dock size and padding etc.

Install Dash from Panel:

The extensions so far support GNOME 40+. Users of Ubuntu 21.10+, Fedora 34+, and Arch Linux may install it via following steps.

1.) For Ubuntu user, press Ctrl+Alt+T on keyboard to open terminal. And run command to install the ‘chrome-gnome-shell‘ package first:

sudo apt install chrome-gnome-shell

2.) Go the extension page in your web browser via the link below and turn on the toggle icon to install it.

NOTE for Ubuntu 21.10+, the preinstalled Firefox is a Snap package that so far does not support installing Gnome Extensions. Use another browser or Firefox as Deb.

If you don’t see the toggle icon, install the browser extension and refresh the web page.

The extension works immediately after installation. User may manage the extensions later via ‘Gnome Extensions‘ app, which can be installed via:

sudo apt install gnome-shell-extension-prefs

And other systems may install it from Gnome Software.

For those looking for a best looking Linux system, I would recommend Deepin and Zorin OS 16. And, I personally prefer the former one a bit more for the desktop appearance.

Deepin is based on Debian. It’s great, but for those stick to most recent NVIDIA drivers, Ubuntu PPAs, and/or the Ubuntu communities, then UbuntuDDE Remix is a good choice.

UbuntuDDE Remix is a Ubuntu flavor that uses the Deepin Desktop Environment. It includes all the goodies from Ubuntu while having the beautiful desktop appearance.

UbuntuDDE 21.10

The desktop has a blurred panel and start menu, while allowing to adjust the background transparency. Core apps has GTK4 style rounded corners. And it’s has lots of configure options, including ability to toggle between full dark and light mode, and choose an accent color.

DDE Settings

UbuntuDDE Remix 21.10 was released with Ubuntu 21.10 package base, Linux Kernel 5.13, along with the latest DDE desktop and software packages. And, there’s new beautiful impish wallpapers. See the release note for details.

Download UbuntuDDE Remix:

The Ubuntu flavor requires 4GB RAM, 20GB disk space, and 2 GHz processor or better. The ISO image is available to download for 64-bit personal PC or laptop at the link below:

The Paint.NET inspired bitmap image drawing and editing software Pinta 2.0 was released a few days ago.

Pinta is finally ported to GTK3, though GNOME now is shifting to GTK4. Along with .NET6 the UI now looks more native in Ubuntu:

  • The tab bar looks more native in GNOME.
  • Use the standard GTK font chooser (pop up dialog) instead of drop-down selection for Text tool.
  • Change several tools to use spin buttons rather than editable combo boxes.
  • The position / selection information, zoom, and the color palette now moved to bottom status bar.
  • The tool palette displays in a single column with “>” button in the bottom to reach more tools.
  • The “Open Recent menu” is gone. And, “Add-ins” has been removed.
  • The color palette now remember recently used colors.
  • The primary and secondary palette colors are now saved in the application settings
  • And the canvas can now be panned by clicking and dragging with the middle mouse button

How to Install Pinta 2.0 in Ubuntu Linux:

Pinta is available to install as 3 different package formats: native DEB, universal Flatpak and Snap. You may choose one to install or install all of them side by side (will cause duplicated app icons).

Option 1: Snap

The Pinta snap package is available to install from Ubuntu Software. And, if you already install the package before, it should now update to v2.0 automatically.

Option 2: Flatpak

Like Snap, Flatpak is another universal package format runs in sandbox. It installs updates automatically but takes more disk space.

Ubuntu user may install Pinta as Flatpak by running the commands below one by one:

  • Install Flatpak daemon:
    sudo apt install flatpak
  • Install Pinta from flathub repository:
    flatpak install https://dl.flathub.org/repo/appstream/com.github.PintaProject.Pinta.flatpakref

Option 3: Classic Deb package:

For those prefer the native deb packages, Pinta has a stable PPA though NOT updated at the moment.

User may press Ctrl+Alt+T on keyboard to open terminal, and run command to add the PPA:

sudo add-apt-repository ppa:pinta-maintainers/pinta-stable

Once the PPA is updated, Pinta 2.0 will be available to upgrade along with other system packages in Software Updater.

Uninstall Pinta:

To remove Pinta Snap and Deb packages, use Ubuntu Software or run one of the commands below:

sudo snap remove --purge pinta
sudo apt remove --autoremove pinta

And remove the PPA using “Software & Updates” tool under “Other Software” tab.

For the Flatpak package, use command:

flatpak uninstall --delete-data com.github.PintaProject.Pinta

And clear useless run-time libraries via flatpak uninstall --unused.

Hugin panorama stitcher finally released version 2021. Here’s how to install it via PPA in Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.04, Ubuntu 21.10, and Linux Mint 20.

Changes in Hugin 2021 include:

  • Fast preview window can be panned in zoomed state with middle mouse button.
  • New overview mode: inside panorama sphere (similar to a interactive panorama viewer)
  • Updated build system for OpenEXR3.
  • Several bug fixes.

Install Hugin 2021 in Ubuntu:

I’ve upload the package into the unofficial PPA for all current Ubuntu releases and their based systems. It seems working good though still missing ‘COPYING.txt’ file when opening about dialog.

1. Add the PPA:

Press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run the command below to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

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

2. Update package cache:

For Ubuntu 18.04 and some Ubuntu based systems, user may need to manually update the system package cache via command:

sudo apt update

3. Install / Upgrade Hugin:

After adding the PPA, either install the package via command:

sudo apt install hugin

Or upgrade the package using “Software Updater” utility.

How to Remove or Downgrade Hugin:

For any issue, user may purge the PPA repository which also downgrade the package to the stock version in Ubuntu repository:

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

Or, remove the panorama stitcher directly by running command in terminal:

sudo apt remove --autoremove hugin

And, user may remove the PPA instead of purging it via “Software & Updates” utility.