Transmission is a light-weighted and cross-platform BitTorrent client. It is the default BitTorrent client in many Linux distributions.
There are several options in Official Repositories:
- includes CLI tools, daemon and web client.
- GTK+ GUI.
- Qt GUI.
Run as a daemon
To run transmission as a daemon, you need have installed. By default, the daemon will run as the user
transmission, whose home directory is
If you use initscripts, you can change the user in
TRANS_USER="<your user name>"
If you use systemd, you have to override the user in both the service file (
/usr/lib/systemd/system/transmission.service) and the tmpfile (
/usr/lib/tmpfiles.d/transmission.conf). To do so, copy both files to the appropriate directory in
# cp /usr/lib/systemd/system/transmission.service /etc/systemd/system/ # cp /usr/lib/tmpfiles.d/transmission.conf /etc/tmpfiles.d/
Create a new group named for example,
# groupadd transmission
Add your custom user to the newly created
# gpasswd -a [user] [group]
User= to your custom user in the service file and edit the tmpfile to the following:
d /run/transmission - [user] [group] -
systemd-tmpfiles --create transmission.conf and restart the transmission service.
You may need to reload service files after editing:
# systemctl daemon-reload
Don't forget to change permissions to 777 on folder '/run/transmission'.
http://127.0.0.1:9091 in web browser and you can see the Web client.
You can also edit the main configuration file
/var/lib/transmission/.config/transmission-daemon/settings.json to fit your preference. Or place a symlink to your media drive in Downloads dir set in config, just make sure the transmission user has rw privileges to your media drive dirs:
ln -s /media/USB_Movies/Downloads /home/user/Downloads chown user /media/USB_Movies/Downloads
If you would use Transmission daemon with its own group, you have to give the writing permission to transmission group in your download's directory. For this you need to run:
# chgrp transmission /path/to/download # chmod g+w /path/to/download