So my reasoning would be that an xterm is not a login shell, and therefore .bash_profile is not being executed. My .bash_profile is attached, and I modify the path in there. What I'm wondering is why it worked until a few days/weeks back and suddenly stopped working?
As a workaround, I tried to create a $HOME/.Xdefaults file as described here
So my reasoning would be that an xterm is not a login shell, and therefore .bash_profile is not being executed. My .bash_profile is attached, and I modify the path in there. What I'm wondering is why it worked until a few days/weeks back and suddenly stopped working?
As a workaround, I tried to create a $HOME/.Xdefaults file as described here
http:// forums. macosxhints. com/showthread. php?t=9282
Basically what I did was creating a $HOME/.Xdefaults with the contents
XTerm*.LoginShell: True
and then added a new startup application (System -> Startup Applications -> New...) containing the line
xrdb -all $HOME/.Xdefaults
because Ubuntu does not honor $HOME/.Xdefaults on startup (i.e. no xrdb is started automatically for that, or at least not for me).
This is a workaround, because now my xterms also source my .bash_profile and everything works.