Setting environment variables in the ~/.profile works fine for me - I modify both the PATH and PERL5LIB variables there.
twitter-meego[4859]: CRITICAL-Error: Not found XDG_CACHE_HOME environment variable
export DISPLAY=':0' export XDG_DATA_HOME="$HOME/.local/share/" export XDG_CACHE_HOME="$HOME/.cache" eval `/usr/bin/aegis-session --sh-syntax --with-ulimit` if [ -e /etc/profile.d/language.sh ] ; then . /etc/profile.d/language.sh fi