Message: previous - next
Month: June 2012

Re: [trinity-devel] Mime files in /opt/trinity/lib/mime

From: Slávek Banko <slavek.banko@...>
Date: Thu, 7 Jun 2012 20:37:10 +0200
On Thursday 07 of June 2012 19:17:36 Darrell Anderson wrote:
> > Chromium on my machine suddenly began to open PDF files in
> > the GV. I began to
> > wonder why and found that they follow entries in the file
> > /etc/mailcap. It is
> > generated automatically by update-mime using files in
> > /usr/lib/mime. But some
> > files are installed into /opt/trinity/lib/mime.
> >
> > I think we should fix that instead of /opt/trinity/lib/mime
> > were all installed
> > in /usr/lib/mime. What do you think?
> Does update-mime have a global/system configuration file to add alternate
> mime directories?
> Darrell

I looked in /usr/sbin/update-mime. It allows local customization 
using /etc/update-mime.conf. The problem is that it is expected to file 
only - not folder. Potentially, such a collision can occur if the user will 
have its own configuration.

The second thing is that some files are in /opt/trinity/lib/mime/packages - 
for example kate-trinity, konqueror-trinity, kdfp-trinity), and some are 
in /usr/lib/mime/packages - for example kedit-trinity, ktnef-trinity.

The location should therefore be united. And the question is whether will be 
easier to use system location /usr/lib/mime or juggle the configuration for 
location in /opt/trinity/lib/mime?