You are not logged in.
Pages: 1
I'm used to right-clicking on a filename to copy its full path so that I can paste it into text documents, and I tried to get this working in Thunar. I followed these instructions:
Xfce.org Thunar Custom Actions Docs
The command appears in my right-click context menu, but when I click it nothing happens and it does not copy anything to the clipboard. xclip is installed on my system. I'd be grateful for any help to get this working.
Offline
By default, xclip uses the X clipboard (XA_PRIMARY), and to paste the contents you need to paste in the traditional way (middle button click, or if you don't have a middle button, click both buttons at the same time). If you want to be able to paste via Ctrl+v (XA_CLIPBOARD), use this command instead:
echo -n %f | xclip -selection clipboard
More information is available in the xclip man page.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Brilliant! Thanks ToZ!
This now works perfectly. I wonder if the document I linked to in my first post should mention this?
(BTW, your avatar is excellent)
Offline
Pages: 1
[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 522.71 KiB (Peak: 523.55 KiB) ]