Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Torrench Config file setup guide (All-platforms)
Windows: Default config file location is C:\Users\<user>\.config\torrench\
>>> Creating .config directory:
1. Create a new directory named "config" (In C:\Users\<user>\)
2. Right-click the directory -> Select 'Rename'
3. Add a dot(.) in the beginning and at the end of filename (means "config" becomes ".config.")
4. Save. This should create a required (.config) directory.
5. Create 'torrench' directory inside (.config) directory (the usual way).
>>> Next, enable config file and copy it to .config\torrench\ directory. That's it!
MacOS Users: Default location is $XDG_CONFIG_HOME/torrench/.
If $XDG_CONFIG_HOME is not defined, it fallbacks to $HOME/.config/torrench/.
for more info about $XDG_CONFIG_HOME mapping in Mac.
Users new to CLI and/or not aware about $XDG_CONFIG_HOME ($XDG_CONFIG_HOME not set) follow along:
>> Make torrench directory
$ mkdir ~/.config/torrench/
>> Copy config.ini file to the above directory
$ cp <download_location>/config.ini ~/.config/torrench/
>> Download location is usually ~/Downloads , So command will be:
$ cp ~/Downloads/config.ini ~/.config/torrench/
>> Enable config
Open config.ini file in any text editor, and set enable=1
>>>> Note: You can first enable config.ini file (set enable=1) in downloads folder itself
and then copy the file to .config/torrench/ directory.
Linux Users: Default location is $XDG_CONFIG_HOME/torrench/.
If $XDG_CONFIG_HOME is not defined, it fallbacks to $HOME/.config/torrench/
(If $XDG_CONFIG_HOME is not set)
>> Creating directory
$ mkdir $HOME/.config/torrench
>> Copy file
$ cp -v ~/Downloads/config.ini $HOME/.config/torrench
>> Enabling it
$ nano $HOME/.config/torrench/config.ini
>>> Set enable=1
>>> Save and exit!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment