Archives For Howtos

This tutorial shows how to turn off CPU turbo boost, and/or set constant maximum (or minimum) CPU speed in Ubuntu 22.04 and/or Ubuntu 24.04.

Disable turbo boost will limit your CPU speed to prevent running over the base frequency. It’s useful to save power and prevent your computer from overheating. For choice, user can also set constant CPU speed for either minimum power consumption or maximum performance.

Most machine today has option in the BIOS page to enable/disable and even change CPU frequency, however, it’s not flexible.

For Linux, the Kernel has a tool called cpupower can do the job from command line, and user can turn on/off turbo boost through sysfs. Gnome Desktop even has a GRAPHICAL extension (scroll-down to see step 4) to make things easier.

Continue Reading…

This simple tutorial shows how to install Nicotine plus, the graphical client for the Soulseek peer-to-peer network, in Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 24.04.

Soulseek is an ad-free, spyware free, and plain free file sharing network, make it easy for you to find people with similar interests, and make new discoveries!

And, Nicotine is a lightweight, pleasant, free and open source (FOSS) alternative to the official Soulseek client, while also providing a comprehensive set of features.

The app used to be available in Ubuntu system repository, but removed due to lack of development. It’s later revived and finally added back to Ubuntu 24.04 repository.

For current Ubuntu 24.04, Ubuntu 22.04, Ubuntu 20.04, and even Ubuntu 18.04, user can install it from the official PPA.

Nicotine in Ubuntu 22.04

Continue Reading…

This is a step by step beginner’s guide shows how to install VS-Codium IDE in Ubuntu, using 4 different ways.

VSCodium is a free and open-source software binaries of VS Code. It’s NOT a fork, but a community-driven, freely-licensed binary distribution of Microsoft’s editor VS Code.

The VSCodium project was born due to:

Microsoft’s vscode source code is open source (MIT-licensed), but the product available for download (Visual Studio Code) is licensed under this not-FLOSS license and contains telemetry/tracking.

It’s a good choice as a telemetry-less version of VS Code without rebuilding by programmers themselves.

Codium in Ubuntu

Continue Reading…

This simple tutorial shows how to install the latest version of libheif library, for better HEIF and AVIF image formats support, in Ubuntu 24.04, Ubuntu 22.04 and/or Ubuntu 20.04 LTS.

Libheif is a popular free open-source library for encoding and decoding HEIF and AVIF. Which, also has partial support for JPEG-in-HEIF, JPEG2000, uncompressed (ISO/IEC 23001-17:2023) capabilities.

It supports libde265 and/or ffmpeg for decoding HEIC images, and x265/kvazaar for encoding. For AVIF images, it uses either AOM/dav1d for decoding, and AOM/rav1e/svt-av1 for encoding support.

As well, it has command line tools to convert HEIF/HEIC to other images, and convert images to HEIF/HEIC.

Many popular applications, including GIMP, Darktable, ImageMagick, Krita, and gThumb, use libheif for HEIF and/or AVIF support. And, the library is usually installed as dependency along with them.

gThumb use libheif for AVIF support

Continue Reading…

How to Install SABnzbd in Ubuntu 22.04 & 24.04

Last updated: January 4, 2024 — 6 Comments

This simple tutorial shows how to install and setup SABnzbd, Usenet download tool, in Ubuntu 22.04 and Ubuntu 24.04.

SABnzbd is a free open-source program to download binary files from Usenet servers. Many people upload all sorts of interesting material to Usenet and you need a special program to get this material with the least effort.

The app makes Usenet as simple and streamlined as possible by automating everything. All you have to do is add an .nzb. SABnzbd takes over from there, where it will be automatically downloaded, verified, repaired, extracted and filed away with zero human interaction.

Continue Reading…

This is a step by step beginner’s guide shows how to install Telegram instant messaging app in Ubuntu 22.04 & Ubuntu 24.04.

The popular Telegram Messenger is available in most platforms. For Linux, it available as official tarball, universal Flatpak ans Snap packages. And, Ubuntu has third-party repositories to make it easy to keep updated.

So, as far as I know there are 4 ways to install the app in Ubuntu Linux. Choose any one that you prefer.

Telegram Desktop (image from flathub.org)

Continue Reading…

Scribus, the popular free open-source desktop publishing software, announced the new stable 1.6.x release series on the first day of 2024!

It’s been more than 4 years since the last stable 1.4.8, while 1.5.x release series is available as development branch.

