Archives For November 30, 1999

The free cross-platform Deluge BitTorrent client released version 2.1.0 one day ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04.

Deluge is a fully-featured torrent downloading app with GTK, web UI, and command line interfaces. The app features protocol encryption, DHT, Local Peer Discovery (LSD), Peer Exchange (PEX), UPnP/NAT-PMP, web seeds, stream torrent and more.

The new 2.1.0 was released with minimum libtorrent requirement increased to v1.2. Python 2 is no longer supported! And, Python 3.6 is the minimum requirement of the programming language.

New features in Deluge 2.1.0 include:

  • Add context menu option to copy magnet URI.
  • Add support for IPv6 in host lists.
  • Add systemd user services, though I didn’t see them in PPA packages.
  • Add is_interface and is_interface_name to validate network interfaces.
  • Add support for pygeoip dependency for location lookup.
  • Add plugin keys to get_torrents_status
  • Add support for SVG tracker icons.
  • Hide passwords in config logs.

There are as well various bug-fixes, see the release note for details.

How to Install Deluge 2.1.0 in Ubuntu:

The software offers official binary packages for downloading at its website.

For Ubuntu, Linux Mint, Pop! OS, etc, there’s an official Ubuntu PPA contains the packages for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.10, Ubuntu 22.04, and other Linux based on them.

1.) Add the PPA.

Firstly, search for and open terminal from system start menu (“Activities” overview). Or, just press Ctrl+Alt+T shortcut keys on keyboard.

When terminal opens, paste the command below into it and hit Enter to add the PPA:

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

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

2.) Install / Update Deluge

If you have an old version of the software package installed on your system, simply open “Software Updater” should prompt you the updates of the BitTorrent Client:

If not, run commands below one by one to refresh package cache and install the software packages:

sudo apt update
sudo apt install deluge

For choice, you may replace deluge with deluged for server, deluge-console for command line interface, or deluge-web for web UI.

After installation, open the app from system start menu (or search in “Activities” overview) and enjoy!

How to Remove Deluge:

To remove the Ubuntu PPA, either run the command below in a terminal window:

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

Or, remove the source line by opening “Software & Updates” utility and navigate to “Other Software” settings tab:

And, remove the torrent client package easily by running command in terminal:

sudo apt remove --autoremove deluge deluge-common

That’s all. Enjoy!

The Fragments BitTorrent client finally released version 2.0. It’s now uses Rust, GTK4 and the new Libadwaita library to provide a stylish user interface for those running Linux with GNOME desktop.

For those never heard of Fragments, it’s a free open-source torrent app that uses Transmission as backend for transferring data. With it, user may starting downloading via:

  • click a magnet link
  • copy magnet into clipboard,
  • or add torrent via ‘+’ icon.

Fragments dark mode

By releasing version 2.0, it now has the ability to control remote Fragments or Transmission sessions. Simply click the option in hamburger menu, type a name and the IP address of remote machine. In advanced settings, toggle on/off SSL and specify the port if default one is not in use.

The header bar will turn purple and display a subtitle name indicates you’re in control of a remote session.

Instead of expanding the downloading item, it now shows the detailed information via a pop-up dialog. It displays the network speed, total up and downloaded data, as well as a few action buttons.

Other features include:

  • New context (right-click) menu.
  • Copy current download as Magnet link into clipboard.
  • Statistics about the current session
  • Rework preferences dialog with more options.

How to Install Fragments in Ubuntu & other Linux:

The software is available to install as Flatpak package. Open terminal by searching from ‘Activities’ overview screen. When it opens, run following commands one by one:

1.) Install Flatpak framework if you don’t have it installed by running command:

sudo apt install flatpak

2.) Add flathub, the main repository hosts a large list of flatpak packages:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

3.) Finally install the BitTorrent client via command:

flatpak install flathub de.haeckerfelix.Fragments

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

How to remove Fragments BitTorrent Client:

To uninstall the app, simply run command in a terminal window:

flatpak uninstall --delete-data de.haeckerfelix.Fragments

That’s all. Enjoy!

