Allow click packages to register as mimetype handlers

Bug #1223891 reported by Robert Schroll
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
click (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

I could be nice to allow click packages to register as a handler for some mimetypes. This would (presumably) allow the user to open a file with the program from the file browser or from the command line with xdg-open. (Issues about apparmor access would probably also need to be addressed.)

Revision history for this message
Colin Watson (cjwatson) wrote :

This doesn't need to (and shouldn't) be done in click itself. click already has support for system packages declaring hooks, so some suitable system package that consumes MIME type declarations could declare such a hook, and then click packages would be able to attach to it.

Unfortunately, I don't know where the right package to reassign this to would be. Perhaps you could ask around and try to find that out?

Changed in click (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Robert Schroll (rschroll) wrote :

Well, when I asked about this on IRC, they referred me here.

Revision history for this message
Colin Watson (cjwatson) wrote :

Where did you ask, and whom did you talk to?

Revision history for this message
Robert Schroll (rschroll) wrote :

In #ubuntu-app-devel, David Planella pointed me over here. Of course, "I was just following orders" is no defense :).

Revision history for this message
Loïc Minier (lool) wrote :

Sorry, please ignore my last comment; I got the request wrong.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

The right place for mime/type thing is url-dispatcher, which allows handling launching various apps to handle various types of resources.

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.