I can't figure out how to set environment variables properly, even though I tried to follow https://wiki.debian.org/EnvironmentVariables.
I've added this to
if [ -f ~/.bash_profile ]; then . ~/.bash_profile fi
It seemed logical to me to comment these lines in
~/.profile after doing that:
# if running bash # if [ -n "$BASH_VERSION" ]; then # # include .bashrc if it exists # if [ -f "$HOME/.bashrc" ]; then # . "$HOME/.bashrc" # fi #fi
Now when I open a terminal, variables in
~/.bash_profile are correctly exported.
How do I make the variables in
~/.profile available for applications I launch through XFCE menu? I know it isn't the case because if I launch
gpodder from a terminal, it does what I want, ie. it detects
$GPODDER_HOME which is set in my
.profile, but this doesn't happen when I launch it "graphically".