nautilus-copy-path

chr314MIT活跃维护

给 GNOME 文件管理器 Nautilus 加右键菜单和快捷键,一键复制文件路径、URI、文件名或文件内容,复制格式可自定义。

Configurable extension for Nautilus to copy path, URI, name or content

1.10.3发布于 2026-02-28 21:03 UTC256star +1 / 7 天40fork同步于 2026-11-11 00:01 UTC

怎么上手

由 README 提炼,执行前请确认
yay -S nautilus-copy-path
nautilus -q
硬件要求按 README 说明

README 未说明;这是 Nautilus 桌面扩展,不涉及 GPU 或显存。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

给 Nautilus 文件管理器加右键菜单,一键复制文件路径、URI、名称或内容

给 GNOME 文件管理器 Nautilus 加右键菜单和快捷键,一键复制文件路径、URI、文件名或文件内容,复制格式可自定义。

核心能力

  • 右键菜单复制路径、URI、文件名或文件内容
  • 支持 Ctrl+Shift+C/U/D/G 四组默认快捷键
  • 通过 config.json 自定义菜单项、快捷键与分隔符
  • 可同时写入剪贴板与 primary 选择区
  • 内置中文等二十余种界面翻译

容易踩的坑

手动安装需先装 nautilus-python 与 python3-gobject(Ubuntu 为 python3-nautilus、python3-gi);装完必须执行 nautilus -q 重启文件管理器才能看到菜单项;复制文件内容项需在 config.json 中开启 content。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本1.10.3
  1. 1.10.3最新正式版2026-02-28 · 2026-02-28 21:03 UTC

    What's Changed

    Full Changelog: https://github.com/chr314/nautilus-copy-path/compare/1.10.2...1.10.3

  2. 1.10.22023-01-11 · 2023-01-11 13:41 UTC
    查看更新说明
  3. 1.10.12022-12-16 · 2022-12-16 16:58 UTC
    查看更新说明
  4. 1.9.02022-12-16 · 2022-12-16 12:19 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/chr314/nautilus-copy-path/compare/1.8.0...1.9.0

  5. 1.8.02022-08-08 · 2022-08-08 09:38 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/chr314/nautilus-copy-path/compare/1.7.0...1.8.0

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Nautilus Copy Path/Name

    ScreenShot

    Installation

    AUR

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

    Fedora Copr Copr build status

    1. Add this repo sudo dnf copr enable xariann/tools
    2. Install the package sudo dnf install nautilus-copy-path
    3. Restart the Nautilus (nautilus -q)

    Net Install

    curl -L https://raw.githubusercontent.com/chr314/nautilus-copy-path/master/net-installer.sh | bash
    

    Manual installation

    Install Dependencies

    Fedora sudo dnf install nautilus-python python3-gobject

    Ubuntu sudo apt install python3-nautilus python3-gi

    Arch sudo pacman -S python-nautilus python-gobject

    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) if not seeing the options.

    Uninstallation

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

    2. make uninstall

    3. Restart the Nautilus (nautilus -q) if still seeing the options after uninstall.

    Keyboard Shortcuts

    Default Keyboard Shortcuts

    ActionShortcut
    Copy PathsCtrl + Shift + C
    Copy URIsCtrl + Shift + U
    Copy NamesCtrl + Shift + D
    Copy Files ContentCtrl + Shift + G

    Configuration

    configuration file: config.json

    example:

    {
      "items": {
        "path": true,
        "uri": true,
        "name": true,
        "content": true
      },
      "selections": {
        "clipboard": true,
        "primary": true
      },
      "shortcuts": {
        "path": "<Ctrl><Shift>C",
        "uri": "<Ctrl><Shift>U",
        "name": "<Ctrl><Shift>D",
        "content": "<Ctrl><Shift>G"
      },
      "language": "auto",
      "separator": ", ",
      "escape_value_items": false,
      "escape_value": false,
      "name_ignore_extension": false
    }
    

    Currently supported languages

    • Arabic
    • Chinese
    • Danish
    • English
    • Finnish
    • French
    • German
    • Greek
    • Italian
    • Japanese
    • Korean
    • Norwegian
    • Polish
    • Portuguese
    • Romanian
    • Russian
    • Spanish
    • Swedish
    • Turkish
    • Ukrainian
    • Vietnamese
    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