When clicking a magnet link in Chrome browser, it pops-up with “Open xdg-open” option allows to launch the default app to start the downloading.

Unlike Firefox, Google Chrome does not offer an option to choose which app to handle the link. Instead, it launches the default app directly. For those want to change this default app to handle magnet links, here’s how to do the trick in Ubuntu.

Click “Open xdg-open” to open link via default app

Step 1: Tell the default app for magnet links:

Firstly, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run the command below will tell the default app for magnet links:

xdg-mime query default x-scheme-handler/magnet

Here xdg-mime is the standard wrapper. User may also run this command instead, which will also output the registered applications:

gio mime x-scheme-handler/magnet

Tell the default app for magnet

Step 2: Set/Change the default app for magnet links:

As the previous steps shows, the both command also support for changing the default app. Say set “QBittorrent” as default app for magnet link, use command:

xdg-mime default org.qbittorrent.qBittorrent.desktop x-scheme-handler/magnet

Or use command:

gio mime x-scheme-handler/magnet org.qbittorrent.qBittorrent.desktop

For any other app, replace org.qbittorrent.qBittorrent.desktop in the previous commands via the .desktop file. You may even set an un-registered app as default, and gio command will register it automatically.

In addition, in case you don’t know the filename of the .desktop file for your app, try running following commands one by one to find it out:

  • First, open terminal and run command to install mlocate (or plocate for 22.04 & higher):
    sudo apt install mlocate plocate
  • Then, update the database:
    sudo updatedb
  • Finally, search the .desktop file for your torrent app:
    locate "*ransmission*desktop"

    In command, replace ransmission with the keyboard for yours. Its case sensitive! I skipped the first letter because which one (‘T’ or ‘t’) is in use for the file-name.

Most torrent clients today have ability to detect clipboard for magnet links. However, after copied an URL link, user has to manually open the downloading app and then click ‘Open URL’ (or ‘Add Torrent Link’) option to let it paste the link automatically.

Instead of using web browser pop-up to choose app to open an URL, KDE desktop has a built-in feature ‘Klipper Actions‘ that detects clipboard contents and automatically pops-up a menu allows to open link with desired app.

Picture 1: Click the pop-up option will automatically launch the app and open the link from clipboard

So just copy a magnet link. It opens the previous context menu (see the picture above) automatically, allows to click the menu option to launch your desired app and open the URL.

Setup the Klipper Actions for Magnet link in KDE:

1.) Firstly, find out the ‘Clipboard’ indicator in system tray on panel (or click the ‘triangle‘ icon). Then right-click on the icon and choose ‘Configure Clipboard‘.

Open Klipper settings

2.) When the settings dialog opens, go to ‘Actions‘ in left pane and click on ‘Add Actions‘ button.

Add a Klipper action

3.) In next dialog, do:

  • input regular expression ^magnet:.*. It means any content started with ‘magnet:‘ (without quotes). See more about regular extension.
  • Add description (optional).
  • Click ‘Add Command’ and use qbittorrent %s or ktorrent %s. Use any torrent client as you prefer.
  • Type description for command (will display as text in pop-up menu).

4.) After adding an action, the settings dialog will look like the screenshot below. Here I added two actions to handle magnet link and url ends with torrent with qBittorrent client.

Actions for magnet links and url ends with .torrent

After clicking Apply (OK), copy a magnet link and the menu should pop-up automatically, allows to single click launching qBittorrent and open the download.

And, there are keyboard shortcuts: Ctrl+Alt+X to enable/disable Klipper actions, and Ctrl+Alt+R to trigger the menu (Picture 1) manually.

After more than half a year of development, the qBitTorrent app released version 4.4.0 with many new features and various bug-fixes.

qBitTorrent 4.4.0 added Qt6 support. It offers better HiDPI compatibility for Windows 10+ and Linux using AppImage package. Though, it has known issue about text display on the progress bar. The Qt5 build is still the primary packages, though the next major release will probably drop Qt5 support.

The new release also supports BitTorrent v2 protocol and libtorrent 2.0.x, that use SHA-256 to provide a safer cryptographic hash function.

