Since upgrading to Ubuntu 14.04 whenever I open a new Tab in the Terminal I am in the Home directory instead of the directory I was in in the other Tab.
How can I change it to stay in the directory from the Tab I opened it from?
Since upgrading to Ubuntu 14.04 whenever I open a new Tab in the Terminal I am in the Home directory instead of the directory I was in in the other Tab.
How can I change it to stay in the directory from the Tab I opened it from?
I think you are dealing with this bug. You will find there in the comment #2 the following workaround (thanks to Tim (darkxst) for it):
add the following line to the end of
~/.bashrc
file:. /etc/profile.d/vte.sh
The
. /etc/profile.d/vte.sh
workaround did not work for me. However, what did work is: I finally discovered that in the Profile Preferences' "Command" tab (right click in the terminal->Profiles) unchecking "Run a custom command instead of my shell", if it is checked, can also solve this issue.
In 16.04 a symlink may be missing. The file can be found at /etc/profile.d/vte-2.91.sh