Right click on any file(s) and open in a Text Editor (gedit).
Adds an "Open in Text Editor" item to the Nautilus context menu, for all files.
The TEXTEDITOR
variable can be changed in the script to support other editors
You must have the python-nautilus
package installed
For Ubuntu:
sudo apt install python-nautilus
-
Place gedit-nautilus.py in ~/.local/share/nautilus-python/extensions/
-
Restart Nautilus
pkill nautilus