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.

-- 
/usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin
https://bugs.launchpad.net/bugs/609146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to