Briefly, now that the Copy Path option has been removed from the lxqt version of the pcmanfm file maanger, I'm trying to find a workaround.
More details: I've been using Linux since 2015, solely using Lubuntu and pcmanfm, so maybe I haven't learned the right way to do things. But whenever I've needed the file/path name to insert into a desktop file, bash script, or command line, I've always used the "Copy Path" option under the context menu of pcmanfm.
Now that it's gone in the lxqt version (and I'm preparing to move to that version eventually), I'm trying to find a workaround for that missing function.
Aside from solely using the CLI for navigation (if I did that, why would I need a file manager?!), what are the easy ways to get the path/file name without having to do a complex series of actions which I now have to do sans Copy Path.
Before (i.e., with Copy Path): Select file, right-click and select Copy Path, this gives the entire pathname including filename; paste into document/file/script/CLI
Now (i.e., after removal of Copy Path): Highlight and copy path from pcmanfm navigation bar, paste pathname into leafpad; right-click file, copy filename; paste into leafpad next to the filename; select & copy the merged pathname/filename and paste into document/file/script/CLI
There's got to be a better way and there likely is. I just don't know what it is! Thanks.
Edit for clarity (which maybe removed if it's considered promotional):
The Copy Path feature provided the ability to right-click on a file in the file manager and to choose "Copy Path". This action would copy the path of the file, say, /etc/apt/sources.list
, into the clipboard for pasting elsewhere. This feature is present in the the gtk version of pcmanfm but not in the qt version. Other file managers such as thunar and nautilus provide this feature without explicitly naming it "Copy Path". See my answer below.