On Thu, Sep 22, 2016 at 03:15:40PM +0100, Tixy wrote:
> I edit ~/.xsessionrc to have a single line:
> . /home/tixy/.profile
Which program reads ~/.xsessionrc and how did you learn about it?
Which man page describes it? Does its existence merely "add on" to some
system-wide default script, or does it fully replace a system-wide script?
> Which makes X sessions include the same profile as standard login
Bash's initialization is a bit more complex than that. It will look
for three different files (.bash_profile or .bash_login or .profile),
in that order, and uses the first one it finds. I'd imagine zsh does
something similar, though I don't use zsh. For pure POSIX sh or ksh,
you would be correct.