firefox-3.5 not adding Shiretoko entry to preferred applications

Bug #357651 reported by Dominic Evans
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
firefox-3.5 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: firefox-3.5

installing the firefox-3.5 package should add an entry for Shiretoko to the 'web browser' combo bar for the 'System --> Preferences --> Preferred Applications' configuration applet

currently the only way to set Shiretoko as the default browser is to set this to custom and manually enter 'firefox-3.5 %s' in the command input field

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: firefox-3.5 3.5~b4~hg20090330r24021+nobinonly-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.5
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Dominic Evans (oldmanuk) wrote :
tags: added: bitesize firefox shiretoko
Dominic Evans (oldmanuk)
description: updated
Revision history for this message
Fabien Tassin (fta) wrote :

Unfortunately, this doesn't happen in the firefox-* packages. This is hardcoded in gnome-control-center itself.
It has to be listed in /usr/share/gnome-control-center/default-apps/gnome-default-applications.xml.

The proper way to fix this would be to teach gnome-control-center (capplet) how to read user files
in something like /etc/gnome-control-center/gnome-default-applications.d/*.xml that other packages could populate.

Changed in firefox-3.5 (Ubuntu):
status: New → Invalid
Revision history for this message
Dominic Evans (oldmanuk) wrote :

Thanks for the speedy response Fabien. Have raised the appropriate bug (with your suggestion) against gnome-control-center, see bug 357675), although I expect it will also need to be raised upstream.

Revision history for this message
Dominic Evans (oldmanuk) wrote :

Re-opening this as have now heard back from gnome upstream that we can populate this combo, so firefox-3.5 package should be updated to do add this.

Adding a file shiretoko.xml to /usr/share/gnome-control-center/default-apps with suitable content (http://pastebin.com/f170c2e2f) caused it to be populated in the selector. See bug 357675 for the upstream info.

Changed in firefox-3.5 (Ubuntu):
status: Invalid → New
Revision history for this message
Dominic Evans (oldmanuk) wrote :

fwiw, thunderbird-3.0 package (currently only in ~fta PPA, not in jaunty) could also be updated to do this for mailreader combo...

Revision history for this message
Alexander Sack (asac) wrote :

if this .xml magic works, we should add it asap.

Revision history for this message
Fabien Tassin (fta) wrote :

Already done in firefox-3.6, thunderbird-3.0 and chromium-browser. It's visible if you are using the dailies.

I didn't do it in firefox-3.5 as it will soon be migrated to be the default firefox and the firefox is already listed as a Preferred Application in gnome-control-center.

Revision history for this message
Dominic Evans (oldmanuk) wrote :

Cool. Sounds good.

Marking as Invalid.

Changed in firefox-3.5 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.