The “Open in Terminal” option should now be available in the right-click menu.įor Ubuntu 17.04 and later, you can use the keyboard shortcut Ctrl+ Shift+ N to open a new terminal window with the same location as the previously opened terminal.Restart Nautilus by opening any folder.Quit Nautilus with the following command:.Sudo apt install nautilus-extension-gnome-terminal Using nautilus-extension-gnome-terminal Packageįor recent versions of Ubuntu, you can use the nautilus-extension-gnome-terminal package. Check the respective file manager’s documentation for more details. Other file managers like Nemo (part of the Cinnamon DE), Thunar (part of the Xubuntu/XFCE DE), and Caja (MATE Desktop) have built-in options to open a terminal in the current directory. A terminal should pop up with the directory you specified.Launch the shortcut you created and paste the address with Ctrl+ V in the dialog.Copy the address of the current directory with Ctrl+ X.When you are in a directory in Nautilus, press Ctrl+ L to open the address bar.Bind the script to a shortcut key combination (e.g., Ctrl+ Alt+ i).The -working-directory option specifies the working directory for the terminal. The gnome-terminal command opens a new terminal window. The -entry option creates a text entry field. The zenity command creates a dialog for user interaction. Gnome-terminal -working-directory="$OPENDIR" & OPENDIR=$(zenity -entry -text="Type or paste address") Create a script called opendirectory.sh with the following contents:.You can also create a script to open a terminal in the current directory. The working directory will be synchronized between the two panels. This opens a terminal as a panel in the same window. If you are using KDE’s file manager, Dolphin, you can easily open a terminal in the current directory by pressing F4. Now, when you reopen Nautilus, you should see an “Open in Terminal” option in the right-click menu.After installation, run the following command to quit all open Nautilus windows:.The apt-get install command installs the specified package, in this case, nautilus-open-terminal. The sudo command allows you to run commands with administrative privileges. Sudo apt-get install nautilus-open-terminal Run the following command to install the package:.Open a terminal by pressing Ctrl+ Alt+ T.Using Keyboard Shortcut Using nautilus-open-terminal Packageįor Ubuntu versions prior to 15.04, you can install the nautilus-open-terminal package.Using nautilus-extension-gnome-terminal Package.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |