Gnome does not respect defaults.list hierarchy

Bug #264309 reported by Carl-Erik Kopseng
16
Affects Status Importance Assigned to Milestone
gnome-vfs (Ubuntu)
New
Low
Ubuntu Desktop Bugs

Bug Description

Gnome maintains three files to choose which program is associated with each mime type:

$HOME/local/share/applications/defaults.list
/usr/local/share/applications/defaults.list
/usr/share/applications/defaults.list (symlinked to /etc/gnome/defaults.list)

According to the System Administraion Guide, Section 5, the precedence hierarchy should be as above - the local versions taking priority over system-wide settings.

As this discussion explains to depth, this is not the case:
 http://ge.ubuntuforums.com/showthread.php?p=5718348#post5718348

For instance, specifying in the Properties dialog of an pdf file that it should open with Adobe Reader works, but it does not work when pressing a pdf file in Firefox' download windows (Evince opens). The only way to change this, is by changing the file /usr/local/share/applications/defaults.list, even though both /usr/share/applications/defaults.list and the ~/.local/... file has the right settings.

The assigned package above is probably wrong, though...

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report. what ubuntu version do you use? is the issue specific to firefox? seems to be a firefox bug

Changed in gnome-desktop:
assignee: nobody → desktop-bugs
status: New → Incomplete
Revision history for this message
Carl-Erik Kopseng (kopseng) wrote :

I use the latest official version: 8.04 on amd64
uname -a: Linux acer64bit 2.6.24-21-generic

It is correct that I have only experienced it with Firefox, but thought it might rely on something deeper in the system, so that's why I wrote Gnome. But, yeah, it probably is a Firefox bug.

Revision history for this message
Carl-Erik Kopseng (kopseng) wrote :

According to this discussion, the problem is shared among several applications:
http://ubuntuforums.org/showthread.php?t=831690

Revision history for this message
Sebastien Bacher (seb128) wrote :

right, that's because the new gio uses a new mimeapps.list file to specify associations and gnome-vfs doesn't use it, so only applications using gio will get the change. reassigning to gnome-vfs, not sure if gnome-vfs will be changed since applications are quickly being ported to gio

Changed in glib2.0:
importance: Undecided → Low
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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