have a way to dynamically change software associations

Registered by Rick Spencer on 2009-05-06

t right now we say that totem is the default dvd player for example, which means that when user buy a better player with codec etc they don't get this one used. We want to change the system to have a priority number rather than a default hardcoded, ie powerdvd would have a higher priority than totem so it would be used when installed

Blueprint information

Status:
Complete
Approver:
Martin Pitt
Priority:
Low
Drafter:
None
Direction:
Needs approval
Assignee:
Didier Roche
Definition:
Obsolete
Series goal:
None
Implementation:
Not started
Milestone target:
None
Completed by
Martin Pitt on 2012-05-15

Related branches

Sprints

Whiteboard

Work items:
describe the priorities and how to use those: TODO
email upstream with details about the suggested changes: DONE
clean the configuration on upgrade if it's unchanged: TODO
update shared-mime-info to write a new cache with priorities and categories: TODO
update glib to use the new cache: TODO
update the softwares that could benefit from the priority use: TODO

pitti,2009-06-02:
 - MIME types will not be used for executables (wine), please fix the user story. (See desktop-mime-execution-policy blueprint)
 - Where will the priorities be documented?
 - "/usr/share/applications/defaults.list will not be shipped with new version but still read for compatibility reason" -> you mean the file in /etc? /usr/share is not under the admin's control

seb128,2009-06-08:
- the spec has been updated, the defaults.list in both directories is the same file so the paths are equivalent

pitti, 2009-06-08: added explanation about defaults.list conffile; approved

pitti, 2009-08-27: postponed, upstream discussion still ongoing

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.