[Thunar-dev] File copying

Benedikt Meurer benny at xfce.org
Thu Jan 26 20:27:30 CET 2006


Danny Milosavljevic wrote:
>>When you copy a file, the whole path to that file is copied to the
>>clipboard, and when I paste it into xfce4-terminal then it should show
>>up, right? OK, it does, however, it has the prefix "file:///". What is
> 
> hostname missing btw
> 
>> the use of this? For Fx it isn't needed I believe cause it will just
>>put that in front of it automatically if I'm right. There probably is
>>a reason for this, if so, please tell. 
> 
> If the hostname is there,
> 
> "file://myhost/foo/bar" has the practical use of:
> 
> Let's say you sit at host-a, then ssh to host-b and:
> 
> export DISPLAY="host-a:0"
> thunar
> 
> Then locally at host-a you open a terminal, and copy the file path from
> thunar to the terminal ->
> 
> file://host-b/foo/bar <-- user/program: "ooops! that's actually on
> host-b, not on host-a. I can't do that..." :)

I dropped the hostnames from the file: URIs because it doesn't work 
properly with most GNOME programs.

> cheers,
>    Danny

Benedikt
-- 
Xfce  --  small, stable, fast  --  http://www.xfce.org/

           (__)
           (oo)
     /------\/
    / |    ||
   *  /\---/\
      ~~   ~~
...."Have you mooed today?"...



More information about the Thunar-dev mailing list