Changes between Initial Version and Version 1 of EditingConfigurationParameters


Ignore:
Timestamp:
Jan 21, 2010, 5:59:05 PM (12 years ago)
Author:
kim
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EditingConfigurationParameters

    v1 v1  
     1= Editing Configuration Files =
     2
     3It'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 [ConfigFiles Configuration Files] page.
     4See the list of [wiki:ConfigurationParameters Configuration Parameters].
     5
     6Note: The client ''should'' be shutdown before making changes, otherwise settings will be reverted to it's previous state.
     7
     8== Transmission-Desktop Linux/GTK, Qt, Transmission-Server ==
     9
     10GTK, CLI and Daemon (both on a Mac and Linux) use a [http://www.json.org/ JSON] formatted file, mainly because of its human readability. [[BR]]
     11(Consult the [http://www.json.org/ JSON] for detailed information)
     12
     13=== Reload Settings ===
     14You can make the daemon reload the settings file by sending it the {{{SIGHUP}}} signal.[[BR]]
     15Or, simply run either of the following commands:
     16{{{
     17$ killall -HUP transmission-daemon
     18}}}
     19Or:
     20{{{
     21$ pkill -HUP transmission-daemon
     22}}}
     23However bear in mind that if you edit settings whilst the daemon is running they may be overwritten.
     24
     25=== Formatting ===
     26Here is a sample of the three basic types, respectively Boolean, Number and String:
     27{{{
     28{
     29    "rpc-enabled": 1,
     30    "peer-port" : 51413,
     31    "rpc-whitelist": "127.0.0.1,192.168.*.*"
     32}
     33}}}
     34
     35
     36== Mac OS X  ==
     37
     38Mac OS X has a standardized way of saving user preferences files using [http://en.wikipedia.org/wiki/XML XML] format. These files are called [http://en.wikipedia.org/wiki/Plist plist] (short for property list) files. Usually there is no need to modify these files directly, since Apple provided a [http://developer.apple.com/DOCUMENTATION/Darwin/Reference/ManPages/man1/defaults.1.html command-line tool] to reliably change settings. You do need to restart Transmission before these have effect.
     39
     40In short:
     41 * To set a key: {{{defaults write org.m0k.transmission}}} ''key'' ''value''
     42 * To reset a key:  {{{defaults delete org.m0k.transmission}}} ''key''
     43
     44