nautilus-open-any-terminal

an extension for nautilus, which adds an context-entry for opening other terminal emulators than gnome-terminal.


Keywords
nautilus, extension, terminal, gnome, nautilus-extension, python
License
Other
Install
pip install nautilus-open-any-terminal==0.5.1

Documentation

nautilus-open-any-terminal

DownloadsPackaging status

is an extension for nautilus, which adds an context-entry for opening other terminal emulators than gnome-terminal.

screenshot

Supported Terminal Emulators

Right now the plugin is limited to these terminal emulators. If one is missing please open an issue.

  • alacritty
  • blackbox
  • cool-retro-term
  • deepin-terminal
  • foot/footclient
  • gnome-terminal
  • guake
  • hyper
  • kermit
  • kgx (GNOME Console)
  • kitty
  • konsole
  • mate-terminal
  • mlterm
  • ptyxis
  • qterminal
  • rio
  • sakura
  • st
  • tabby
  • terminator
  • terminology
  • terminus
  • termite
  • tilix
  • urxvt
  • urxvtc
  • warp
  • wezterm
  • xfce4-terminal
  • xterm/uxterm

Installing

From the AUR (Arch Linux) AUR  package

yay -S nautilus-open-any-terminal

Nixpkgs (NixOS) nixpkgs unstable package

nix-env -iA nixos.nautilus-open-any-terminal

From PYPI PyPI package

Dependencies to install before:

  • nautilus-python (python-nautilus/python3-nautilus(newer) package on Debian / Ubuntu)
  • gir1.2-gtk-4.0 (Debian / Ubuntu)

User install:

pip install --user nautilus-open-any-terminal

System-wide install:

pip install nautilus-open-any-terminal

From source

git clone https://github.com/Stunkymonkey/nautilus-open-any-terminal.git
cd nautilus-open-any-terminal
make

make install schema      # User install
sudo make install schema # System install

restart nautilus

Then kill Nautilus to allow it to load the new extension:

nautilus -q

Settings

To configure the plugin’s behaviour make sure to run (system-wide):

glib-compile-schemas /usr/share/glib-2.0/schemas

or for (user-wide) installation:

glib-compile-schemas ~/.local/share/glib-2.0/schemas/

via dconf-editor

dconf-editor

via command-line

gsettings set com.github.stunkymonkey.nautilus-open-any-terminal terminal alacritty
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal keybindings '<Ctrl><Alt>t'
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal new-tab true
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal flatpak system

Uninstall

Since setup.py does not provide a natively uninstall method the makefile has an uninstall option.

make uninstall scheme      # user uninstall
sudo make uninstall scheme # system uninstall