Copy Path To Clipboard

UUID: copy-path-to-clipboard@claudiux
Last edited:
2 weeks ago 2025-10-18, 15:56
Last commit: [9956dfc4] Add Vietnamese translations (#735)

Copy the full path of the selected item to the clipboard. Requires xclip to be installed.

README

Close

Copy Path To Clipboard

Copy the entire path of a file or folder to the clipboard by right-clicking on it.

DESCRIPTION

This action adds a context menu item for copying an entire path to the clipboard. You can then paste this path anywhere as usual.

DEPENDENCY

Requires xclip to be installed.

CHANGELOG

Open

Log In To Comment!

20 Comments

ii0-0ii
ii0-0ii-3 weeks ago
claudiux
claudiux-3 weeks ago
This one copies the entire path; the other one copies only the base name.
ii0-0ii
ii0-0ii-3 weeks ago
[code] ^V^[[200~sudo apt install kitty -y~ [/code] this happens when i copy/paste from Website to Terminal in LM22.2
claudiux
claudiux-2 weeks ago
This action is a *Nemo* action, not a net browser action. Install this action. Open nemo (also named Files by Cinnamon). Right-click on a file or folder then select 'Copy path to clipboard'. Right-click in a Gnome terminal then select 'Paste'.
ii0-0ii
ii0-0ii-2 weeks ago
since LM22.2 already has nemo built-in. as https://github.com/kaoneko mentioned. we both had the same confusion. So Finally figured the difference in the https://github.com/plumber-craic interaction. the "ACTION" of the context Menu. <<< this app activates on the ICONS in the FOLDERS / FILES gui when Copying them. >>> does NOT activate when Copying TEXT. it PASTES this app function. NOT THE FILE/FOLDER itself pasting any thing to a Terminal; is the Nemo app activates/functioning ;; which is looks like what the 2 "ACTION" apps is doing. which only works in "TERMINAL" app. NOT in the "KITTY" app.
Steve
Steve-7 months ago
As per the previous person - I've found it... Download it and decompress it in ~/.local/share/nemo/actions.
claudiux
claudiux-7 months ago
Simpler way: Cinnamon Settings -> Actions -> Download tab then Manage tab.
Steve
Steve-7 months ago
Sorry, I'm being blind and also being a noob to Linux, how do I install this (I've downloaded the zip file and extracted it)?
kaoneko
kaoneko-1 year ago
I'm confused... there is already a context menu item "Copy" that does this?
claudiux
claudiux-1 year ago
"Copy" copies the file or folder. This action only copies the entire path to file (or folder) into the clipboard, like "/path/to/this/file". You must install 'xclip' to use this action.
kaoneko
kaoneko-11 months ago
On Nemo 5.2.4 on Mint 20.3 Cinnamon it also copies the path(s) of the selected file(s), which is pasted when you paste in a text field. Doesn't this work for you? Maybe it's not the same in all versions.
claudiux
claudiux-11 months ago
You're right, even with Nemo 6.2.8 on Cinnamon 6.2.9 (LM22).
drpeppercan
drpeppercan-1 year ago
Never mind, apparently I'm kind of blind. I saw now the instructions in the main Actions page.
drpeppercan
drpeppercan-1 year ago
It would be nice if there were instructions to install it available. Thanks in advance
plumber-craic
plumber-craic-1 year ago
i downloaded and add this action but it does not appear in the context menu. Will post back here if I can figure out why. It is present under Layout, so not sure why.
claudiux
claudiux-1 year ago
You must select a folder or file by right-clicking on it for this action to appear in the context menu.
plumber-craic
plumber-craic-1 year ago
Not sure what you mean. How can I right click on a file or folder to show the context menu but also not select that file? Steps to reproduce 1. open Actions 2. Download 3. Choose Copy Path to Clipboard, now it has a tick next to it 4. Layout, confirm the new Copy path to clipboard option is present 5. right click a file or folder and the option is not there.
plumber-craic
plumber-craic-1 year ago
fixed - it depends on xclip, but this is not installed automatically when downloading the action.
claudiux
claudiux-1 year ago
Thank you very much. This is now indicated in the description.
plumber-craic
plumber-craic-1 year ago
thanks for updating the description and for a very cool Action - just what I needed