[arch-general] i3 and .zprofile

Stefan Tatschner rumpelsepp at sevenbyte.org
Tue Oct 27 10:22:40 UTC 2015


On Di, 2015-10-27 at 11:14 +0100, Martti Kühne wrote:
> Whether the profile source file for your shell is run depends on how
> your terminal emulator launches your shell, and whether -i is passed
> or not.

It is different in gnome and i3. In gnome .zprofile is sourced in all
terminal emulators (default config, execute as login shell is
disabled): gnome-terminal, terminator, termite. i3 does not. That's why
I thought that might not be a terminal emulator problem. Maybe gdm does
something strange here…

> For i3, the case might be a bit less clear or obvious, since you
> haven't stated what terminal you use and how that one is set up.
> One possible solution would just be to source .zprofile on login
> through .xinitrc or whatever starts i3 for you.


More information about the arch-general mailing list