<div dir="ltr">Hi Hojat,<div><br></div><div>I've been able to do it by editing my .bashrc script file and placing the commands for the environment variables at the end. From the command line I did this as:</div><div><br>

</div><div>cd /home/[username]</div><div><br></div><div>gedit .bashrc</div><div><br></div><div>Just replace [username] with your username, and it should work just fine!</div><div><br></div><div>Cheers,</div><div><br></div>

<div>-Bryan<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 14, 2014 at 10:15 AM,  <span dir="ltr"><<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Gate-users mailing list submissions to<br>
        <a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:gate-users-request@lists.opengatecollaboration.org">gate-users-request@lists.opengatecollaboration.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gate-users-owner@lists.opengatecollaboration.org">gate-users-owner@lists.opengatecollaboration.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Problem in permanently setting environmental variables    in<br>
      GATE 6.1 (Hojjat Mahani)<br>
   2. Re: Non-circular pinhole (Konik, Arda)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 14 Jan 2014 03:53:20 -0800 (PST)<br>
From: Hojjat Mahani <<a href="mailto:hojjat.mahani@yahoo.com">hojjat.mahani@yahoo.com</a>><br>
To: GATErs <<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a>><br>
Subject: [Gate-users] Problem in permanently setting environmental<br>
        variables       in GATE 6.1<br>
Message-ID:<br>
        <<a href="mailto:1389700400.47760.YahooMailNeo@web161004.mail.bf1.yahoo.com">1389700400.47760.YahooMailNeo@web161004.mail.bf1.yahoo.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Dear GATE users,<br>
<br>
Hello,<br>
I have faced a problem in permanently setting the correct environmental variables in GATE 6.1 on Ubuntu 12.04, 32 bit.<br>
<br>
<br>
I have added the following command to the end of /etc/profile, but nothing happened (i.e., again, one has to type such a command in terminal before running the Gate).<br>
<br>
<br>
source /opt/simulation/gate6_1/env_gate.sh > /dev/null<br>
<br>
<br>
Any idea or comment would be appreciated.<br>
<br>
<br>
Thank you in advance,<br>
<br>
<br>
?<br>
Hojjat Mahani,<br>
PhD Candidate of Medical Radiation Engineering<br></blockquote></div></div></div></div>