file urls in Ubuntu

Colin Law clanlaw at googlemail.com
Sat Mar 27 09:11:01 UTC 2010


On 27 March 2010 07:45,  <christopher.lemire at gmail.com> wrote:
> I thought if I created a hyperlink on Ubuntu Forums with
> file:///directory/index.html, it would open when clicked like it does in
> other programs. For example, put this simple command in gnome-terminal:
>
> $ echo file:///usr/share/doc/python/faq/general.html
> file:///usr/share/doc/python/faq/general.html
>
> Now if that is clicked on, it will open a new tab of Firefox or whatever is
> set as the default browser displaying that html file. So I did some
> googling, and found that it should work in Mozilla. Firefox is made by
> Mozilla, so how can it be made to work?

I am not entirely sure what you are asking, but remember that the file
is looked for by the browser on the machine the browser is running on,
ie a local file.  If you put a link like that on a server the browser
will still look on the local machine, not the server.

Colin

>
> This is what I came up with through Google.
>
> http://www.cs.tut.fi/~jkorpela/fileurl.html
>
> Christopher Lemire <christopher.lemire at gmail.com>
> Ubuntu 64 bit Linux Raid Level 0
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>




More information about the ubuntu-users mailing list