How to start GNOME Terminal in the home directory?

Asked by Uqbar

I'm running GNOME Terminal 2.29.6.
If I start it from the menus, it starts with the shell in the home directory.
If I ask a running terminal to open a new tab or a new terminal, the shell is made running in the current directory
even if I have asked to run the shell as a login shell.
All other terminal emulators allow either to specify where to start the shell or to use the same as the already running one.
Please check konsole (from KDE suite) as a reference.

And I already read https://answers.launchpad.net/ubuntu/+question/68497 and I find it useless.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Luis Aguiar
Solved:
Last query:
Last reply:
Revision history for this message
Best Luis Aguiar (techm3) said :
#1

Start the terminal in a default directory is easy. I did it by editing the .basrc document located in the home folder. Just open the document and add cd ~/ (it will start in the home folder) at the end or any other directory.

Good Luck!

Revision history for this message
Luis Aguiar (techm3) said :
#2

sorry is the .bashrc not .basrc

Revision history for this message
Uqbar (uqbar) said :
#3

Luis, your suggestion works ... for bash.
I accept your "solution" but will open a request to the gnome-terminal developers.
Thanks a lot.

Revision history for this message
Uqbar (uqbar) said :
#4

Thanks Luis Aguiar, that solved my question.

Revision history for this message
Johann Philipp Strathausen (strathausen) said :
#5

You can use the gnome-terminal --working-directory=/home/<user> and put your user name there.