Archives For November 30, 1999

Linux Kernel 5.19 was released! Ubuntu Mainline PPA has made the packages for testing purpose.

Linus Torvalds announced this kernel release last night:

On a personal note, the most interesting part here is that I did the release (and am writing this) on an arm64 laptop. It’s something I’ve been waiting for for a _loong_ time, and it’s finally reality, thanks
to the Asahi team. We’ve had arm64 hardware around running Linux for a long time, but none of it has really been usable as a development platform until now.

Linux 5.19 Kernel features initial support for LoongArch CPU architecture, Apple M1 NVMe controller and Apple eFuse driver. There are also initial graphics driver for Raptor Lake P (Intel’s 13th generation processors), In-Field Scan (IFS) to circuit level tests on a CPU core, and bug-fix for Intel laptops running hot and draining the battery faster.

Other features include:

  • Zstd compressed firmware support
  • Google Whiskers Touchpad support.
  • Lenovo X12 trackpoint support.
  • Armv9 Scalable Matrix Extension support
  • Big TCP and pureLiFi’s device driver.

How to Install Kernel 5.19 in Ubuntu 22.04:

NOTE: The mainline kernel packages are NOT officially support! You install them ONLY for specific hardware support or testing purpose!

First, go to the PPA web page via the link button below:

Select download amd64/build package for modern PC/laptop, arm64/armhf build for ARM devices, or ppc64el/s390x depends on your CPU architecture type. And, install the packages in following order:

  • linux-headers-5.19.0-051900_xxx_all.deb
  • linux-headers-5.19.0-051900-generic_xxx_amd64.deb
  • linux-modules-5.19.0-051900-generic_xxx_amd64.deb
  • linux-image-unsigned-5.19.0-051900-generic_xxx_amd64.deb

Or, open terminal by pressing Ctrl+Alt+T on keyboard, and run following commands one by one to download and install the Kernel packages (64-bit only).

cd ~/Downloads
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.19/amd64/linux-headers-5.19.0-051900_5.19.0-051900.202207312230_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.19/amd64/linux-headers-5.19.0-051900-generic_5.19.0-051900.202207312230_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.19/amd64/linux-image-unsigned-5.19.0-051900-generic_5.19.0-051900.202207312230_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.19/amd64/linux-modules-5.19.0-051900-generic_5.19.0-051900.202207312230_amd64.deb
sudo apt install ./linux-headers-5.19.0*.deb ./linux-image-unsigned-5.19.0*.deb ./linux-modules-5.19.0*.deb

Once installed, restart your computer and verify by running uname -a command in terminal.

For those prefer to use a graphical tool, there’s Ubuntu Mainline Kernel Installer can help to make things easier:

Uninstall Kernel 5.19

To remove the Kernel packages, you need to first restart your computer, select boot an old kernel in “Advanced” sub-menu of Grub boot-loader.

And finally run command in terminal (Ctrl+Alt+T) to remove Kernel 5.19:

sudo apt remove linux-headers-5.19.0* linux-modules-5.19.0* linux-image-unsigned-5.19.0*

The GTK feed reader Liferea released version 1.13.9 recently with generic Google Reader API support, UI improvements, and bug-fixes.

This is the last release of the 1.13 unstable series of Liferea (Linux Feed Reader). It makes possible to import from FeedHQ, FreshRSS, Basquz, and other feed readers using Google Reader API (exclude Miniflux due to this bug).

So now besides manually adding websites, it now supports adding following sources all together:

  • Planet, BlogRoll, OPML.
  • Google Reader API.
  • Reedah.
  • Tiny Tiny RSS.
  • TheOldReader.
  • Miniflux.

Other changes in this release include:

  • Update to Readability.js 0.41 for better image and table handling.
  • Improve HTML5 extraction
  • Hide unused expander space in item list and drop enclosure icon from item list, which saves horizontal space.
  • Improve performance by different check order in itemset merging
  • Subscribing defaulted to HTML5 feeds even when real feeds do exist.

How to Get Liferea 1.13.9:

For Linux with Flatpak support out-of-the-box, e.g., Linux Mint, Pop! OS and Fedora, you may simply search for and install the software package as Flatpak from system package manager.

For Ubuntu based user prefer the classic .deb package, here’s the unofficial PPA contains the package for Ubuntu 20.04 and Ubuntu 22.04.

1. First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the command below to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

2. Next, either update the feed reader from an existing release via “Software Updater” or run command below to install it:

sudo apt install liferea

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

Uninstall:

For any issue, you may uninstall the PPA repository by running the command below in terminal:

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

And remove the Liferea news reader either via your system package manager or by running command below in terminal:

sudo apt remove --autoremove liferea liferea-data

