To add a folder to the bookmarks in Files (aka nautilus), either
- Press Ctrl+d to add the folder you are currently in to the bookmarks list in the left pane (under the horizontal line separating the "special" folders, e.g. "Recent", "Home", etc.
- Drag a selected folder to the left pane.
You can see all defined hotkeys in Files when you press Shift+?
You are facing an issue in Files (nautilus) that comes with Ubuntu 18.04. Indeed, if the list view is full, there is no empty space where you can right-click to obtain the folder-specific righ-click menu. That is the menu that contains the "Open terminal here" option.
The issue is solved in more recent versions by making the breadcrumb path items, i.e., the buttons of the folders above the file list, more functional. You now can click (or right-click) the folder name in the breadcrumb to obtain the menu, making that context menu available with the mouse anytime.
Still, you can work around in the Nautilus version that comes with 18.04.
Keyboard shortcut in Nautilus
The shortcut key Ctrl+F10 opens the empty-space context menu anytime. Thus, just press Ctrl+F10 then e to open the terminal here.
Using a Nautilus script
If that is not enough and you also want mouse accessibility to the Open Terminal Here command, then there is still a way to implement the function using nautilus scripts.
- Create a script,
Terminal
, that contains following code
Script code:
#!/bin/sh
gnome-terminal
(yes, it cannot be more simple than that!).
Put the script in the folder .local/share/nautilus/scripts
under your home folder. Enable "Show hidden files". Then you will see the hidden .local
folder and be able to navigate to scripts
.
Make the script executable. (Right-click, Properties tab, Permissions: "Allow executing file as program")
Restart nautilus (killall nautilus
). Now, you will have a new "scripts" menu when right-clicking any file, which contains your "Terminal" command
Optional: assign a hotkey to the script
(Update: unfortunately the following does not anymore work in Ubuntu 20.10).
F12 Terminal
Hitting F12 in nautilus now will immediately open a terminal in the current folder.
Best Answer
the installed program have a
.desktop
that have to be edited to be listed in nautilus's "open with list"to do that,you first have to locate that file
you should be able to guess the
.desktop
associated with your program.let's say i want to add vlc to the list, i edit the desktop file with
and change
Exec=vlc
toExec=vlc %u
in your case you edit:
and change
Exec=AdobeReader
toExec=AdobeReader %u