Skip to content

Instantly share code, notes, and snippets.

@Dirack
Created July 25, 2019 22:36
Show Gist options
  • Save Dirack/b67a4aa4fc907c9fe75539cfb2c7199b to your computer and use it in GitHub Desktop.
Save Dirack/b67a4aa4fc907c9fe75539cfb2c7199b to your computer and use it in GitHub Desktop.
Como criar um script do nautilus para abrir um terminal na pasta atual da janela aberta do nautilus

Create a script called Terminal (yes, without a extension) inside the folder ~/.local/share/nautilus/scripts with the following content:

#!/bin/sh
gnome-terminal

Make it executable, then close any Nautilus instance:

$ chmod +x Terminal
$ nautilus -q

Create (or edit) the ~/.config/nautilus/scripts-accels file adding these lines:

F12 Terminal ; Commented lines must have a space after the semicolon ; Examples of other key combinations: ; F12 Terminal ; F12 Terminal ; F12 Terminal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment