"open in terminal" command in ubuntu 16.04, doesn't open terminal in changed directory
10,443
Okay, I guess I've found a fix for this. So, launch terminal go to Edit -> Profile Preferences -> Command
and uncheck the option saying Run a custom command instead of my shell
.
Related videos on Youtube
Author by
Vikrant Singh
Updated on September 18, 2022Comments
-
Vikrant Singh over 1 year
In Ubuntu 16.04 LTS
open in terminal
command in right click menu always start the terminal with/home/user
as working directory. Is there anyway to make it's functionality same asnautilus-open-terminal
where terminal opens with current working directory where I have right clicked? I am usingzsh
as my default shell.-
rancho almost 8 yearswhich file manager are you using?
-
ipse lute almost 8 yearsUse your file manager and navigate to the desired location. Right-click on the white space in the files window and choose Open Terminal here.
-
Vikrant Singh almost 8 years@ipselute I know what you are saying but I want my terminal's working directory to the place where I right clicked not
/home/user
. -
ipse lute almost 8 years@vikrant: Open a Terminal window and type: cd /path_to_desired_directory. cd is the command for changing the directory. Replace /path_to_desired_directory with your desired location (like /folder/subfolder/subfolder/...). Open Terminal here works for me in Thunar.
-
garyF over 7 yearsYou must've clicked the wrong directory when you did the right-click and Open Terminal. I checked on your machine in front of you that it works correctly.
-
Elder Geek over 7 yearsAre you trying to open a directory that you don't have permissions for? Please edit your question to include the output of
ls -alFd <directoryname>
where directoryname is the directory you are trying to open in the terminal.
-
-
Vikrant Singh almost 8 yearsno i don't want to install any new file manager. I think what i am asking is also possible in nautilus file manager.
-
Jared Chu over 7 yearsMy config is already uncheck it but I check and uncheck and all is working good, thanks
-
Jared Chu over 7 yearsBut it's not working with Desktop :(
-
Nikhil H over 7 yearsYes, that's annoying actually. But, if you're browsing the Desktop as a folder inside nautilus, it works fine.
-
xgdgsc over 4 yearsBut I want to use zsh with this checked.