Archives For bittorrent

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 as well.

In addition, by changing the mime type “x-scheme-handler/magnet“, user may use the previous commands to tell (or set) other file type’s default app.

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.