For Ubuntu 22.04, there’s now an extension to enable animation when you move mouse pointer over app icons on the left/bottom panel.

It’s a magnifying animation for the dock app icons under mouse cursor. Which, remind me of the old popular Avant Window Navigator.

The extension is called ‘Dash Animator‘ designed for Ubuntu with the default GNOME Desktop. As it requires GNOME 40+, only Ubuntu 22.04 meet the request so far. Though, it should also work on other GNOME based Linux that uses Dash-to-Dock, such as Manjaro Linux.

How to Install the “Dash Animator” Extension in Ubuntu 22.04

1. Firstly, search for and install “Extension Manager” application from Ubuntu Software.

If Ubuntu Software does not work, you may press Ctrl+Alt+T to open terminal, and run the command below to install the tool:

sudo apt install gnome-shell-extension-manager

2. After installed the tool, press Super (the ‘Windows’ logo key) to open Activities overview. Then search for and open it.

3. When it opens, navigate to ‘Browse’ tab, search for “dash to dock animator“, and finally click on “Install” button to install the extension.

Other Linux may simply go to the extension page via the link button below. And, use the ON/OFF switch to install it.

Without any configuration, the animation should work immediately after properly installed the extension.

(Optional) To disable or remove the animation, either use Gnome Extensions App or Extension Manager (both available in Ubuntu Software), or turn off the slider in the extension web page (see the button above).

Disable or Remove via Extension Manager

NOTE: removing the extension need restart GNOME (log out and back in) to apply change.

Looking for an alternative app launching tool for your Linux? Findex is one with highly customizable interface and fast performance.

The app runs silently in the background. Once you hit the shortcut key, a search box pop-up in screen center allows to quickly search and open desired applications.

Findex search apps

The tool is super fast as it focuses on performance. It supports fuzzy searching and allows to configure the following things:

  • Search window width.
  • Minimize and maximize window height.
  • Highlight color for match content.
  • Icon size, result size, and shortcut key

How to Get Findex:

The current 0.6.0 release does not work on Wayland session, though it’s said to bring it back in later version. Which means so far, Ubuntu and Fedora need to switch to ‘Ubuntu on Xorg‘ or ‘Gnome on Xorg‘ from the login screen to be able to use the tool.

1. Firstly, download the tarball from the github release page:

2. Then extract it in file manager. Right-click on generated folder and select ‘Open in Terminal’ to open that folder as working directory in terminal.

3. Finally, run command in terminal to start it:

./findex

Run it first time to verify if it works!

To verify if it works, just press Shift + Space on keyboard. The search box should prompt up allows to type searching your applications.

4. To make Findex runs automatically at startup, run the commands below one by one in the same terminal window:

  • Move the executable file to system path via command:
    sudo mv findex /usr/bin
  • Move the services file into systemd folder:
    sudo mv findex*.path findex*.service /etc/systemd/user/
  • Finally, enable the services:
    systemctl --user enable findex.service
    systemctl --user enable findex-restarter.path

Copy to PATH, and make it auto-start

5. To configure the keyboard shortcut and search appearance, open terminal and run command:

gedit ~/.config/findex/settings.toml

Replace gedit with your system text editor. After saving changes, you need to restart the service by running command: systemctl --user restart findex.service.

Uninstall:

To disable the service, use command:

systemctl --user disable findex.service
systemctl --user disable findex-restarter.path

Then remove the executable file as well as service files:

sudo rm /usr/bin/findex /etc/systemd/user/findex*

For those want to unlock / decrypt PDF files, there’s now a stupid simple graphical tool to do the job in Linux.

It’s easy to encrypt you PDF files in Ubuntu Linux since the built-in LibreOffice office suite has the option on ‘Export as PDF’ dialog. However, there seems no easy way to remove password for PDF file, other than using qpdf command:

qpdf --decrypt --password=<PASSWORD> input.pdf output.pdf

unlockR is a new GTK4 application that use Libadwaita to provide a modern simple user interface to decrypt your PDF files.

It’s so simple that you just need to click ‘Open a File‘ to select your PDF, then type the password, and finally hit ‘Decrypt’. It doesn’t change the original file, but generates a new PDF without password protect.

As the picture shows, it has both light and dark mode that switches automatically according your system color scheme.

NOTE: This app is NOT about to crack password on a PDF file. You need the password to be able to decrypt it.

How to Install unlockR

It is a free open-software software works on both Linux and Windows. For Windows package, just grab the zip from github releases page:

For Linux, it offers the binary package via universal Flatpak. Ubuntu user need to first press Ctrl+Alt+T on keyboard to open terminal, and run command to install the Flatpak daemon:

sudo apt install flatpak

Next, install the app package via command:

