From ArchWiki
Revision as of 15:13, 4 July 2013 by 65kid (talk | contribs) (Changing daemon user: this is way simpler now with the new service file)
Jump to: navigation, search

zh-CN:Transmission Transmission is a light-weight and cross-platform BitTorrent client. It is the default BitTorrent client in many Linux distributions.


There are several options in official repositories:


For transmission-gtk and transmission-qt, the default path of configuration files is ~/.config/transmission.

For transmission-cli, default configuration path is ~/.config/transmission-daemon.

Run as a daemon

Start the transmission daemon.

Navigate to in your web browser to see the web client.

You can edit the main configuration file ~/.config/transmission-daemon/settings.json to fit your preference. You need to stop the daemon before editing configuration files, or your edits will not be saved. By default, the daemon will run as the user transmission, whose home directory is /var/lib/transmission/. This means the default location for the configuration file is /var/lib/transmission/.config/transmission-daemon/settings.json.

Note: If you cannot find the ~/.config/transmission-daemon folder, run transmission-daemon once to create it.

If you change your download location, make sure the transmission user has read/write privileges to your download directory.

Changing daemon user

To change the user the daemon is running as, simply override User= in the service file with a drop-in config (see Systemd#Editing_provided_unit_files):

User=<custom user>

Then run the following to reload the service file:

# systemctl daemon-reload

When the daemon is started, it will create its settings in ~/.config/transmission-daemon/.

See also