| 87 | == Environment Variables == |
| 88 | Transmission listens to a few environment variables to know where to keep the configuration files and controlling debug output. |
| 89 | |
| 90 | === Environment === |
| 91 | Default location for these variables can be found on the [ConfigFiles#Locations Configuration Files] page. |
| 92 | |
| 93 | ==== Transmission Specific ==== |
| 94 | * {{{TRANSMISSION_HOME}}} = if set, this will override the default configuration folder's location |
| 95 | * {{{TRANSMISSION_WEB_HOME}}} = if set, this will override the default Web UI folder's location |
| 96 | * {{{HOME}}} (optional) = if set, this will override where Transmission thinks your home directory is |
| 97 | |
| 98 | If {{{TRANSMISSION_HOME}}} isn't set, {{{HOME}}} is used to determine the location of the configuration folder's location. Also, it is used for the default download folder, unless specified otherwise in the preferences. ({{{$HOME/Downloads/}}}) |
| 99 | |
| 100 | ==== XDG Environment Variables ==== |
| 101 | The [http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html XDG Base Directory] Specification provides some common paths in user's home to store personal application configurations, or, using their own words "defines where these files should be looked for by defining one or more base directories relative to which files should be located". (Linux / GTK only) |
| 102 | * {{{XDG_CONFIG_HOME}}} = specifies where your per-user configuration files should be stored (default: {{{$HOME/.config/}}}) |
| 103 | * {{{XDG_DATA_HOME}}} = specifies where your per-user data files should be stored (default: {{{$HOME/.local/share/}}}) |
| 104 | * {{{XDG_DATA_DIRS}}} = specifies a preference-ordered list of directories to search for data files in addition to the {{{XDG_DATA_HOME}}} (separated by a {{{:}}}) |
| 105 | |
| 106 | Normally, these should not be changed, as they are not Transmission specific. If you need to override the default configuration folder's location, use the {{{TRANSMISSION_HOME}}} instead. The {{{XDG_DATA_HOME}}} and {{{XDG_DATA_DIRS}}} are only used to search for the Web UI. |
| 107 | |
| 108 | === Debug === |
| 109 | * |
| 110 | * |
| 111 | * |
| 112 | * |
| 113 | * |
| 114 | |
| 115 | |