Ubuntu – Alternative to Nautilus for copying file paths

20.04filemanagernautiluspaths

I just moved from Ubuntu 18.04 to 20.04. A strange behaviour in Files (Nautilus) is that you cannot copy a file path. Instead, it copies

x-special/nautilus-clipboard
copy
file:///home/mywork/test.txt

instead of

/home/mywork/test.txt

As I researched, this change has come into effect in 19.04. Several bugs have been filed for this behaviour. Therefore, I assume it is the intended behaviour.

Since I frequently copy files and run them in the terminal, I have to shift to another file manager.

I wanted to use Nemo, but I read the latest version has the same behaviour (apparently they use the same core system).

Can you recommend a file browser with the standard path copying behaviour?

Best Answer

Copy from nautilus and then paste into a terminal by right-mouse "Paste as Filenames". This will preserve the path. This menu option appears only after copy. I have tested this on fresh installs of 19.10 and 20.04.

enter image description here