Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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've installed Debian 7.0, and then installed Openbox on top of it.

I've got some executable files in ~/bin, and this line in my .bashrc and .profile:

export PATH="$HOME/bin:$PATH"

I can normally execute the programs when I'm using the terminal, but when I'm using Openbox keyboard shortcuts, configured in ~/.config/openbox/rc.xml, then Openbox complains about not being able to find a file or a directory.

What can I do to have Openbox use the correct $PATH?

share|improve this question
Do you log in in text mode or graphical mode? If in graphical mode, under what display manager? If in text mode, how do you start the GUI? – Gilles May 5 '13 at 23:48

You can set your environment for Openbox in the ~/.config/openbox/environment.

Just add

PATH="$HOME/bin:$PATH"; export PATH

in there.

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.