Skip to content

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

License

Notifications You must be signed in to change notification settings

jahtz/nautilus-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Topics

Resources

License

Stars

Watchers

Forks