Environment Variable Add

From Whonix

Set the {{{variable}}} environment variable. There are several methods, but the #/etc/environment Method is the simplest one. [1]

/etc/environment Method

This will apply to the whole environment. [2]

Open file /etc/environment in an editor with root rights.

(Qubes-Whonix ™: In TemplateVM)

This box uses sudoedit for better security [archive]. This is an example and other tools could also achieve the same goal. If this example does not work for you or if you are not using Whonix, please refer to this link.

sudoedit /etc/environment

Add the following line.


Save and reboot.

  1. [archive]
  2. Unless this environment variable is manually unset before starting Tor Browser.