Archives For Howtos

The Deluge BitTorrent client got an update after more than 2 years of development by releasing v2.0.4 and then v2.0.5 with a quick fix.

Deluge is a lightweight, free and open-source, and cross-platform BitTorrent client written in Python. It uses libtorrent library and features full encryption, GTK, Web and console UI. And, it has a daemon package to run as a system service, allowing user to control remotely over the web.

The latest Deluge 2.0.5 was released a few days ago, introduced automatic detection of clipboard for the GTK UI. When you copied torrent URL or magnet link, the app will automatically open the link on focus, allowing to start downloading with a single mouse click.

Automatic detect URL from clipboard and open the dialog to start downloading

It also added menu option “View -> Tabs -> Position” to change the tabs (e.g., Status, Details, Options, Tracker) to top, left, right, or left side of window bottom.

Other changes in Deluge 2.0.5 (and 2.0.4) include:

  • Hide pygame community banner in console.
  • Add menu option to copy magnet URI for Web UI.
  • Add country flag alt/title for accessibility for Web UI.
  • Add workaround libtorrent 2.0 file_progress error
  • Fix Python 3.8 compatibility
  • Various bug-fixes.

How to Install Deluge 2.0.5 in Ubuntu via PPA:

The app provides source tarball, Windows, macOS, and Linux packages available to download at its website.

For Ubuntu / Linux Mint based systems, an official Ubuntu PPA is available with supports for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.04, Ubuntu 21.10, and next Ubuntu 22.04.

1.) Add the Deluge PPA

Either press Ctrl+Alt+T on keyboard or search for and open terminal from start menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:deluge-team/stable

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

2.) Install or upgrade Deluge BitTorrent Client:

If you’ve an old version installed on your system, use ‘Software Updater’ or Update Manager to upgrade the package to the latest:

Or, run command in terminal to check updates and install the client:

sudo apt update && sudo apt install deluge

The command will install the app with GTK user interface. For daemon (run as service), web UI, or console UI, install deluged, deluge-web, deluge-console package instead.

Uninstall / Downgrade Deluge:

For any reason, you may purge the Ubuntu PPA which also downgrade installed packages to the stock version in Ubuntu universe repository:

sudo apt install ppa-purge && sudo ppa-purge ppa:deluge-team/stable

Or remote the BitTorrent client by running command:

sudo apt remove --auto-remove deluge*

Without purging the PPA, you may manage it via “Software & Updates” tool under “Other Software” tab.

For those running Ubuntu on laptop or notebook, there’s an ‘Airplane Mode’ option available in Wi-Fi settings page. When it enabled, Wi-Fi, Bluetooth and mobile broadband are turned off to disable wireless signal transmissions.

It’s usually good when to turn on the airplane mode. But, when disable this mode, Bluetooth gets turned on while user may only need Wi-Fi. So, a Gnome Extension ‘Sane Airplane Mode’ is created and allows to choose which devices to re-enable when disable the airplane mode.

Configure Airplane disable behavior

Note this extension changes the behavior only when you disable the Airplane mode. It does not support broadband so far. And, it has an issue that no way to automatically enable Bluetooth when turning off the airplane mode. User needs one more click in Bluetooth setting to enable the devices if want.

Install Sane Airplane Mode extension

The extension so far supports for GNOME version range from 3.36 to 43. Meaning, it works on Ubuntu 20.04, Ubuntu 22.04 and Ubuntu 22.10.

Install the Extension for Ubuntu 22.04 & higher

For Ubuntu 22.04 and higher, first search for and install “Extension Manager” from Ubuntu Software.

Install Extension Manager in Ubuntu 22.04+

Then launch “Extension Manager”, and use it to search and install the “Sane Airplane Mode” extension under ‘Browse’ tab.

Once installed, switch back to ‘Installed’ tab. Then open the configuration page for that extension, and use the ON/OFF switches to configure the airplane mode behavior.

Install the Extension for Ubuntu 20.04

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

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

And ‘gnome-shell-extension-prefs’ package is also required to install the app to manage Gnome Extensions.

2. In your web browser, go to the extension web page and turn on the toggle icon to install it:

 

Don’t see the toggle icon? Use the ‘Click here to install browser extension‘ link to install browser extension and refresh the page.

Once installed, search for and open ‘Gnome Extensions’ app from activities overview:

Manage Gnome Extensions

Click on the gear button in the right of the extension to open settings and change the options status as you want.

That’s all. Enjoy!

Has a backlit keyboard in your PC? This extension makes possible to control the backlight brightness by adding a slider bar into upper right corner system tray menu in GNOME desktop.

