Bug#613107: epiphany-browser: Add http and https schemes to supported mimetypes in epiphany.desktop file

Arjan Opmeer arjan.opmeer at gmail.com
Sat Feb 12 22:01:24 UTC 2011


Package: epiphany-browser
Version: 2.30.6-1
Severity: wishlist

Modern Gnome desktops look at the scheme of a URL (i.e the http:// part)   
first to determine with which application to open it. When one has multiple
browsers installed and only one of them supports said scheme it will always
be used to open the URL. This happens when one ctrl-clicks on a URL in 
gnome-terminal or uses a utility like gvfs-open (or even xdg-open which uses
gvfs-open under water).

In my case I have iceweasel, epiphany and chromium installed. Only chromium
currently indicates in its desktop files that it knows how to handle http
schemes. And although I have made iceweasel my default browser when I
ctrl-click on a URL in gnome-terminal it will always be opened with
chromium.

However, as soon as I added the schemes to the iceweasel.desktop file and
ran update-desktop-database to regenerate the mimeinfo.cache file this
changed. Now when I ctrl-click on a URL in gnome-terminal both chromium and
iceweasel will be considered for opening the URL and somewhere deep in the
bowels of Gnome it is discovered that I have made iceweasel my default
browser and hence it opens the URL in iceweasel instead of chromium. In
short exactly the behaviour I want... :)

To have epiphany considered on even footing with chromium (and hopfully soon
iceweasel) it should also add the http and https schemes to its desktop
file. Like so:

--- epiphany.desktop.ORIG	2011-02-12 21:09:08.000000000 +0100
+++ epiphany.desktop	2011-02-12 21:11:00.000000000 +0100
@@ -336,4 +336,4 @@ X-GNOME-Bugzilla-Product=epiphany
 X-GNOME-Bugzilla-Component=BugBuddyBugs
 X-GNOME-Bugzilla-Version=2.30.6
 Categories=Network;GNOME;GTK;WebBrowser;
-MimeType=text/html;text/xml;application/xhtml+xml;
+MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;

Could you please add these changes to the epiphany.desktop file?

(I have sent a similar bugreport to the iceweasel maintainers)

Arjan


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.37
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages epiphany-browser depends on:
ii  dbus-x11               1.4.1-2           simple interprocess messaging syst
ii  epiphany-browser-data  2.30.6-1          Data files for the GNOME web brows
ii  gnome-icon-theme       2.30.3-2          GNOME Desktop icon theme
ii  iso-codes              3.24.1-1          ISO language, territory, currency,
ii  libavahi-client3       0.6.28-3          Avahi client library
ii  libavahi-common3       0.6.28-3          Avahi common library
ii  libavahi-gobject0      0.6.28-3          Avahi GObject library
ii  libc6                  2.11.2-11         Embedded GNU C Library: Shared lib
ii  libcairo2              1.10.2-2          The Cairo 2D vector graphics libra
ii  libdbus-1-3            1.4.1-2           simple interprocess messaging syst
ii  libdbus-glib-1-2       0.88-2.1          simple interprocess messaging syst
ii  libgconf2-4            2.28.1-6          GNOME configuration database syste
ii  libgirepository1.0-0   0.6.14-1+b1       Library for handling GObject intro
ii  libglib2.0-0           2.28.0-1          The GLib library of C routines
ii  libgnome-keyring0      2.30.1-1          GNOME keyring services library
ii  libgtk2.0-0            2.20.1-2          The GTK+ graphical user interface 
ii  libice6                2:1.0.7-1         X11 Inter-Client Exchange library
ii  libnotify1 [libnotify1 0.5.0-2           sends desktop notifications to a n
ii  libnspr4-0d            4.8.6-1           NetScape Portable Runtime Library
ii  libnss3-1d             3.12.8-2          Network Security Service libraries
ii  libpango1.0-0          1.28.3-1+squeeze1 Layout and rendering of internatio
ii  libseed0               2.30.0-1+b1       GObject JavaScript bindings for th
ii  libsm6                 2:1.2.0-1         X11 Session Management library
ii  libsoup-gnome2.4-1     2.30.2-1          an HTTP library implementation in 
ii  libsoup2.4-1           2.30.2-1          an HTTP library implementation in 
ii  libwebkit-1.0-2        1.2.6-2           Web content engine library for Gtk
ii  libx11-6               2:1.4.1-4         X11 client-side library
ii  libxml2                2.7.8.dfsg-2      GNOME XML library
ii  libxslt1.1             1.1.26-6          XSLT 1.0 processing library - runt

Versions of packages epiphany-browser recommends:
ii  ca-certificates          20090814+nmu2   Common CA certificates
ii  evince                   2.30.3-2        Document (PostScript, PDF) viewer
ii  yelp                     2.30.1+webkit-1 Help browser for GNOME

Versions of packages epiphany-browser suggests:
pn  epiphany-extensions           <none>     (no description available)

epiphany-webkit depends on no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list