Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a bin directory in my home directory.

I would like for the Run: shortcut to search that bin directory as well.

How do I add it to the Run search path?

share|improve this question
up vote 3 down vote accepted

Maybe by adding something as follow in the /etc/profile file?

export PATH=~/bin:$PATH

If you have problems with the tilde (~), try /home/$USER/bin. If you're the only user on that computer anyway, you can always use /home/ranson/bin, of course.


  1. you can also do that in your own ~/.profile file in which case the /home/ranson/bin path will work as is:

    export PATH=/home/ransom/bin:$PATH

  2. you'll have to log out and log back in for that change to take effect.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.