Under system volume and screen brightness sliders, it adds a third slider bar allows to easily control the keyboard backlight.

The extension so far supports for GNOME 40 and GNOME 41. Which means, you need Ubuntu 21.10, Fedora 34 / 35, Arch Linux, or Manjaro Linux, etc. And, of course you must have a backlit keyboard that’s already properly working in your system.

The extension just provides easy way to control backlight brightness, so user does no longer need to open Gnome control center (aka ‘Settings’) every time or even edit any config file. It does NOT provide any Linux driver in case your backlit keyboard is not working properly.

Install Keyboard Backlight Slider Extension:

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

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

Here ‘gnome-shell-extension-prefs’ package is also recommended to install the app to manage Gnome Extensions.

2. In your web browser, go to the extension web page and turn on the toggle icon to install the extension:

NOTE: Ubuntu 21.10 has Firefox as Snap package, which does not support installing Gnome Extensions so far. Use another browser or install Firefox as native DEB.

Don’t see the toggle icon? Use the ‘Click here to install browser extension‘ link to install browser extension and refresh the page.

Once installed, you should see the slider bar in system tray menu as the top picture shows. To turn it off or remove the extension, search for and open ‘Gnome Extensions’ app from activities overview:

Manage Gnome Extensions

The app lists all available Gnome Extensions as well as options to toggle on/off and uninstall.

The Kdenlive video editor 21.12 was released this Monday with exciting new features!

As the last release in 2021, it introduced Slip trimming mode support. By selecting a clip in the timeline, use may use menu “Tool -> Slip tool” to drag moving the clip. This will change the start and end points of the clip simultaneously while keeping the original duration.

Another big new feature is Multicam Editing. It allows to edit the multiple cameras’ footage. By adding video clips in different tracks but at the same position, user may enable it via “Tool -> Multicam tool“. Then, either press corresponding numbers (e.g., 1 for track v1 and 2 for track v2) or click in monitor to trim the clips in the desired track.

Kdenlive Slip Tool

Other changes in Kdenlive 21.12 include:

  • Initial Ripple edit implementation.
  • DaSiamRPN visual tracking algorithm.
  • New object obscure: Pixelate and Opaque Fill.
  • Multiple project Bins and speaking of Bins support.
  • User manual via Sphinx.
  • Stable for macOS with Intel.
  • Update code base license to GPLv3.

How to Install Kdenlive 21.12 in Ubuntu / Linux Mint:

The Kdenlive official PPA has been updated with the latest packages for Ubuntu 20.04, Ubuntu 21.04, Ubuntu 21.10, and their derivatives, e.g, Linux Mint 20, Elementary OS 6, and Zorin OS 16.

1.) Add Ubuntu PPA:

Open ‘terminal’ from your system application menu, then run command to add the PPA:

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

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

2. ) Install or Upgrade Kdenlive:

If an old version of kdenlive was installed, you can upgrade it via Update Manager:

Or simply run command in terminal to install the video editor:

sudo apt install kdenlive

NOTE for Linux Mint or may be other Ubuntu based systems, you need to update the package cache manually by running sudo apt update command before installing the software.

Uninstall:

To purge the PPA as well as downgrade Kdenlive package, run command in terminal:

sudo apt install ppa-purge && sudo ppa-purge ppa:kdenlive/kdenlive-stable

To remove the PPA only, run command:

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

And to remove Kdenlive, run command:

sudo apt remove --autoremove kdenlive kdenlive-data

Liferea feed reader and news aggregator released version 1.13.7 a few days ago as the latest development release.

Liferea is a GTK+3 news reader with an embedded web browser. It supports for reading articles offline, force fetch full article text using HTML5 extraction, and subscribing to HTML5 websites that do not even have a feed.

It may also permanently save headlines in news bins, and supports for synchronizing with “TinyTinyRSS”, “TheOldReader”, and “Reedah”.

The 1.13.7 release continues working on the ‘Reader mode’. User now can toggle on/off Reader mode by right-clicking on lower right HTML view area via context menu option. And, it now allows to convert TinyTinyRSS subscriptions to local scriptions.

Other changes in Liferea 1.13.7 include:

  • Support for user-agent string customization and anonymization.
  • Add ‘Always show in Reduced Feed List’ option in news bin properties.
  • Execute feed pipe/filter commands asynchronously.
  • Fix HTML view blanking when following links by left click
  • Fix UI blocking when using command pipes or feed filters
  • Fix truncated content after Youtube embeds
  • Fix wrong (doubled) number of unread items
  • And other fixes, translation and documentation updates.

