Gnome-Terminal, how to start in a different directory? Gnome-Terminal, how to start in a different directory? linux linux

Gnome-Terminal, how to start in a different directory?


If you start gnome-terminal like gnome-terminal --working-directory=myfolder it will start with the working directory at ~/myfolder so you could add a new entry to your menu to use that command instead of the other one.


I did this way - with script:open 3 tabs in the same window size 170x40, each "tab" starts in a different directory.

gnome-terminal --geometry=170x40 --working-directory=myfolder1 \--tab --working-directory=myfolder2 \--tab --working-directory=myfolder3 


Add the following to your ~/.bashrc

cd ~/myfolder