Comment 3 for bug 708479

To get the desktop file corresponding to the preferred web browser application, we could use `xdg-settings get default-web-browser`. Unfortunately this won’t help for the other application families (photos, e-mail, music).

The following GConf keys are what unity uses to discover the preferred applications:

Browser: /desktop/gnome/applications/browser/exec
E-mail: /desktop/gnome/applications/calendar/exec
Music: /desktop/gnome/applications/media/exec
(Photos: no preference, hardcoded to shotwell in the code…)