wiki:MovedToGitHub/EditConfigFiles

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

Initial Page (REVIEW)

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 an 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-2, 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 = 400)
  • 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-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" )
  • rpc-whitelist: String (Comma-delimited list of IP addresses. Wildcards allowed using '*'. Example: "127.0.0.*,192.168.1.*", Default: "127.0.0.1" )

Proxy

  • proxy-server-enabled: Boolean (0-1)
  • proxy-server: String
  • proxy-port: Number (Usually 80)
  • proxy-type: Boolean (0-1)
  • proxy-authentication-required: Boolean (0-1)
  • proxy-username: String
  • proxy-authentication: String

GTK specific DELETE?

  • add-behavior-ipc : "copy"
  • add-behavior-standard : "copy"
  • debug-message-level : 3
  • delete-original-torrent-files : 0
  • download-dir : "\/home\/username\/torrents"
  • open-dialog-dir : "\/home\/username\/torrents"
  • recent-announce-url-0-announce : "http:\/\/some.site.net:6969\/announce"
  • recent-announce-url-0-tier : 0
  • recent-announce-url-count : 1
  • minimal-view : 0
  • prompt-before-exit : 1
  • prompt-for-download-directory : 0
  • notify-when-complete : 1
  • show-filter-bar : 1
  • show-filterbar : 1
  • show-notification-area-icon : 1
  • show-options-window : 0
  • show-status-bar : 1
  • show-statusbar : 1
  • show-toolbar : 1
  • show-tray-icon : 0
  • sort-column : "reverse-progress"
  • sort-mode : "sort-by-name"
  • sort-reversed : 0
  • start-added-torrents : 1
  • status-bar-stats : "session-transfer"
  • statusbar-stats : "total-transfer"
  • system-tray-icon-enabled : 1
  • trash-original-torrent-files : 0
  • tray-icon-enabled : 1

Scheduler

  • sched-begin : 480
  • sched-download-limit : 1025
  • sched-end : 180
  • sched-limit-enabled : 1
  • sched-upload-limit : 25