6
votes
3answers
1k views

How do I set the PATH or other environment variables so that X apps can access it?

How can I set env variables so that KDE recognizes them? How do you set the path in a non-shell environment (KDE)? Unlike the above two questions, I want to know how to do this for GNOME. Or better ...
1
vote
1answer
247 views

Openbox doesn't seem to have correct environment variables set

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 ...
7
votes
1answer
301 views

How set environment variable based on whether a GUI is available?

How can I set up my .bashrc such that the value of an environment variable changes based on whether or not the current session has access to the gui / windowing system? For example, let's say I have ...
5
votes
2answers
552 views

Isn't $HOME supposed to be the location of the user's home directory?

I'm having trouble with a web application I'm writing: The web application, which runs as user nobody, needs to launch an inkscape process to manipulate some SVG files. Because this runs as user ...