Where is the settings.json file stored for Transmission?

45,942

Solution 1

The file is stored here:

sudo nano /etc/transmission-daemon/settings.json

Make sure you stop it first before editing

/etc/init.d/transmission-daemon stop

Solution 2

It depends on which user runs it but you can easily find all potential locations by running

sudo find / -name 'settings.json'

this may result with many settings.json (usually not) file if you have other services which created a similar filename somewhere for something other than transmissionbt. To overcome, you can run

sudo grep -rnw '/' -e 'download-dir'

to find files which contain "download-dir" string which exist in settings.json file of transmission-bt.

Refer to https://wiki.archlinux.org/index.php/Transmission

If running Transmission under the username transmission, the configuration file will be located at /var/lib/transmission/.config/transmission-daemon/settings.json.

If running Transmission under your own username, the configuration file will be located at ~/.config/transmission-daemon/settings.json.

Share:
45,942

Related videos on Youtube

user145874
Author by

user145874

Updated on September 18, 2022

Comments

  • user145874
    user145874 almost 2 years

    I've bought a Raspberry Pi and I have managed to install xbian, samba and bittorrent (transmission).

    All the fun showed up when I tried to upgrade the older version from the repo to the latest version - Transmission 2.77 - by following the steps as mentioned on Ubuntu Help Community Wiki.

    My question is - where is the settings.json file stored?

    I can download via command line with success - but I can't configure the settings file to allow the remote web interface... (I can only find the settings file which the previous version used).

  • Form
    Form over 4 years
    There are many recommendations out there but this seems to be the best way to do it. Stopping the daemon beforehand is indeed important else your changes will be overwritten by transmission-daemon when it shuts down.