A small Nautilus extension for quickly copying file/Samba paths.
This repository contains two plugins for Nautilus:
nautilus-copypath
- Quickly copy file/folder paths.nautilus-copywinpath
- Quickly copy Samba file/folder paths, converting them to Windows paths on-the-fly.
You may choose to install both of the plugins, or only one of them, as you see fit.
To successfully install the plugin you need:
- Python >= 3.2
- GNOME >= 3.18 (tested on Ubuntu 16.04-18.04, Fedora 25-28, Arch Linux)
- GObject Python bindings (development libraries)
- nautilus-python
Simply copy and paste the appropriate command for your distro:
Distro | Command |
---|---|
Fedora | $ sudo dnf install nautilus-python python3-gobject |
Ubuntu | $ sudo apt-get install python-nautilus python3-gi |
Arch Linux | $ sudo pacman -S python-gobject python-nautilus |
Clone the repository:
git clone https://github.com/ronen25/nautilus-copypath
Copy the file/s to the appropriate folder, creating it if needed:
mkdir ~/.local/share/nautilus-python
mkdir ~/.local/share/nautilus-python/extensions
cp nautilus-copypath.py ~/.local/share/nautilus-python/extensions/
cp nautilus-copywinpath.py ~/.local/share/nautilus-python/extensions/
Restart Nautilus and the extension will be available.