How to run .profile, etc

Ambrose LI at
Thu May 21 21:12:44 CEST 2020

Le jeu. 21 mai 2020, à 13 h 23, Joe Riel <joer at> a écrit :
> When xfce4 starts (I use a graphical login),
> how does one get it to run $HOME/.profile or something equivalent?

Do you mean how to run something when xfce starts (without having to
start a terminal), or do you mean how to get terminals started from
xfce to run .profile? If the latter, .profile is run only if the shell
is run as a “login shell”. I believe there is an option in Terminal’s
preferences to make this happen.

If you mean the former, I believe you can do it through the “sessions
and startup” settings.

Ambrose Li // /
If you saw this on CE-L: You do not need my permission to quote
me, only proper attribution. Always cite your sources, even if
you have to anonymize and/or cite it as "personal communication".

More information about the Xfce mailing list