> > I want to export XDG_CACHE_HOME variable used by Xorg.
> > What is the best place (file or ?) to export this variable?
> > I remember i used some file to export a long time ago PS1 variable.
> > Should I use ~/.login file or is it a better way to export this xorg 
> > variable?

> Everywhere online (Linux users mainly) were saying to put it in
> .profile, which did not work on OpenBSD.  What ended up working for me
> is putting it in .xsession.  So I assume that is a good place for any
> export command like this.

Well, .profile is a shell init file setting, so if you read advice
from people who are running another shell than you are, then their
solutions will not work. It is not (primarily) about what OS you are
using, but which shell you have, and which files it will read and
parse at startup. .xsession will also work, in the graphical
environments, and for QT that might be implied of course.

-- 
May the most significant bit of your life be positive.

Reply via email to