caneko at gmail
May 4, 2012, 1:29 AM
Post #2 of 2
On Fri, May 4, 2012 at 3:11 AM, Helmut Jarausch
<jarausch [at] igpm> wrote:
> I don't know Gnome but I use some applications, like the mail-client/balsa.
> It opens suitable applications for given mime types (in attachments).
> The application invoked is read from /usr/share/applications/mimeinfo.cache
> Unfortunately, that file is rebuild after each emerge of a related package.
> E.g., having reinstalled media-gfx/gimp it places gimp at the front of the
> list of
> packages suitable for viewing a postscript file.
> Currently I am only able to modify /usr/share/applications/mimeinfo.cache by
> the order of coresponding applications.
> Is there a more elegant (persistent) way?
Edit $HOME/.local/share/applications/mimeinfo.cache? It takes
precedence over the system one.
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México