There are also some other new features, including announce to all trackers if IP changed, “Checking” filter in side pane, “Forced metadata downloading” state, “Skip hash check” option, double-click to show torrent options, temp folder per torrent/category, folder based UI themes, and more.

Other changes in qBitTorrent 4.4.0 include:

  • Remember last viewed page in options.
  • Add ‘Notification timeout’ option.
  • Add context menu to toggle content tab columns.
  • Add windows-clang support and update python installer URL for Windows.
  • Prolong wait time for shutdown for qbittorrent-nox for Linux.
  • Install vector program icon for Linux.
  • Add detection for OpenBSD, Haiku in configure script
  • Update Mac icons for Big Sur
  • Stick Unread row to top in RSS feed list
  • Setting to store/load fastresume/torrent files in an SQLite database
  • More tool-tips, web UI updates, and bug-fixes.

How to Install qBitTorrent 4.4.0:

For Windows, MacOS, Linux AppImage, and source tarball, go to the official download page:

For Linux, the AppImage package is the only way to get the Qt6 build. Just grab it from the link above, make executable in file “Properties” dialog under ‘Permissions’ tab. Finally, click run the package to launch the torrent client.

qBitTorrent is also available as native .deb package for Ubuntu based system via its official Ubuntu PPA. The package will be available in next few days. However, Ubuntu 20.04 is no longer supported because its system Qt5 library does not meet the minimum requirement.

It’s also available to install as universal Flatpak package. Though it takes more disk space due to run-time libraries, the Flatpak was built with GUI lock support.

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.

qBittorrent, free and open-source Qt5 based Bittorrent client, released version 4.3.5 a few days ago.

qBittorrent 4.3.5 is the last release in the 4.3.x series. And it’s going to drop support for Ubuntu 20.04 in the next release since it has an outdated Qt5 libraries.

Users who prefer qBittorrent can still get updates for Ubuntu 20.04 through the Flatpak package, since it’s a containerised package format bundle with most run-time libraries.

Changes in qBittorrent 4.3.5 include:

  • Move cursor to the end when autofilling URL/hash in “Download from URLs” dialog
  • Sort invalid QDateTime values after valid values
  • Fix tabChangesFocus attribute in “Edit trackers” dialog
  • Update DynDNS register url
  • Handle “not enough disk space” error more graciously
  • Correctly draw progress background with stylesheet
  • WEBUI: Fix magnet url from the search facility
  • WEBUI: Revise folder monitoring functions
  • WEBUI: Fix magnet url from the browser
  • WEBUI: Allow to specify file indexes in torrents/files API
  • WINDOWS: NSIS: Allow more strings to translated
  • WINDOWS: NSIS: Update Italian, German, Estonian, Russian, PortugueseBR translations.
  • LINUX: Fix D-Bus Notification desktop-entry field
  • MACOS: Don’t use executable name as CFBundleName value
  • Lower Qt requirement to 5.11
  • Clarify that the license is GPLv2+

How to Install qBittorrent 4.3.5 via PPA:

The official qBittorrent PPA has built the new release packages for Ubuntu 20.04, Ubuntu 20.10, and Ubuntu 21.04.

1. To add the PPA, open terminal by either pressing Ctrl+Alt+T on keyboard or searching for “Terminal” from application menu. When it opens, run command:

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

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

2. If an old version was installed on your system, upgrade it via Software Updater,

or run following commands to install /upgrade qBittorrent in terminal:

sudo apt update

sudo apt install qbittorrent

Uninstall:

To remove qBittorrent PPA, either go to Software & Updates -> Other Software, or run command in terminal:

sudo add-apt-repository --remove ppa:qbittorrent-team/qbittorrent-stable

To remove the bittorrent client, either use your system package manager or run command:

sudo apt-get remove --autoremove qbittorrent

The first update for qBittorrent 4.3 series was released today with some new features, bug-fixes, and web UI changes.

