My terminal always opens in home directory no matter where I open it. I also tried opening another terminal in the different directory but it's not working
gnome-terminal --working-directory=Downloads
gnome-terminal --working-directory Downloads
gnome-terminal --working-directory /home/avil/Downloads
I have also reinstalled both open in terminal extension and gnome-terminal but it's still not working
First launch
terminal
go toEdit
->Profile Preferences
->Command
and uncheck the option sayingRun a custom command instead of my shell
. It will not working with Desktop, but if you're browsing the Desktop as a folder inside nautilus, it will works fine.I don't have this problem with Ubuntu 16.04 and only have 19.04 installed on another partition which I haven't upgraded to 19.10 yet to test.
Your problem does sound like this one though:
Please read the entire Q&A but to summarize the answer:
Then the follow up answer:
Open terminal
Go to Preferences
profile
of the terminal(if you don't have any, create one)Command
Always
This fixed for me. Check the picture for more details.If you want to open terminal in folder with command keys than :
shift + F10 E
or
Right click with mouse
than pressE
According to this answer How to add "Open terminal here" to Nautilus' context menu?
If you have a up to 15.04 Ubuntu distro version you have to install
nautilus-open-terminal
package. In my 19.10 Ubuntu I can't find it, though, because it is already included since version 15.10.You could also try to reinstall nautilus, after updating your system, if you have a newer distro with
sudo apt install --reinstall nautilus
command.There's an "Open in Terminal" command in the context menu of any folder in Nautilus. Right-click on the folder and choose the
Open in Terminal
option (betweenRevert to Previous Version...
andStar
.