Ubuntu – List programs in the Ubuntu Software Center by file association

package-management

In Ubuntu, is there any way to obtain a list of file associations for applications that haven't yet been installed? I'd like to find the files that a not-yet-installed software application (e.g. google-chrome or firefox) can open.

I currently don't know of any feature in the Ubuntu Software Center (or another application) that can list the filetypes associated with a specific application – does such a feature exist?

Best Answer

PackageKit allows you to search for applications by mime-type. Sadly, the Ubuntu devs haven't put much effort into integrating PackageKit with Ubuntu by default, but it still works surprisingly well.

First, make sure you've installed the graphical toolkit for PackageKit, gnome-packagekit-tools Install gnome-packagekit-tools.

Then, run gpk-install-mime-type on the command line, followed by a mime-type. For example:

gpk-install-mime-type text/plain

Screenshots:

First gpk-install-mime-type confirmation dialog

Dialog listing applicable packages