Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.