mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 10:28:32 +00:00
* Unify the line endings to the Unix style (LF only). * Fix (where possible) or remove broken links. * Improve the documentation. Fix or remove broken links (depending on whether I could find a working version of the resource). Change all links to use HTTPS instead of HTTP. Unify the capitalizations (e.g. uppercase abbreviations, capitalize proper names and downcase other words). Fix or improve some parts of the text, clarifying what is meant. Improve some parts of the program examples (e.g. only use root privileges where really required).
2.4 KiB
2.4 KiB
Users can set environmental variables to override Transmission's default behavior and for debugging.
Transmission-Specific Variables
- If
TRANSMISSION_HOMEis set, Transmission will look there for its settings instead of in the default location. - If
TRANSMISSION_WEB_HOMEis set, Transmission will look there for the Web Interface files, such as the JavaScript, HTML, and graphics files. - If
TR_CURL_VERBOSEis set, debugging information for libcurl will be enabled. More information about libcurl's debugging mode is available here. - If
TR_DEBUG_FDis set to an integer, that integer is treated as a file descriptor and very verbose debugging information is written to it. For example, here is how to turn on debugging and save it to a file named "runlog" when running Transmission from a bash shell:$ export TR_DEBUG_FD=2 $ transmission 2>runlog - If
TR_DHT_VERBOSEis set, Transmission will log all of the DHT's activities in excruciating detail to standard error.
Standard Variables Used by Transmission
- If
TRANSMISSION_WEB_HOMEis not set, non-Mac platforms will look for the Web Interface files inXDG_DATA_HOMEand inXDG_DATA_DIRSas described in the XDG Base Directory Specification.XDG_DATA_HOMEhas a default value of$HOME/.local/share/. - If
TRANSMISSION_HOMEis not set, Unix-based versions of Transmission will look for their settings in$XDG_CONFIG_HOME/transmission/.XDG_CONFIG_HOMEhas a default value of$HOME/.config/. - If
HOMEis set, it is used in three ways:- By the
XDGvariables, as described above. - If
TRANSMISSION_HOMEis not set, Mac-based versions of Transmission will look for their settings in$HOME/Library/Application Support/Transmission. $HOME/Downloadsis the default download directory.
- By the
Standard Variables Used by Other Tools
- Transmission uses the libcurl library for HTTP- and HTTPS-based tracker announces and scrapes. Transmission does not support proxies, but libcurl itself honors a handful of environment variables to customize its proxy behavior.