"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.

Share:
10,443

Related videos on Youtube

Vikrant Singh
Author by

Vikrant Singh

Updated on September 18, 2022

Comments

  • Vikrant Singh
    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 as nautilus-open-terminal where terminal opens with current working directory where I have right clicked? I am using zsh as my default shell.

    • rancho
      rancho almost 8 years
      which file manager are you using?
    • ipse lute
      ipse lute almost 8 years
      Use 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
      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
      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
      garyF over 7 years
      You 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
      Elder Geek over 7 years
      Are 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
    Vikrant Singh almost 8 years
    no 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
    Jared Chu over 7 years
    My config is already uncheck it but I check and uncheck and all is working good, thanks
  • Jared Chu
    Jared Chu over 7 years
    But it's not working with Desktop :(
  • Nikhil H
    Nikhil H over 7 years
    Yes, that's annoying actually. But, if you're browsing the Desktop as a folder inside nautilus, it works fine.
  • xgdgsc
    xgdgsc over 4 years
    But I want to use zsh with this checked.