/nautilus-copy-path

Extension for Nautilus to copy files/dir path or name

Primary LanguagePythonMIT LicenseMIT

Nautilus Copy Path/Name

ScreenShot

Installation

AUR

With yay or yaourt

  1. yay -S nautilus-copy-path or yaourt -S nautilus-copy-path
  2. Restart the Nautilus (nautilus -q)

Or manual

  1. git clone https://aur.archlinux.org/nautilus-copy-path.git
  2. cd nautilus
  3. makepkg -si
  4. Restart the Nautilus (nautilus -q)

Manual installation

Install Dependencies

Fedora sudo dnf install nautilus-python python3-gobject

Ubuntu sudo apt install python-nautilus python3-gi

Download & Install the Extension

  1. git clone https://github.com/chr314/nautilus-copy-path.git

  2. cd nautilus-copy-path

  3. make install

  4. Restart the Nautilus (nautilus -q)

Uninstallation

  1. cd path/to/nautilus-copy-path

  2. make uninstall

  3. Restart the Nautilus (nautilus -q)

Configuration

configuration file: config.json

example:

{
  "items": {
    "path": true,
    "uri": true,
    "name": true
  },
  "selections": {
    "clipboard": true,
    "primary": true
  },
  "language": "auto",
  "separator": ", "
}

Currently supported languages

  • Chinese
  • English
  • French
  • German
  • Greek
  • Italian
  • Japanese
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Spanish

Add new translations

Translations files are in translations directory

example: English Translation

  1. Copy the english translation file (en.json), the new file name must be the new language code (e.g. es.json)

  2. Translate the values in the new file

  3. Add information in the README in the section Currently supported languages about new language

  4. Create Pull Request with the new translation