Apport Open a not primary browser in XFCE

Bug #64209 reported by adas on 2006-10-05
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Low
Unassigned

Bug Description

When program crashed apport create report but it Oper a Firefox browser. But my primary browser is Opera.
Links from other program are opened in Opera.

Ubuntu with Xfce

Jeremy Teale (jteale) wrote :

webbrowser.py should check gconf first for the preferred browser.
What is the output of "gconftool-2 -g /desktop/gnome/url-handlers/http/command"?

Martin Pitt (pitti) wrote :

Apport-gtk tries to use gnome-open first, and if that does not exist, it uses webbrowser.open(), which does not respect gconf settings.

What I need for this is the XFCE equivalent of gnome.open.

Changed in apport:
importance: Undecided → Low
status: Unconfirmed → Needs Info
Jani Monoses (jani) wrote :

Please see how launchpad-integration does it, falling back to x-www-browser
/usr/share/launchpad-integration/launchpadintegration/urls.py

Martin Pitt (pitti) wrote :

Splendid, thanks!

Changed in apport:
status: Needs Info → In Progress
Martin Pitt (pitti) on 2006-10-06
Changed in apport:
status: In Progress → Fix Committed
Martin Pitt (pitti) wrote :

 apport (0.27) edgy; urgency=low
 .
   * apport: Ignore SIGABRT for now; it's usually signalled from abort() or
     assertion failures and we only get reports with unusable stack traces for
     it (see #61938).
   * gtk/apport-gtk: If gnome-open is not available, fall back to x-www-browser
     instead of using webbrowser.py, to respect default browser in XFCE.
     Closes: LP#64209
   * apport: use os.nice() instead of executing 'renice'. Thanks to Benoit
     Boissinot for noticing.
   * apport_utils.py, find_file_package(): Lower() both strings in the speedup
     heuristics to match e. g. /usr/bin/Xorg -> xserver-xorg. Thanks to Kees
     Cook!
   * apport_utils.py, report_add_package_info(): Do not crash if we encounter a
     'None' current version, which can happen with uninstalled alternative
     dependencies. Thanks to Kees Cook for tracking this down!

Changed in apport:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers