wiki:EditingConfigurationParameters

Version 1 (modified by kim, 12 years ago) (diff)

--

Editing Configuration Files

It's not always possible to set all configurations from the GUI, especially on the Daemon or the Web Interface. This guide will try to give an overview of how and what you can change. For the location of these files, look at the Configuration Files page. See the list of Configuration Parameters.

Note: The client should be shutdown before making changes, otherwise settings will be reverted to it's previous state.

Transmission-Desktop Linux/GTK, Qt, Transmission-Server

GTK, CLI and Daemon (both on a Mac and Linux) use a JSON formatted file, mainly because of its human readability.
(Consult the JSON for detailed information)

Reload Settings

You can make the daemon reload the settings file by sending it the SIGHUP signal.
Or, simply run either of the following commands:

$ killall -HUP transmission-daemon

Or:

$ pkill -HUP transmission-daemon

However bear in mind that if you edit settings whilst the daemon is running they may be overwritten.

Formatting

Here is a sample of the three basic types, respectively Boolean, Number and String:

{
    "rpc-enabled": 1,
    "peer-port" : 51413,
    "rpc-whitelist": "127.0.0.1,192.168.*.*"
}

Mac OS X

Mac OS X has a standardized way of saving user preferences files using XML format. These files are called plist (short for property list) files. Usually there is no need to modify these files directly, since Apple provided a command-line tool to reliably change settings. You do need to restart Transmission before these have effect.

In short:

  • To set a key: defaults write org.m0k.transmission key value
  • To reset a key: defaults delete org.m0k.transmission key