Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 924 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 924 Bytes

nautilus-path

Nautilus (GNOME Files) extension for copying file and directory paths.

Important

This extension removes any prefixes from network drive paths (tested only with SFTP servers) and returns them as "local" paths.

Setup

Requirements

Ubuntu/Debian/Mint: sudo apt install python3-nautilus python3-gi

RHEL/Fedora: sudo dnf install nautilus-python python3-gobject

Arch: sudo pacman -S python-nautilus python-gobject

Install extension

git clone https://github.com/jahtz/nautilus-path.git
cd nautilus-path
make install

Remove extension

make uninstall

Modifications

Note

File to modify: ~/.local/share/nautilus-python/extensions/nautilus-path.py
Modifications require Nautilus to be reloaded: nautilus -q

Change separator for multiple selected files:

Default is a newline symbol. Can be changed by changing FILE_SEPARATOR (line 36)