wiki:MovedToGitHub/EditConfigFiles

Version 5 (modified by Waldorf, 14 years ago) (diff)

corrected proxy-type

Editing Configuration Files

It's not always possible to set all configurations from the GUI, especially on the Daemon, or Web UI. 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.

Mac OS X

Overview

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 comand-line tool to reliably change settings.

Although, the Mac client allows you to set all preferences through the gui, I'll show you how you can switch the updater to use the nightly feed:

$ defaults write org.m0k.transmission SUFeedURL http://transmission.xpjets.com/ZIP/

(Note: These are untested snapshots. Use them with care.)

Use the following to reset the setting:

$ defaults delete org.m0k.transmission SUFeedURL

For more information, open up your terminal and type:

$ man defaults

GTK / Daemon

Overview

GTK and Daemon (both on a Mac and Linux) use a JSON formatted file. Mainly because of it's human readability.
(Consult the JSON for detailed information)

Here is a sample:

{
    "allow-hibernation": 1,
    "pc-port" : 9091,
    "open-dialog-dir": "\/home\/username\/torrents"
}

Options

Bandwidth

  • download-limit: Number (kb/s)
  • download-limit-enabled: Boolean (0-1)
  • upload-limit: Number (kb/s)
  • upload-limit-enabled: Boolean (0-1)

Port Mapping

  • peer-port: Number (default = 51413)
  • port-forwarding-enabled: Boolean (0-1)

Advanced

  • pex-enabled: Boolean (0-1)
  • encryption: Number (0 = Off, 1 = Preferred, 2 = Forced)
  • lazy-bitfield-enabled: Boolean (0-1)

Hibernation

  • inhibit-desktop-hibernation: Boolean (0-1)
  • inhibit-hibernation: Boolean (0-1)

Peers

  • max-peers-global: Number (default = 300)
  • max-peers-per-torrent: Number (default = 60)

Hibernation

  • allow-hibernation: Boolean (0-1)
  • allow-hibernation-even-when-torrents-are-active: Boolean (0-1)

Blocklist

  • blocklist-enabled: Boolean (0-1)
  • blocklist-updates-enabled: Boolean (0-1)

RPC

  • rpc-enabled: Boolean (0-1)
  • rpc-port: Number (default = 9091)
  • rpc-authentication-required: Boolean (0-1)
  • rpc-username: String
  • rpc-password-required: Boolean (0-1)
  • rpc-password: String
  • rpc-whitelist-enabled: Boolean (0-1)
  • rpc-whitelist: String (Comma-delimited list of IP addresses. Wildcards allowed using '*'. Example: "127.0.0.*,192.168.1.*", Default: "127.0.0.1" )
  • rpc-access-control-list: String (Comma-delimited list of IP addresses. Wildcards allowed using '*'. Example: "127.0.0.*,192.168.1.*", Default: "127.0.0.1" ) DEPRICATED?

Proxy

  • proxy-server-enabled: Boolean (0-1)
  • proxy-server: String
  • proxy-port: Number (Usually 80)
  • proxy-type: Number (0 = HTTP, 1 = SOCKS4, 2 = SOCKS5)
  • proxy-authentication-required: Boolean (0-1)
  • proxy-username: String
  • proxy-authentication: String