The new Scribus 1.6 includes many new features! If you have the default 1.5.8 dev package from Ubuntu system repository, then most of them are already in use.

Features include:

  • Resource Manager for online resources such as dictionaries
  • canvas rendering improvements on Hi-DPI screens.
  • New commands added to scripting engine
  • New PDF-based output preview
  • Adobe® Illustrator® look like “Symbol” or clone feature.
  • most often requested text features

Continue Reading…

This simple tutorial shows how to install the most recent xxHash for faster hash checking in Ubuntu Linux.

xxHash is extremely fast non-cryptographic hash algorithm, working at RAM speed limit. It can be useful to check integrity for large amounts of data, index data, and/or used in cryptographic applications like digital signatures.

The library includes the following algorithms:

  • XXH32 : generates 32-bit hashes.
  • XXH64 : generates 64-bit hashes.
  • XXH3/XXH128 (since v0.8.0): generates 64 or 128-bit hashes, using vectorized arithmetic.

I’m new to hash algorithm, but doing hash check regularly when trying out different Linux distributions. And I use sha256, since the most sites provide sha256sum files for the hash code of their disco images.

Continue Reading…

This is a step by step beginner’s guide shows how to install VS Code IDE and keep it up-to-date in Ubuntu 22.04, Ubuntu 23.04, Ubuntu 24.04 using 3 different ways.

Microsoft provides official code packages for Linux through native .deb (for Debian/Ubuntu), .rpm (for Fedora/SUSE), and universal Snap package run in sandbox.

For choice, there’s also a community maintained Flatpak package which also runs in sandbox.

So, there are 3 common ways to install this IDE in your Ubuntu Desktop!


Continue Reading…

Alacritty, is a free and open-source terminal emulator, written in Rust programming language. It works in Linux, Windows, MacOS, and uses OpenGL API for GPU hardware acceleration for fast response and high performance.

The terminal emulator features vi mode, allows to move around the viewport and scrollback using the keyboard. And, vi search and normal search for anything in the scrollback buffer.

Option 1: Install Alacritty via Snap package

For Ubuntu users, the easily way to install the terminal emulator is using the Snap package. It’s available in Ubuntu Software (App Center for 23.10), though run in sandbox.

Alacritty terminal emulator in App Center

Or, user can install it by running the command below in terminal:

snap install alacritty --classic

Option 2: Install Alacritty through Cargo (official)

The terminal emulator is also available to install through Cargo, the Rust package manager.

1. Just open terminal (Ctrl+Alt+T) and run command to install Cargo first:

sudo apt install cargo

2. Then, install the required dependency packages:

sudo apt install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3

3. Finally, use cargo to install the terminal package:

cargo install alacritty

When done, run ~/.cargo/bin/alacritty to start the terminal.

4. The cargo package manager does not install the desktop entry for Alacritty. So, you need to manually create one by running command:

nano ~/.local/share/applications/alacritty.desktop

Then, paste following lines in the terminal window:

[Desktop Entry]
Type=Application
Exec=/home/ji/.cargo/bin/alacritty
Icon=alacritty
Terminal=false
Categories=System;TerminalEmulator;
Name=Alacritty
Comment=A fast, cross-platform, OpenGL terminal emulator
StartupNotify=true
StartupWMClass=Alacritty
Actions=New;

[Desktop Action New]
Name=New Terminal
Exec=/home/ji/.cargo/bin/alacrittyalacritty

NOTE: You need to replace ji to your username in the line above. Then, press Ctrl+S to save, and Ctrl+X to exit.


For the icon to display, run single command below to download img file and save to local icon folder:

wget https://raw.githubusercontent.com/alacritty/alacritty/master/extra/logo/compat/alacritty-term.png -O ~/.local/share/icons/alacritty.png

Or, you can download the icon from github web page and manually copy to .local/share/icons directory.

Option 3: Ubuntu PPA

For those who prefer the Ubuntu PPA repository, keep an eye on this launchpad page for all 3rd party PPAs.

Uninstall Alacritty

Depends on how you install the terminal emulator, either remove the Snap package from Ubuntu Software or by command:

snap remove alacritty

Or, run command to uninstall the cargo package:

cargo uninstall alacritty

You may also remove Cargo itself, if there’s no other rust packages installed, as well as some dev dependency libraries to free up some disk space.

sudo apt remove --autoremove cargo cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev

Also remove the desktop entry (shortcut file) by running command:

rm ~/.local/share/icons/alacritty.png ~/.local/share/applications/alacritty.desktop