Simple script to open my favorite terminal Black Box from Nautilus (Gnome Files) Menu
-
Install
nautilus-python >=4.0
sudo apt install python3-nautilus
sudo dnf install nautilus-python
sudo pacman -S nautilus-python
-
Copy
nautilus-open-in-blackbox.py
to$XDG_DATA_HOME/nautilus-python/extensions
(default to$HOME/.local/share/nautilus-python/extensions
) ifXDG_DATA_HOME
not set.[!NOTE] If the latest version don't work, you can try the stable version 0.1.2 nautilus-open-in-blackbox.py
mkdir -p $HOME/.local/share/nautilus-python/extensions cp nautilus-open-in-blackbox.py $HOME/.local/share/nautilus-python/extensions nautilus -q # restart nautilus
The script stability mostly depend on the Nautilus-Python API and system python so there is no version pin here. I'll note the API version here tested on my machine so it's more future proof:
nautilus-python
4.0.1: Docs- Python 3.12+ (But it should work for any Python 3.7+ infer from module usage)