Archives For bittorrent

qBittorrent got a new major release this weekend. Here’s the new features and how to install guide for Ubuntu 22.04 & Ubuntu 22.10.

qBittorrent 4.5.0 features new icon theme, new color theme, better startup time, and export torrent support. And, it now uses libtorrent 2.0.x in the default binary packages.

Other changes include:

  • Add ‘View’ menu option to show/hide filter sidebar.
  • Add Auto resize columns functionality
  • Allow to use Category paths in Manual mode
  • Allow to disable Automatic mode when default “temp” path changed
  • Add right click menu for status filters
  • Allow setting the number of maximum active checking torrents
  • Allow to set working set limit on non-Windows OS
  • Allow to use POSIX-compliant disk IO type
  • Add Filter files field in new torrent dialog
  • Add file name filter/blacklist
  • Add support for custom SMTP ports
  • Add ability to run external program on torrent added
  • Add infohash and download path columns
  • Allow to set torrent stop condition
  • Add a Moving status filter
  • Add a Use proxy for hostname lookup option
  • Introduce a change listen port cmd option
  • Implement Peer ID Client column for Peers tab
  • Add port forwarding option for embedded tracker

As well, there are various bug-fixes in the release. See more in the news page.

How to install qBittorrent 4.5.0 in Ubuntu 22.04 | 22.10

The software has an official Ubuntu PPA which however updates the latest package so far only for Ubuntu 22.04, Ubuntu 22.10, Linux Mint 21 and their based systems.

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

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

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

2. Then, either run software updater (Update Manager) to update the bittorrent client if an old version was installed.

Or install it using command:

sudo apt install qbittorrent

For Linux Mint, either use Software Manager after refreshing package cache, or run sudo apt update before running the command above.

Uninstall/Restore:

Option 1: If you want to downgrade qBittorrent package to stock version in system repository, install ppa-purge tool and purge the PPA by running command in terminal:

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

Option 2: Or, remove the client package either via Ubuntu Software or by running command:

sudo apt remove --autoremove qbittorrent

And, remove the PPA either via ‘Software & Updates‘ utility under ‘Other Software’ tab or by running command:

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

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, 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.