How to Install Liferea in Ubuntu Linux:

The RSS feed reader is available to install via universal Flatpak package.

Some users stick to the native deb package, so I uploaded it into may personal PPA for Ubuntu 20.04, Ubuntu 21.04, Ubuntu 21.10 and derivatives, e.g., Linux Mint 20. Due to outdated dependency library, Ubuntu 18.04 is not supported in this PPA.

1. Add the Ubuntu PPA:

First, either search for and open terminal from start menu, or simply press Ctrl+Alt+T on keyboard. When terminal opens, run command 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. Install / Upgrade Liferea:

Since Ubuntu 20.04+ checks package updates automatically while adding PPA, you can now run command to install the feed reader:

sudo apt install liferea

or launch ‘Software Updater’ and upgrade the package from an old release. NOTE: some Ubuntu based systems may require to manually update cache via sudo apt update command first.

How to Remove Liferea and the Ubuntu PPA:

The PPA also contains some other software packages, so you may remove it after installing Liferea, by either running command:

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

or using “Software & Updates” utility under “Other Software” tab to manage all third-party repositories.

And to remove Liferea feed reader, use command:

sudo apt remove --autoremove liferea

Use LogMeIn Hamachi VPN service? Haguichi is a graphical app to make easy to join, create and manage Hamachi networks in Linux.

Haguichi is a free and open-source app that provides a stylish GTK UI for the official Hamachi for Linux. It has both dark and light window mode that shows a searchable and sortable network list in the left and details and actions in the right.

It’s well integrated with the Gnome desktop with notifications and system tray indicator applet, and make it easy to backup and restore configuration, as well as manage customize commands via Preferences dialog. And, it supports a list of keyboard shortcuts to make network and command actions more efficient.

Also, it’s being developed to fit well in other desktop environments (e.g., MATE, Cinnamon, KDE) including app theme, icon set, file manager and terminal support.

How to Install Haguichi in Ubuntu:

The app has official PPA so far contains the latest packages for Ubuntu 24.04, Linux Mint 22, and Ubuntu 24.10, as well as old v1.4.6 for Ubuntu 16.04, 18.04, 20.04, and 22.04.

Besides modern 64-bit desktop PC and laptop, the PPA also supports arm64/armhf CPU architectures (e.g., Apple Silicon and Raspberry Pi)

1. Add the PPA:

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

sudo add-apt-repository ppa:ztefn/haguichi-stable

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

2. Update system package cache:

Ubuntu now automatically refresh system package cache while adding PPA with the add-apt-repository command. But if you’re following this tutorial in Linux Mint, you may run the command below to update cache manually:

sudo apt update

3. Install Haguichi:

Finally, use command to install the app:

sudo apt install haguichi

By keeping the PPA, user may always has the app up-to-date either via Software Updater or by running sudo apt upgrade regularly.

4. Install Hamachi for Linux:

As a graphical front-end, the app needs the official command line client to work properly. Just download the “amd64.deb” for PC or “armel/armhf.deb” for ARM device from the link below:

Then install the deb via your favorite package manager (usually double-click .deb package will bring up default package installer).

How to Install Haguichi in other Linux:

The app is also packaged for other Linux systems. Arch Linux may get it from AUR. Fedora has the copr repository. And it’s available in official openSUSE repositories.

For Debian, Raspberry Pi OS and Kali Linux, there’s another official PPA repository present. Though it’s built against Ubuntu Bionic (18.04), and user may run commands below one by one to properly add PPA and install Haguichi.

sudo sh -c 'echo "deb http://ppa.launchpad.net/ztefn/haguichi-debian/ubuntu bionic main" > /etc/apt/sources.list.d/haguichi-debian.list'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB75B0EBE2C821AC
sudo apt update
sudo apt install haguichi

The app also is available as universal Flatpak app to work on most Linux systems.

How to remove Haguichi:

To remove the app, simply run command in terminal:

sudo apt remove --autoremove haguichi

And, remove PPA either via command below:

sudo add-apt-repository --remove ppa:ztefn/haguichi-stable

Or use the ‘Software & Updates’ utility under Other Software tab.

As well, you may remove the hamachi client as you mind via command:

sudo apt remove --autoremove logmein-hamachi

Remember the old fashioned Desktop Cube effect? Almost 10 years ago, Ubuntu user may enable this Compiz effect, so press and hold Ctrl+Alt key and drag the mouse will turn Desktop into a rotatable cube.

Desktop Cube effect in Ubuntu 12.04

