This is an extension for Nautilus that allows further extending it with Python scripts with the help of Nautilus’s GObject API.
Documentation, including an API reference, is available through the Devhelp app, if you have nautilus-python
package installed, or on-line. For sample extensions, check the examples/
subdirectory in the source distribution. Note that some distros move the documentation into a separate package.
- Nautilus ≥ 43.beta
- Python 3.x
- PyGObject 3
Scripts are loaded in the following order:
$XDG_DATA_HOME/nautilus-python/extensions
(i.e.~/.local/share/…
)nautilus_prefix/share/nautilus-python/extensions
(i.e.~/Development/…
)$XDG_DATA_DIRS/nautilus-python/extensions
(i.e./usr/share/…
)
Simply copy your Python scripts into one of those directories and restart Nautilus.
It is currently not possible to reload a Python script without restarting Nautilus.
Run Nautilus with the NAUTILUS_PYTHON_DEBUG=misc
environment variable to print out debug information.
nautilus-python is released under the terms of the GNU General Public License, either version 2.0 or, at your option, any later version.