Set environment variable permanently on Ubuntu
Run the command
sudo -H gedit /etc/environment
Set the variable like that
VARIABLE="value"
To take effect the changes you have to logout as user and login again.
Run the command
sudo -H gedit /etc/environment
Set the variable like that
VARIABLE="value"
To take effect the changes you have to logout as user and login again.