Copy location of multiple files in Dolphin

You can Copy Location (Ctrl+Alt+c) for a single file, but surprisingly it doesn’t work for multiple files/directories. Probably there is no reason why it shouldn’t.

On Windows it’s Ctrl+Shift+c, I use it all the time for file manager and terminal interaction, and it does work for multiple files/folders. Also it’s useful when some app give you a file chooser and you just paste full path instead of looking for it in file system.

I’ve found a workaround on Kubuntu forum (link removed) with using ServiceMenus but creating a second menu item for the same operation doesn’t seem right.

And on Manjaro forum (link removed) there is another workaround by pasting into text editor first, but then paths are prefixed with file:// and are url-encoded and you have to sanitize them before they will become usable.

It would be better if native Copy path could’ve copy multiple paths and separate them with EOL.

I thought of posting this feature request at bugs kde org, but Description field prefilled with this message:

If you’re not sure this is actually a bug, instead post about it at discuss kde org

It doesn’t seem like a bug, more like a questionable UX decision, so I’m posting it here.

P.S. Had to remove links from post.

1 Like

It definitely seems deliberate, seeing how the context menu entry for “Copy Location” gets disabled when selecting multiple files / folders. I can’t think of any reason why this is, though. I’ve been using the Ctrl+c and pasting into Kate workaround myself for some time now, so you’d definitely have my vote for this feature request.

1 Like