public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Gnome mimeinfo cache
@ 2012-05-04  8:11 Helmut Jarausch
  2012-05-04  8:29 ` Canek Peláez Valdés
  0 siblings, 1 reply; 2+ messages in thread
From: Helmut Jarausch @ 2012-05-04  8:11 UTC (permalink / raw
  To: gentoo-user

Hi,

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 changing
the order of coresponding applications.

Is there a more elegant (persistent) way?

Many thanks for a hint,
Helmut.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Gnome mimeinfo cache
  2012-05-04  8:11 [gentoo-user] Gnome mimeinfo cache Helmut Jarausch
@ 2012-05-04  8:29 ` Canek Peláez Valdés
  0 siblings, 0 replies; 2+ messages in thread
From: Canek Peláez Valdés @ 2012-05-04  8:29 UTC (permalink / raw
  To: gentoo-user

On Fri, May 4, 2012 at 3:11 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> Hi,
>
> 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
> changing
> 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.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-04  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-04  8:11 [gentoo-user] Gnome mimeinfo cache Helmut Jarausch
2012-05-04  8:29 ` Canek Peláez Valdés

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox