>> I'm trying to copy the full path of a file from xfce4's file manager
>> Thunar so I can paste it into a command line program.  The way I found
>> to do this was with the "Configure custom actions..." option like
>> this:
>>
>> echo %f | xcopy -selection c
>>
>> I can then paste the path, but there is a newline character at the end
>> which messes things up.  Is there a better way to do this, or can I
>> strip the newline character?
>>
>> - Grant
>>
>
> If this newline comes from the echo command you can suppress it with "-n".
>
> echo -n %f | xcopy -selection c
>
> --
> Regards,
> Daniel

Ah perfect, thanks guys.  Also the program is called xclip, not xcopy.
 Sorry about that.

- Grant

Reply via email to