Now there’s an extension to reproduce this effect in GNOME 40 & 41. Which means, users of Ubuntu 21.10, Fedora Workstation 35, or Arch Linux so far may try out this cool 3D effect in their desktop.

The extension is now in early stage. User may not so far rotate the “cube” for an entire round, but it’s working on new features including:

  • Free rotation of cube via middle mouse button.
  • Proper multi-monitors support.
  • Sky boxes.
  • Cuboid transitions when switching workspaces via keyboard shortcuts.
  • And more.

How to Install Desktop Cube Extension:

Ubuntu users need to press Ctrl+Alt+T to open terminal, and run command to make sure chrome-gnome-shell package is installed:

sudo apt install chrome-gnome-shell

Then, go to the extension web page and turn on the slider icon to install it:

If you don’t see the toggle icon, click the link says’Click here to install browser extension‘ to install browser extension and refresh the web page.

Once installed, either press Super/Windows key or click ‘Activities’ to trigger overview, then switch workspaces via Ctrl+Alt+Arrow to start the effect.

NOTE: To get better effect, it’s better to have more than 3 workspaces. Just open or move a window to the second workspace, it will create a new workspace automatically. Or, install and open Gnome Tweaks and set a static number of workspaces:

Uninstall Desktop Cube extension:

To remove the extension, just go to the extension web page via the button above and turn off the slider icon.

Or, search for and install ‘Gnome Extensions‘ app in Ubuntu Software (Gnome Software) and use the tool to manage extensions.

Mozilla Firefox web browser 95.0 was released today with security and performance improvements.

The release introduced new RLBox sandboxing technology that uses WebAssembly to isolate potentially-buggy code. And, it’s enabled by default on all platforms (desktop and mobile) to protect users from accidental defects as well as supply-chain attacks.

For Windows 10 and Windows 11, Firefox now is available in Microsoft Store for easy install. MacOS user now has less CPU usage during event processing, and less power usage when decoding video (e.g., streaming Netflix and Amazon Prime Video).

Firefox in Microsoft Store

Other changes in Firefox 95 include:

  • Picture-in-Picture (pop out video) now has option to toggle buttons to left/right.
  • Enable site isolation for all users to protect against side-channel attacks such as Spectre.
  • Faster content process startup on macOS.
  • Improved page load performance.
  • Various bug-fixes.

How to Get Firefox 95 in Ubuntu Linux:

For Ubuntu 21.10 with the pre-installed Firefox as Snap, user should now has the latest release since it updates automatically. Other Ubuntu releases may search for and install it from Ubuntu Software (snapcraft.io/firefox).

For those prefer the classic DEB package (defaults in Ubuntu 21.04 & earlier), just wait and Ubuntu will publish the package in next few days. At that time, either use ‘Software Updater‘ or run command below will upgrade the Firefox package:

sudo apt upgrade

Mozilla also provides Linux tarball in its website. User may just extract it and click run the executable file to launch the web browser. Along with the release note, get it from the link below:

This simple tutorial shows how to install the latest Tesseract OCR engine in all current Ubuntu releases (Ubuntu 24.04, Ubuntu 22.04, and Ubuntu 20.04) via PPA.

Tesseract is the most accurate open-source OCR engine that reads a wide variety of image formats and converts them to text in over 40 languages. Tesseract 5.0.0 was officially released a few days ago that features:

  • Faster training and OCR performance while less memory usage via ‘fast bloats’.
  • Support for latest macOS and Apple Silicon
  • Better ARM/ARM64 support.
  • API improvements and more.

How to Install Tesseract OCR in Ubuntu:

The optical character recognition engine is available in Ubuntu repositories though it’s always old.

Thanks to Alexander Pozdnyakov, the maintainer of Tesseract OCR in Debian/Ubuntu official repository, also maintains few PPAs with the latest packages. And, most CPU architectures (amd64, i386, arm64/armhf, ppc64el, s390x) are supported.

Option 1: Add Tesseract 4.x PPA

For the latest release of Tesseract OCR 4 (v4.1.3 so far), the stable PPA contains the packages for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.10, and old Ubuntu 16.04/14.04.

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:alex-p/tesseract-ocr

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

Option 2: Add Tesseract 5 PPA

The new 5.x release series (5.4.1 so far) is available in the another PPA for Ubuntu 24.04, Ubuntu 22.04, and Ubuntu 20.04.

Also, press Ctrl+Alt+T to open terminal and run command:

sudo add-apt-repository ppa:alex-p/tesseract-ocr5

NOTE: install the OCR from this PPA will override the old 4.x packages, though it’s not 100 % API compatible with v4.0.

