is an extension for nautilus, which adds an context-entry for opening other terminal emulators than gnome-terminal.
- Nautilus
- Caja
The following terminal emulators are fully supported. PRs for other terminals are welcome!
alacrittyblackboxcool-retro-termcontourdeepin-terminalfoot/footclientghosttygnome-terminalguakekermitkgx(GNOME Console)kittykonsolemate-terminalmltermptyxisqterminalriosakurasttabbyterminatorterminologyterminustermitetilixurxvturxvtcwarpweztermxfce4-terminalxterm/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.
yay -S nautilus-open-any-terminalFor configuration.nix (works without needing to enable Gnome DE)
programs.nautilus-open-any-terminal = {
enable = true;
terminal = "kitty";
};
environment = {
sessionVariables.NAUTILUS_4_EXTENSION_DIR = "${pkgs.gnome.nautilus-python}/lib/nautilus/extensions-4";
pathsToLink = [
"/share/nautilus-python/extensions"
];
systemPackages = with pkgs; [
gnome.nautilus
gnome.nautilus-python
];
};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-terminalSystem-wide install:
pip install nautilus-open-any-terminalgit 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 installinstall 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 onlyThen kill Nautilus to allow it to load the new extension:
nautilus -qTo configure the plugin’s behaviour make sure to run (system-wide):
glib-compile-schemas /usr/share/glib-2.0/schemasor for (user-wide) installation:
glib-compile-schemas ~/.local/share/glib-2.0/schemas/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 systemSince 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