flatpak install https://dl.flathub.org/repo/appstream/com.github.jkotra.unlockr.flatpakref

Like normal applications, search for and open it from ‘Activities’ overview (or start menu) after installation.

Uninstall:

To remove the Flatpak package, open terminal and run command:

flatpak uninstall --delete-data com.github.jkotra.unlockr

You may also clear useless runtime libraries via flatpak uninstall --unused.

For those who want to install the latest Tilix terminal emulator 1.9.5 in Ubuntu 22.04 LTS. You can now get it from PPA repository.

Tilix is a popular tiling terminal emulator, that allows to split terminal window horizontally and/or vertically, and drag and drop re-arrange them. It also has many other great features including sync input between terminals, background images, quake mode (drop-down terminal), and custom hyperlinks.

The terminal emulator package is available in Ubuntu repository, but old. Though, the latest v1.9.5 has been released for 5 months. Changes in Tilix 1.9.5 include:

  • Disable advanced paste when there is no linebreak like iTerm2
  • Add environment variable when in quake mode
  • Add possibility to configure always enabled regex
  • And various bug-fixes.

1. Add PPA

The unofficial PPA so far contains the latest package for Ubuntu 22.04 only. Due to dependency issue, it does not build in Ubuntu 20.04.

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

sudo add-apt-repository ppa:ubuntuhandbook1/tilix

2. Update package cache

Ubuntu now automatically refresh the package cache while adding PPA. But, you have to run apt update command manually in some derivatives, e.g., Linux Mint.

sudo apt update

3. Install Tilix

Finally, install the software package by running command in terminal:

sudo apt install tilix

After installation, search for and open Tilix either from start menu or by searching from ‘Activities’ overview, depends on which DE you have.

How to Uninstall:

For any issue, you can install ppa-purge and use the tool to purge PPA. Which will also downgrade all installed packages from that PPA to the stock version in your Ubuntu:

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

And if you need to terminal emulator any more, remove it either from Ubuntu Software or by running command in terminal:

sudo apt remove --autoremove tilix tilix-common

GNOME announced the first alpha for the next 43 stable series. See what’s new in this popular Linux desktop environments.

GNOME is the default desktop environment for Ubuntu and Fedora Workstation, and optional for Debian, Arch Linux and so forth.

The next v43 is planned for September 21, 2022. So far, it features new “Device Security” sub-settings page of “Privacy” in GNOME Control Center. With it, you can easily find out if “Secure Boot” is enabled in your machine.

Not sure if it’s unfinished or because of running in Virtual Machine. The shield icon has no description text. By clicking on it will show you current HSI security level, as well as options for “Minimal Protection”, “Basic Protection”, and “Extended Protection”. But, all of them shows only blank page for me.

Gnome Software now support for Web Apps. It as well allows swiping back in the shell using touchpad gestures. Gnome Weather now has a new ‘About’ dialog:

Other changes in GNOME 43 include:

  • Gnome Calendar now has a sidebar in main window, and has ability to zoom the Week view.
  • Dconf Editor now has a new app icon.
  • Gnome Text editor now support for opening local STDIN streams

Get GNOME 43 Alpha:

A GNOME OS installer image as well as the news file and source packages are available to download in the announce page below:

For those want to check PC hardware specs in Linux, CPU-X is a good choice for user switching from Microsoft Windows.

It’s a free open-source system profiling and monitoring application, that looks quite similar to CPU-Z for Windows. With it, you can check your CPU specification, vendor, codename, clocks, and L1/L2/L3 caches.

It also shows the motherboard manufacturer, model, BIOS brand and version, etc. As well, it shows graphic card vendor, driver, GPU chip, and basic operating system up-time, and monitor memory usage for you.

Benchmark is also available for running in either single or multiple cores. However, it does not provide a list of other CPU scores to compare with.

How to Install CPU-X in Linux:

The software is available in the official repositories of Ubuntu, Fedora, Debian Linux. User may simply search for and install it via your system package manager.

For Ubuntu user, simply search for and install it in Ubuntu Software:

CPU-X in Ubuntu repository is a little old. For the latest version with bug-fixes and updated database. Go download the “AppImage” from releases page:

Then, right-click on it and go ‘Properties’ to enable executable permission. And, finally click run the AppImage to launch the tool.

Sound does not work in your Ubuntu 22.04, and happen to have Everest ESSX8336 sound card in your machine? This tutorial may help!

ESSX8336 is one of the common used chips in recent laptops and tablets, such as Huawei Matebook D14~16, Gemini Lake laptop, and Chuwi Hi10X tablet. But, the current Linux Kernel does not support this sound card, though there seems to have patches (here and here) for it.

Until Linux Kernel officially adds the device support, you may build Kernel manually with the patch. Or use yangxiaohua’s custom kernel files to fix the issue.