Changes in qBittorrent 4.3.1 include:

  • Allow progress bar styling from custom themes.
  • Allow adding torrents using “Paste” key sequence.
  • Add Latgalian translation.
  • Avoid settings being reset via WebAPI.
  • WEBUI: Fix the issue that IPv6 address can’t be banned.
  • Update dutch.nsi for Windows.
  • Update .desktop shortcut file translations for Linux.
  • And various bug-fixes.

How to Install qBittorrent via PPA:

The official qBittorrent PPA has built the new release packages for Ubuntu 18.04, Ubuntu 20.04, and derivatives.

1. To add the PPA, open terminal by either pressing Ctrl+Alt+T on keyboard or searching for “Terminal” from application menu. When it opens, run command:

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

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

2. If an old version was installed on your system, upgrade it via Software Updater,

or run following commands to install /upgrade qBittorrent in terminal:

sudo apt update

sudo apt install qbittorrent

Uninstall:

To remove qBittorrent PPA, either go to Software & Updates -> Other Software, or run command in terminal:

sudo add-apt-repository --remove ppa:qbittorrent-team/qbittorrent-stable

To remove the bittorrent client, either use your system package manager or run command:

sudo apt-get remove --autoremove qbittorrent

qBittorrent reached the new major 4.1.0 release a few days ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 17.10, Ubuntu 16.04.

qBittorrent 4.1.0 release highlights:

  • Add “Coalesce reads & writes” checkbox in advanced options
  • Smart Filter for RSS
  • Possibility to configure at which speed a torrent is considered slow.
  • When creating a torrent you can choose to preserve the file order
  • A new, redesigned and refactored WebAPI
  • Switch built-in Web UI html to HTML5
  • Allow to disable Stacktrace support
  • Various other Web UI improvements.
  • Various code optimizations and bug-fixes. Read NEWS page for details.

How to Install qBittorrent 4.1 in Ubuntu:

The official qBittorrent PPA contains the latest packages for Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04, and derivatives.

1. To add the PPA, open terminal either via Ctrl+Alt+T or searching “Terminal” from app launcher. When it opens, run:

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

Type in your password (no visual feedback while typing due to security reason) when it prompts and hit Enter to continue.

2. To upgrade from a previous release, launch Software Updater and you’ll see qBittorrent available for upgrade after checking for updates.

Or run commands below to install /upgrade it from terminal:

sudo apt update && sudo apt install qbittorrent

3. (Optional) To uninstall the 4.1 release and revert to the stock version of qBittorrent in Ubuntu repository, do:

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

Deluge 1.3.12 Released, How to Upgrade in Ubuntu

Last updated: September 16, 2015

A new release of Deluge BitTorrent Client was release yesterday with a collection of fixes to keep the 1.3 stable.

Deluge 1.3.12 is the first stable release in 2015. It brings following fixes and improvements:

  • GTK UI: Add Torrent dialog does not appear
  • Include fix for Twisted 15.0 URI class rename
  • Enable lt extension bindings again for versions >=0.16.7 (this disables Tracker Exchange by default)
  • Backport atomic fastresume and state file saving fixes as another attempt to prevent data loss on unclean exits
  • WebUI: Fixed i18n issue in Connection Manager which left users unable to connect
  • WebUI: Increase cookie lifespan for display settings
  • Console: Fixed ‘set and then get’ in config command
  • Scheduler Plugin: Show current speed limit in statusbar
  • Win32 packaging fixes.

How to Install / Upgrade Deluge in Ubuntu:

The new release has been made into Deluge’s official PPA, available for Ubuntu 15.10, Ubuntu 15.04, Ubuntu 14.04, Ubuntu 12.04 and their derivatives (e.g., Linux Mint 13/17, Elementary OS Freya).

1. To add the PPA.

Open terminal from the Dash, App Launcher, or via Ctrl+Alt+T shortcut keys. When it opens, run command:

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

2. After that, run commands to update system cache and install Deluge (GTK UI):

sudo apt-get update

sudo apt-get install deluge

You may install the package deluge-web or deluge-console if you want the Web UI or the console UI.

For those who have a previous release installed, Deluge can be upgraded directly via Software Updater.