Please note that LinuxExchange will be shutting down on December 31st, 2016. Visit this thread for additional information and to provide feedback.

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

atilla
4327
accept rate: 0%




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

/etc/environment
link

answered 17 May '10, 09:43

maszynista's gravatar image

maszynista
2513
accept rate: 33%

1

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

--jeremy

(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.

link

answered 17 May '10, 09:00

Jazz's gravatar image

Jazz ♦
7811312
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

By RSS:

Answers

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

Tags:

×7
×3
×1

Asked: 17 May '10, 08:11

Seen: 1,854 times

Last updated: 17 May '10, 09:43

powered by OSQA