NOTE: the steps below are done in an Intel machine. The commands in step 3 & 4 vary if you have AMD CPU.

1. This tutorial is tested on Ubuntu 22.04 with the 5.17 OEM Kernel. So, you may first press Ctrl+Alt+T to open terminal, and run command to install the kernel package:

sudo apt install --install-recommends linux-oem-22.04a

And restart computer to apply change.

2. Next, run command to grab the source of yangxiaohua’s custom kernel files:

git clone https://github.com/yangxiaohua2009/custom-kernel

3. Once done, navigate to that folder via command:

cd custom-kernel

And copy required files into system directories via:

sudo cp ./tplg/* /lib/firmware/intel/sof-tplg/
sudo cp sof-jsl.ri /lib/firmware/intel/sof/
sudo cp -r sof-essx8336 /usr/share/alsa/ucm2

4. Kernel 5.17 somehow does not correctly load the file, so you may need to rename filename from ‘sof-jsl-es8336-ssp1.tplg’ to ‘sof-jsl-es8336.tplg’

cd /lib/firmware/intel/sof-tplg && sudo cp sof-jsl-es8336-ssp1.tplg sof-jsl-es8336.tplg

5. Finally, edit the ‘/etc/modprobe.d/alsa-base.conf’ config file via command:

sudo gedit /etc/modprobe.d/alsa-base.conf

When file opens, add the line below to the end and save it.

options snd_soc_sof_8336 quirk=0x01

When everything’s done. Restart your machine and verify if sound’s working!

via: forum.ubuntu.org.cn

The free interior design application Sweet Home 3D released version 7.0 with many improvements. Here’s how to install it via the official tarball.

What’s new in Sweet Home 3D 7.0:

  • Include YafaRay rendering engine, which was previously available as plugin.
  • New toolbar option to toggle magnetism.
  • Add “Flat ceiling only” check box to the room modification dialog.
  • Option to hide edges when importing 3D models
  • Ability to directly enter the diagonal value during room creation
  • See the release note for more features.

How to Install Sweet Home 3D in Ubuntu & other Linux

It’s easy to install the software via Flatpak package, simply press Ctrl + Alt + T on keyboard to open terminal. And run the 2 commands below will do the job:

  • Install flatpak daemon:
    sudo apt install flatpak
  • Install Sweet Home 3D as Flatpak:
    flatpak install https://dl.flathub.org/repo/appstream/com.sweethome3d.Sweethome3d.flatpakref

In case you don’t like the sandbox application, here’s the step by step guide shows how to install the official tarball.

Step 1: Download the tarball

The software offers official packages available to download in the link page below:

For modern PC and laptop, select download the “SweetHome3D-7.0-linux-x64.tgz” package. Then, go to download folder, and extract the package.

Step 2: Move extracted folder to local bin.

Open another file manager window, press Ctrl + H to show hidden folders, and then navigate to “.local” folder.

Create the bin sub-folder if not exist under “.local”, and navigate to that folder. Finally, drag and drop the extracted software folder into this directory.

Step 3: Create app shortcut

Finally, press Ctrl+Alt+T on keyboard to open terminal. And run command to create an app shortcut file:

gedit ~/.local/share/applications/SweetHome3D.desktop

When file opens, paste the lines below:

[Desktop Entry]
Version=1.0
Name=Sweet Home 3D 7.0
GenericName=Interior 2D design application with 3D preview
GenericName[de]=Innenraumplaner
Comment=Interior design Java application for quickly choosing and placing furniture on a house 2D plan drawn by the end-user with a 3D preview
Exec=/home/USERNAME/.local/bin/SweetHome3D-7.0/SweetHome3D
Icon=/home/USERNAME/.local/bin/SweetHome3D-7.0/SweetHome3DIcon.png
StartupNotify=true
StartupWMClass=com-eteks-sweethome3d-SweetHome3D
Terminal=false
Type=Application
Categories=Graphics;2DGraphics;3DGraphics;
Keywords=interior;design;2D;3D;home;house;furniture;java;

As the picture shows, you have to replace the value of “Exec” and “Icon”. In file manager, navigate to the Sweet Home 3D folder under ‘.local/bin‘, you may then press Ctrl + L to highlight the folder path and then copy it into clipboard.

If you have done everything correctly, the app icon should appear in ‘Activities’ overview search result.

Uninstall:

To uninstall the package, simply remove the software folder under ‘.local/bin‘, as well as the .desktop file you created under ‘.local/share/applications’.

You can do the job either via File manager or by running the command below in terminal:

rm -R ~/.local/bin/SweetHome3D* ~/.local/share/applications/SweetHome3D.desktop