Option 3: Add Tesseract repository for Debian:

For Debian Stretch, Buster, Bullseye, and Sid, there’s apt repositories for both Tesseract v4 and v5. User may follow the link button below to add the repository:

Update and Install Tesseract:

After adding a PPA or repository from the previous options, run command in terminal to refresh system package cache in case you’re still running old Ubuntu 18.04 and earlier:

sudo apt update

And, finally install the software engine via command:

sudo apt install tesseract-ocr

Or, upgrade the package using Software Updater:

How to Remove PPAs & uninstall Tesseract OCR:

To remove the PPAs, either run previous add-apt-repository command with --remove flag, or use Software & Updates utility under ‘Other Software’ tab.

To remove OCR engine, use command:

sudo apt remove --autoremove tesseract-ocr tesseract-ocr-*

You may also remove the libtesseract* package, which will however remove other app packages (e.g., gImageReader) that depends on it.

For those don’t like the Snap package, this is a step by step guide shows how to install latest Blender via its official Linux tarball in Ubuntu.

The latest Blender is quite easy to install in Ubuntu since it’s available in Ubuntu Software. However, it’s Snap package!

For choice, the Blender foundation provides the portable Linux tarball, but it lacks app shortcut for launching from system start menu. So, I’m writing this how to tutorial to deal with it.

NOTE: This tutorial should work on most Linux (e.g., Debian, Fedora, Linux Mint) that support .desktop file, though the title said for Ubuntu.

Install Blender via Linux Tarball:

1. Download Linux Tarball

First, go to the official download page. Click download Blender for Linux. It’s a 64-bit tarball ‘blender-x.x.x-linux-x64.tar.xz‘ for modern PC/laptop:

After downloading the package, extract, and finally click run the executable file will launch the 3D creation software.

If you want to make it show in system start menu (Activities overview search results), you need to do following more steps.

2. Extract Tarball to /opt for global use:

Here I’m going to extract the tarball to /opt directory and create app shortcut for Blender.

1.) Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to backup old blender folder under ‘/opt’ if any:

sudo mv /opt/blender /opt/blender.back

Ignore ‘No such file or directory’ output. It means you don’t have old file to backup.

2.) Create new blender folder under /opt:

sudo mkdir -p /opt/blender

3.) Extract Blender tarball from Downloads folder to the new created folder:

sudo tar -Jxf ~/Downloads/blender-*-linux-x64.tar.xz --strip-components=1 -C /opt/blender

NOTE: Instead of running the commands above in terminal, user may decompress the tarball in file manager and move source folder to desired location. However, moving to /opt needs root permission. So, open file manager via sudo nautilus ~/Downloads command is required

3. Verify if the Blender executable works:

After extracting the Linux tarball into /opt/blender. User may run command to list that directory to verify:

ls /opt/blender

And, run this command should launch the software:

/opt/blender/blender

Sometimes, app may refuse to launch due to missing shared library. If so, copy the library name and search in packages.ubuntu.com under ‘Search the contents of packages’ to find out the required package and install it.

4. Create app shortcut for Blender:

The Linux tarball includes the shortcut file by default, though it won’t work since PATH to executable varies depend where you put the folder. Run command in terminal to open the file via gedit text editor:

sudo gedit /opt/blender/blender.desktop

For Ubuntu 22.10+, replace gedit with gnome-text editor in command. For non-GNOME desktop, use mousepad for XFCE, xed for cinnamon, or nano command line editor works for most cases.

When it opens, change the ‘Exec’ and ‘Icon’ lines into:

Exec=/opt/blender/blender %f
Icon=/opt/blender/blender.svg

Then, save the file. For nano text editor, press ctrl+x, hit y and then Enter to save it.

Edit Blender Desktop file

Finally, copy the file to either ‘.local/share/applications’ for single user use, or ‘/usr/share/applications’ for global use:

sudo cp /opt/blender/blender.desktop ~/.local/share/applications/

Here I copied the app shortcut file to local folder for single user use. And, the app icon shows in ‘Activities’ overview search result immediately. Though, it’s better to change the ownership to yourself.

sudo chown $USER:$USER ~/.local/share/applications/blender.desktop

NOTE: If you still have old Blender package in system, there may be duplicated app icons.

Remove Blender:

To uninstall Blender installed via previous steps, simply remove the folder under /opt directory via command:

sudo rm -R /opt/blender

And remove the app shortcut file via:

rm ~/.local/share/applications/blender.desktop

In case you didn’t change the ownership, add sudo at the beginning to get pass permission issue.