Add “New Document” back to the right-click menu in Ubuntu 18.04
>> touch ~/Templates/"Untitled Document"
Ubuntu open terminal in the current folder with shortcut
RIGHT-CLICK KEY + E
Or
Fortunately, there's a better approach in order to get what you want. Long explanation/useful resources can be found here and also here. In short:
Create a script called Terminal (yes, without an extension) inside the folder ~/.local/share/nautilus/scripts with the following content:
# !/bin/sh
gnome-terminal
chmod +x Terminal
Create (or edit) the sudo nano ~/.config/nautilus/scripts-accels file adding these lines:
F4 Terminal
; Commented lines must have a space after the semicolon
; Examples of other key combinations:
; <Control>F12 Terminal
; <Alt>F12 Terminal
; <Shift>F12 Terminal
Stop Nautilus:
nautilus -q
Test it! Open Nautilus, right-click, and choose Scripts > Terminal. Or, use the keyboard shortcut(F4) that you've just configured :)
Comments
Post a Comment