Public bug reported:

Binary package hint: nautilus

.URL files are used in Windows to launch the browser to go to a URL.
Internet Explorer saves Favorites as .url files, for instance, and
Firefox creates .URL files when dragging a web page to the Desktop.  (In
KDE and Gnome, this functionality is supplied by .desktop files.)

Currently, double-clicking a .url file in Nautilus opens it in a text
editor.  It should launch the user's default browser instead.

The file format is simple, starting with

    [InternetShortcut]

and then containing a string like:

    URL=http://www.example.com/webpage.html

For launching the URL in a browser, no more functionality is required
than identifying the file format (.url glob and magic word as above) and
then finding this "URL=" key.

There are other keys that can be included in the file, like an icon with
an absolute Windows path.  If we wanted to implement advanced things
like finding the icon, Bug 136714 is relevant.

http://www.cyanwerks.com/file-format-url.html

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Binary package hint: nautilus
  
  .URL files are used in Windows to launch the browser to go to a URL.
  Internet Explorer saves Favorites as .url files, for instance, and
- Firefox creates .URL files when dragging a web page to the Desktop.
+ Firefox creates .URL files when dragging a web page to the Desktop.  (In
+ KDE and Gnome, this functionality is supplied by .desktop files.)
  
  Currently, double-clicking a .url file in Nautilus opens it in a text
  editor.  It should launch the user's default browser instead.
  
  The file format is simple, starting with
  
  [InternetShortcut]
  
  and then containing a string like:
  
  URL=http://www.example.com/webpage.html
  
  For launching the URL in a browser, no more functionality is required
  than identifying the file format (.url glob and magic word as above) and
  then finding this "URL=" key.
  
  There are other keys that can be included in the file, like an icon with
  an absolute Windows path.  If we wanted to implement advanced things
  like finding the icon, Bug 136714 is relevant.
  
  http://www.cyanwerks.com/file-format-url.html

** Description changed:

  Binary package hint: nautilus
  
  .URL files are used in Windows to launch the browser to go to a URL.
  Internet Explorer saves Favorites as .url files, for instance, and
  Firefox creates .URL files when dragging a web page to the Desktop.  (In
  KDE and Gnome, this functionality is supplied by .desktop files.)
  
  Currently, double-clicking a .url file in Nautilus opens it in a text
  editor.  It should launch the user's default browser instead.
  
  The file format is simple, starting with
  
- [InternetShortcut]
+     [InternetShortcut]
  
  and then containing a string like:
  
- URL=http://www.example.com/webpage.html
+     URL=http://www.example.com/webpage.html
  
  For launching the URL in a browser, no more functionality is required
  than identifying the file format (.url glob and magic word as above) and
  then finding this "URL=" key.
  
  There are other keys that can be included in the file, like an icon with
  an absolute Windows path.  If we wanted to implement advanced things
  like finding the icon, Bug 136714 is relevant.
  
  http://www.cyanwerks.com/file-format-url.html

-- 
Nautilus should launch the browser from .URL files
https://bugs.launchpad.net/bugs/307486
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to