I want to set it at startup in Ubuntu. Currently I have to manually set it after starting up.
closed as off topic by Shane Madden♦, Ward, voretaq7♦, Chris S♦, Holocryptic Jan 24 '12 at 13:54
Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
You can add it to the /etc/environment file, making it part of every user's environment.
To apply this change while the system is still running, use
Recommended reading: Enviroment Variables - Ubuntu community documentation.