The problem is not in xfce4-session or what starts it, as investigating /proc/$(pgrep xfce4-session)/environ shows the environment set correctly. It seems to be a change in xfce4-terminal behavior when the "run command as login shell" preference is not set. Before plucky (xfce 4.20), the command was run inheriting the environment of xfce4-session (which is what I expected.) Now, a different environment is constructed, seems to look like what a shell would get if there were no user-specific startup files. While this seems like a bizarre thing to do, I can't imagine it's accidental, so I now doubt this is actually a bug.
As a workaround, selecting the "run command as login shell" in the xfce4-terminal preferences gets me the behavior I want (at the tiny cost of running through ~/.profile on every terminal start.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2103667 Title: xfce4-terminal changed environment setup for non-login shell To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfce4-terminal/+bug/2103667/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs