Copy Path To Clipboard

UUID: copy-path-to-clipboard@claudiux
Last edited:
2 weeks ago 2024-11-26, 05:49
Last commit: [8fef138e] Update Czech translations (#570)

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!

12 Comments

kaoneko
kaoneko-1 month ago
I'm confused... there is already a context menu item "Copy" that does this?
claudiux
claudiux-1 month 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-1 month 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-1 month ago
You're right, even with Nemo 6.2.8 on Cinnamon 6.2.9 (LM22).
drpeppercan
drpeppercan-1 month ago
Never mind, apparently I'm kind of blind. I saw now the instructions in the main Actions page.
drpeppercan
drpeppercan-1 month ago
It would be nice if there were instructions to install it available. Thanks in advance
plumber-craic
plumber-craic-4 months 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-4 months 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-4 months 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-4 months ago
fixed - it depends on xclip, but this is not installed automatically when downloading the action.
claudiux
claudiux-4 months ago
Thank you very much. This is now indicated in the description.
plumber-craic
plumber-craic-3 months ago
thanks for updating the description and for a very cool Action - just what I needed