Skip to main content

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 file managers

  • Nautilus
  • Caja

Supported Terminal Emulators

The following terminal emulators are fully supported. PRs for other terminals are welcome!

  • alacritty
  • app2unit-term
  • blackbox ( use blackbox-terminal for Debian)
  • bobcat
  • cool-retro-term
  • contour
  • cosmic-term
  • deepin-terminal
  • ddterm
  • foot/footclient
  • ghostty (requires gtk-single-instance = false in the Ghostty config, otherwise the working directory flag is ignored by a running instance)
  • gnome-terminal
  • guake
  • kermit
  • kgx (GNOME Console)
  • kitty
  • konsole
  • mate-terminal
  • mlterm
  • ptyxis
  • qterminal
  • rio
  • sakura
  • st
  • tabby
  • terminator
  • terminology
  • terminus
  • termite
  • tilix
  • urxvt
  • urxvtc
  • uwsm-terminal
  • warp
  • wezterm
  • xfce4-terminal
  • xterm/uxterm

Additionally, the terminal can be set to custom, which allows you to set custom commands for opening a local or remote terminal via dconf.

Installing

From the AUR (Arch Linux) AUR package

yay -S nautilus-open-any-terminal

Nixpkgs (NixOS) nixpkgs stable 24.05 package

For configuration.nix (works without needing to enable Gnome DE)

programs.nautilus-open-any-terminal = {
  enable = true;
  terminal = "kitty";
};

environment.systemPackages = with pkgs; [
  nautilus
];

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)
  • typelib-1_0-Gtk-4_0 (openSUSE)

User install:

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

System-wide install:

pip install nautilus-open-any-terminal

For Debian/Ubuntu based Distros

Download the '.deb' package from the GitHub releases page. Debian packages are automatically built and attached to each release via CI.

After downloading, install it with the apt command:

apt install <package_name>.deb

Or depending on your Linux Distro, you can just double-click the '.deb' file and install it that way.

For Fedora Copr

dnf copr enable monkeygold/nautilus-open-any-terminal
dnf install nautilus-open-any-terminal

From source

Requires gettext.

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

install installs this extension to extension directories of all supported file managers. To avoid this, use install-nautilus or install-caja instead.

make install-nautilus schema # Install nautilus only
make install-caja schema     # Install caja only

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

Each setting can be changed independently. Adjust the values to your liking:

gsettings set com.github.stunkymonkey.nautilus-open-any-terminal terminal alacritty         # your terminal app, e.g. terminator, gnome-terminal, kitty
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal keybindings '<Ctrl><Alt>t' # GTK accelerator syntax; keep the angle brackets literal
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal new-tab true               # true or false
gsettings set com.github.stunkymonkey.nautilus-open-any-terminal flatpak system             # system, none, or the flatpak app id

Uninstall

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

make uninstall schema      # user uninstall
sudo make uninstall schema # system uninstall

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nautilus_open_any_terminal-0.8.3.tar.gz (175.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nautilus_open_any_terminal-0.8.3-py3-none-any.whl (148.7 kB view details)

Uploaded Python 3

File details

Details for the file nautilus_open_any_terminal-0.8.3.tar.gz.

File metadata

File hashes

Hashes for nautilus_open_any_terminal-0.8.3.tar.gz
Algorithm Hash digest
SHA256 f8bf4477063e5c9f9af02a0792c6815a699cc219245a0327efe7bbe4557b9969
MD5 2182ec0ae78405a0619057f74d872581
BLAKE2b-256 88d5e20efa39b4ae86a52f14b0e8aed3c499541dad632d2b5d5575a237c9b2e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for nautilus_open_any_terminal-0.8.3.tar.gz:

Publisher: python-publish.yml on Stunkymonkey/nautilus-open-any-terminal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nautilus_open_any_terminal-0.8.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nautilus_open_any_terminal-0.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7856df15b3608382d65d11754611e0193e1868489b3a9e9535f0bb85b7c61ccf
MD5 5fc9b8d8a76a66d16a8f0ee83fd9d176
BLAKE2b-256 a5323ab3352f90510e29bb5e9fc2bb2668ccfe2410b6f4265c33b9a214e51d11

See more details on using hashes here.

Provenance

The following attestation bundles were made for nautilus_open_any_terminal-0.8.3-py3-none-any.whl:

Publisher: python-publish.yml on Stunkymonkey/nautilus-open-any-terminal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page