file urls in Ubuntu
Brian McKee
brian.mckee at gmail.com
Sat Mar 27 12:27:32 UTC 2010
On Sat, Mar 27, 2010 at 3:45 AM, <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?
>
> This is what I came up with through Google.
>
> http://www.cs.tut.fi/~jkorpela/fileurl.html
From that very same link
' Mozilla browsers refuse to follow file: links on a page that it has fetched with the HTTP protocol, so that the page's own URL is an http: URL. When you click on such a link, nothing happens. '
IIRC that changed happened about Firefox 1.0
I went looking for a work-around but never found one - I have a case where that would be really handy.
Brian
--
Hey, it's your computer.... isn't it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 271 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100327/a0509947/attachment.sig>
More information about the ubuntu-users
mailing list