title: Environment variable in GNOME, Scientific Linux 6.1
body: <p>I am using Scientific Linux 6.1. To run a program (DS9) I need to set this environment variable: </p>
  
  <pre><code>export XPA_METHOD=local
  </code></pre>
  
  <p>So I saved it in .bashrc and there is no problem when I run the program from the bash terminal. But when I run it in the GUI (for example by clicking on "Open with ds9" in nautilus), this variable is not recognized.</p>
  
  <p>I would really appreciate if anyone could help me in setting the environment variable in GNOME.</p>