I have some custom compilers installed on some custom path(/opt/uClinux/...) and added

export PATH=$PATH:/opt/uClinux/bfin-elf/bin:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin/

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?

asked 17 May '10, 08:11

atilla's gravatar image

accept rate: 0%

If you are Ubuntu user try making global changes to PATH in:


answered 17 May '10, 09:43

maszynista's gravatar image

accept rate: 33%


Note that /etc/environment is not Ubuntu specific, but a standard location for most distro's using pam_env.


(17 May '10, 15:36) jeremy ♦♦

Thanks. I did not know that. I am just using Ubuntu. I only write about things that I am 100% sure.

(17 May '10, 17:55) maszynista

Set the environment variables in a system-wide initialization file such as /etc/profile.

A nice summary about changing environment variables can be found here.


answered 17 May '10, 09:00

Jazz's gravatar image

Jazz ♦
accept rate: 33%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 17 May '10, 08:11

Seen: 1,791 times

Last updated: 17 May '10, 09:43

powered by OSQA