
Enjoying this site? Please to help keep the Snapstats.org lights on.
Description
Deluge contains the common features to BitTorrent clients such as Protocol Encryption, DHT, Local Peer Discovery (LSD), Peer Exchange (PEX), UPnP, NAT-PMP, Proxy support, Web seeds, global and per-torrent speed limits. As Deluge heavily utilises the libtorrent library it has a comprehensive list of the features provided.
Client-Server
Deluge has been designed to run as both a normal standalone desktop application and as a client-server. In Thinclient mode a Deluge daemon handles all the BitTorrent activity and is able to run on headless machines with the user-interfaces connecting remotely from any other platform.
User Interfaces
There are three main user interfaces (UIs):
- GTK UI for the desktop
- Web UI for the browser
- Console UI for the command line.
How to run
- As daemon
The following daemons will auto-start on install:
deluge-lukewh.deluged-service
deluge-lukewh.deluge-web-service
Daemons run as root and the configuration is saved to /var/snap/deluge-lukewh/common/.config/deluge
The easiest way I've found to share downloads with users is to create a directory in your home folder and mount it to /mnt
with mount --bind [src_dir] /mnt/[dir_name]
you can then add both root and your user to a group that has permissions in that folder. You may need to mkdir /mnt/[dir_name]
.
For the snap to see this mount you will need to run snap connect deluge-lukewh:removable-media
manually.
- As user
If you don't want to use the daemon you can stop and disable them with:
snap service stop --disable deluge-lukewh.deluged-service
snap service stop --disable deluge-lukewh.deluge-web-service
You can then run deluge-lukewh.deluged
and deluge-lukewh.deluge-web
. These will be run with the default behaviour of deluge (fork).
The configuration is then stored in $HOME/snap/deluge-lukewh/common/.config/deluge
.
$HOME/snap/deluge-lukewh/common/Downloads
is also created to store your downloads.
Next steps
Once both deluged
and deluge-web
have been run you can point your browser to http://[ip-address]:8112
The first thing to do (after changing the default password) is change the download directory to either /home/$USER/snaps/deluge-lukewh/common/Downloads
or /mnt/[dir_name]
in the preferences, depending on whether you are running the snap as a user or daemon.
Happy torrenting!
Snap source: https://github.com/Lukewh/deluge-snap