← Back to team overview

linux-traipu team mailing list archive

[Bug 670128] Re: gnome-open uses firefox while it's not the preferred browser

 

Launchpad has imported 14 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=654746.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-11-18T18:13:46+00:00 Bastien wrote:

Created attachment 461347
patch

GNOME switched to using the x-scheme-handler/http(s) for the default
browser, instead of a custom GConf setting.

See also:
http://www.hadess.net/2010/10/new-control-center-and-you.html
http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html#id2869854

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/2

------------------------------------------------------------------------
On 2010-11-18T18:16:22+00:00 Bastien wrote:

Note that this is needed for Chromium to detect whether it's the default
browser or not.

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/3

------------------------------------------------------------------------
On 2010-11-18T18:21:06+00:00 Colin wrote:

In order to upstream this patch, wouldn't we need to make it able to
detect GNOME 2.32 vs 3 and choose the right one?

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/4

------------------------------------------------------------------------
On 2010-11-18T18:29:45+00:00 Rex wrote:

Any sh snippet advice on how to detect gnome3?  (and is this change
specific to gnome3)?

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/5

------------------------------------------------------------------------
On 2010-11-18T19:31:32+00:00 Bastien wrote:

(In reply to comment #3)
> Any sh snippet advice on how to detect gnome3?  (and is this change specific to
> gnome3)?

It's GNOME3 specific, so this is what we'll need in Fedora going forward
(from F15 onwards).

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/6

------------------------------------------------------------------------
On 2010-11-19T02:32:37+00:00 Bastien wrote:

Created attachment 461430
updated patch

Fixes xdg-settings check not working as expected (we were comparing a
desktop name to a binary one).

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/7

------------------------------------------------------------------------
On 2010-11-19T02:35:43+00:00 Bastien wrote:

(In reply to comment #2)
> In order to upstream this patch, wouldn't we need to make it able to detect
> GNOME 2.32 vs 3 and choose the right one?

Right, it seems that the upstream isn't as dead as I thought and Rex is
a committer, so I should fix it up.

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/8

------------------------------------------------------------------------
On 2010-11-19T03:31:02+00:00 Bastien wrote:

Created attachment 461442
new patch

Adds the ability to detect GNOME 3.x, on its own, and also ports the
mailto functionality to x-scheme-handler.

I also tested the GNOME3 code path more thoroughly for the browser
settings, and it works as expected on the command-line, and when used in
chromium ("check" to detect the current browser, and "set" to set
chromium as the default browser).

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/9

------------------------------------------------------------------------
On 2011-02-01T12:58:40+00:00 Bastien wrote:

Any news on this?

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/20

------------------------------------------------------------------------
On 2011-02-01T13:27:43+00:00 Rex wrote:

Thanks for the poke, I'll work on this today.

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/21

------------------------------------------------------------------------
On 2011-02-01T15:25:59+00:00 Rex wrote:

Patch upstreamed (with some minor fuzz),

http://cgit.freedesktop.org/xdg/xdg-
utils/commit/?id=6f49c05ceb2a1935d07c49c2e100b5cf3cdf5f26

and snapshot build xdg-utils-1.1.0-0.2.20110201.fc15 submitted,
http://koji.fedoraproject.org/koji/taskinfo?taskID=2754753

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/22

------------------------------------------------------------------------
On 2011-07-14T00:26:23+00:00 Mark wrote:

Not sure if this needs to be re-opened or if it's a new issue, but the
functionality is broken in xdg-utils-1.1.0-0.6.20110505.fc15.noarch.

[mark@thinkpad ~]$ xdg-settings get default-web-browserwhich: no gnome-default-applications-properties in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/mark/bin)
which: no gnome-default-applications-properties in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/mark/bin)
google-chrome.desktop
[mark@thinkpad ~]$ /opt/google/chrome/xdg-settings get default-web-browser
which: no gnome-default-applications-properties in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/mark/bin)
google-chrome.desktop

Chrome will use the system supplied one if available, and it keeps
asking me if it can be the default. I've tried both stable (Chrome 12)
and unstable (Chrome 14) and both fail.

As an aside, why is which(1) stderr output redirected to stdout?

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/35

------------------------------------------------------------------------
On 2011-07-14T00:34:32+00:00 Mark wrote:

I think the Chromium guys figured it out. Please pick up the change from
here: http://code.google.com/p/chromium/issues/detail?id=89258#c4

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/36

------------------------------------------------------------------------
On 2011-07-14T00:45:58+00:00 Mark wrote:

Filed a separate bug: https://bugzilla.redhat.com/show_bug.cgi?id=721188

Reply at: https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/670128/comments/37


** Changed in: xdg-utils (Fedora)
       Status: Unknown => Fix Released

** Changed in: xdg-utils (Fedora)
   Importance: Unknown => Medium

** Bug watch added: code.google.com/p/chromium/issues #89258
   http://code.google.com/p/chromium/issues/detail?id=89258

** Bug watch added: Red Hat Bugzilla #721188
   https://bugzilla.redhat.com/show_bug.cgi?id=721188

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Chromium Browser.
https://bugs.launchpad.net/bugs/670128

Title:
  gnome-open uses firefox while it's not the preferred browser

Status in Chromium Browser:
  Unknown
Status in chromium-browser package in Ubuntu:
  Fix Released
Status in gnome-control-center package in Ubuntu:
  Fix Released
Status in xdg-utils package in Ubuntu:
  Fix Released
Status in chromium-browser source package in Natty:
  Fix Released
Status in gnome-control-center source package in Natty:
  Fix Released
Status in xdg-utils source package in Natty:
  Fix Released
Status in xdg-utils package in Fedora:
  Fix Released

Bug description:
  Chromium is set as prefered browser, but firefox opens.

  $ gconftool --get /desktop/gnome/url-handlers/http/command
  /usr/bin/chromium-browser %s

  [Workaround]
  Run:
    xdg-mime default chromium-browser.desktop x-scheme-handler/http
    xdg-mime default chromium-browser.desktop x-scheme-handler/https

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: libgnome2-0 2.32.0-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.36-1.7-generic-pae 2.6.36
  Uname: Linux 2.6.36-1-generic-pae i686
  Architecture: i386
  Date: Tue Nov  2 22:13:37 2010
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  ProcEnviron:
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: libgnome

To manage notifications about this bug go to:
https://bugs.launchpad.net/chromium-browser/+bug/670128/+subscriptions