Answers to: How do I specify PATH for X applications?http://linuxexchange.org/questions/628/how-do-i-specify-path-for-x-applications<p>I have some custom compilers installed on some custom path(/opt/uClinux/...) and added</p> <pre><code>export PATH=$PATH:/opt/uClinux/bfin-elf/bin:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin/ </code></pre> <p>to my .bashrc . While I can easily work from my command line, X applications like Eclipse or Kate do not recognize my custom path if I don't start them from a terminal. Where should I add the custom path so my X apps do not have trouble finding them?</p>enMon, 17 May 2010 09:43:32 -0400Answer by maszynistahttp://linuxexchange.org/questions/628/how-do-i-specify-path-for-x-applications/630<p>If you are Ubuntu user try making global changes to PATH in:</p> <pre><code>/etc/environment </code></pre>maszynistaMon, 17 May 2010 09:43:32 -0400http://linuxexchange.org/questions/628/how-do-i-specify-path-for-x-applications/630Answer by Jazzhttp://linuxexchange.org/questions/628/how-do-i-specify-path-for-x-applications/629<p>Set the environment variables in a system-wide initialization file such as <em>/etc/profile</em>.</p> <p>A nice summary about changing environment variables can be found <a href="http://www.cyberciti.biz/faq/environment-variable-change-on-linux-freebsd-unix-bash/" rel="nofollow">here</a>.</p>JazzMon, 17 May 2010 09:00:43 -0400http://linuxexchange.org/questions/628/how-do-i-specify-path-for-x-applications/629