Package: iceweasel
Version: 3.6.13-2
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 accomplish this I made the following changes:

--- iceweasel.desktop.ORIG      2011-02-12 21:09:14.000000000 +0100
+++ iceweasel.desktop   2011-02-12 21:11:00.000000000 +0100
@@ -99,6 +99,6 @@ X-MultipleArgs=false
 Type=Application
 Icon=iceweasel
 Categories=Network;WebBrowser;
-MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;
+MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;
 StartupWMClass=Firefox-bin
 StartupNotify=true

Could you please add these changes to the iceweasel.desktop file to have it
considered on even footing with chromium?

(I have sent a similar bugreport the the epiphany maintainers)

Arjan


-- Package-specific info:

-- Extensions information
Name: Adblock Plus
Location: ${PROFILE_EXTENSIONS}/{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
Status: enabled

Name: AniDisable
Location: ${PROFILE_EXTENSIONS}/{0F06271E-61EF-46b8-ACC2-99BAD4BB9F89}
Status: enabled

Name: CookieCuller
Location: ${PROFILE_EXTENSIONS}/{99B98C2C-7274-45a3-A640-D9DF1A1C8460}
Status: enabled

Name: Default
Location: /usr/lib/iceweasel/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
Package: iceweasel
Status: enabled

Name: Flashblock
Location: ${PROFILE_EXTENSIONS}/{3d7eb24f-2740-49df-8937-200b1cc08f8a}
Status: enabled

Name: Nuke Anything Enhanced
Location: ${PROFILE_EXTENSIONS}/{1ced4832-f06e-413f-aa14-9eb63ad40ace}
Status: enabled

Name: QuickJava
Location: ${PROFILE_EXTENSIONS}/{E6C1199F-E687-42da-8C24-E7770CC3AE66}
Status: enabled

Name: User Agent Switcher
Location: ${PROFILE_EXTENSIONS}/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}
Status: enabled

-- Plugins information
Name: DivX® Web Player
Location: /usr/lib/mozilla/plugins/libtotem-mully-plugin.so
Package: totem-mozilla
Status: enabled

Name: IcedTea NPR Web Browser Plugin (using IcedTea6 1.8.5 (6b18-1.8.5-1))
Location: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so
Package: icedtea6-plugin
Status: disabled

Name: QuickTime Plug-in 7.6.6
Location: /usr/lib/mozilla/plugins/libtotem-narrowspace-plugin.so
Package: totem-mozilla
Status: enabled

Name: Shockwave Flash
Location: /usr/lib/flashplayer-mozilla/libflashplayer.so
Package: flashplayer-mozilla
Status: enabled

Name: VLC Multimedia Plugin (compatible Totem 2.30.2)
Location: /usr/lib/mozilla/plugins/libtotem-cone-plugin.so
Package: totem-mozilla
Status: enabled

Name: Windows Media Player Plug-in 10 (compatible; Totem)
Location: /usr/lib/mozilla/plugins/libtotem-gmp-plugin.so
Package: totem-mozilla
Status: enabled


-- Addons package information
ii  flashplayer-mo 2:10.1.102.64- Macromedia Flash Player
ii  icedtea6-plugi 6b18-1.8.5-1   web browser plugin based on OpenJDK and Iced
ii  iceweasel      3.6.13-2       Web browser based on Firefox
ii  totem-mozilla  2.30.2-6       Totem Mozilla plugin

-- 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 iceweasel depends on:
ii  debianutils                   3.4.3      Miscellaneous utilities specific t
ii  fontconfig                    2.8.0-2.1  generic font configuration library
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.5-10 GCC support library
ii  libglib2.0-0                  2.28.0-1   The GLib library of C routines
ii  libgtk2.0-0                   2.20.1-2   The GTK+ graphical user interface 
ii  libnspr4-0d                   4.8.6-1    NetScape Portable Runtime Library
ii  libstdc++6                    4.4.5-10   The GNU Standard C++ Library v3
ii  procps                        1:3.2.8-10 /proc file system utilities
ii  xulrunner-1.9.2               1.9.2.13-2 XUL + XPCOM application runner

iceweasel recommends no packages.

Versions of packages iceweasel suggests:
ii  libgssapi-krb5-2           1.8.3+dfsg-4  MIT Kerberos runtime libraries - k
pn  mozplugger                 <none>        (no description available)
ii  ttf-lyx                    2.0.0~beta4-1 TrueType versions of some TeX font
pn  ttf-mathematica4.1         <none>        (no description available)
ii  xfonts-mathml              4             Type1 Symbol font for MathML
pn  xprint                     <none>        (no description available)

Versions of packages xulrunner-1.9.2 depends on:
ii  libasound2             1.0.23-2.1        shared library for ALSA applicatio
ii  libatk1.0-0            1.30.0-1          The ATK accessibility toolkit
ii  libbz2-1.0             1.0.5-6           high-quality block-sorting file co
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  libevent-1.4-2         1.4.13-stable-1   An asynchronous event notification
ii  libffi5                3.0.9-3           Foreign Function Interface library
ii  libfontconfig1         2.8.0-2.1         generic font configuration library
ii  libfreetype6           2.4.2-2.1         FreeType 2 font engine, shared lib
ii  libgcc1                1:4.4.5-10        GCC support library
ii  libglib2.0-0           2.28.0-1          The GLib library of C routines
ii  libgtk2.0-0            2.20.1-2          The GTK+ graphical user interface 
ii  libhunspell-1.2-0      1.2.14-4          spell checker and morphological an
ii  libjpeg62              6b1-1             The Independent JPEG Group's JPEG 
ii  libmozjs3d             1.9.2.13-2        The Mozilla SpiderMonkey JavaScrip
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  libpixman-1-0          0.21.4-2          pixel-manipulation library for X a
ii  libpng12-0             1.2.44-1          PNG library - runtime
ii  libreadline6           6.1-3             GNU readline and history libraries
ii  libsqlite3-0           3.7.4-2           SQLite 3 shared library
ii  libstartup-notificatio 0.10-1            library for program launch feedbac
ii  libstdc++6             4.4.5-10          The GNU Standard C++ Library v3
ii  libx11-6               2:1.4.1-4         X11 client-side library
ii  libxrender1            1:0.9.6-1         X Rendering Extension client libra
ii  libxt6                 1:1.0.9-2         X11 toolkit intrinsics library
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to