[grisbi-bugs] [Grisbi 0001540]: Error in mime associations. /usr/share/mime-info no longer in use.

Grisbi Bug Tracker bugtracker at grisbi.org
Wed Nov 21 12:28:28 CET 2012


A NOTE has been added to this issue. 
====================================================================== 
http://www.grisbi.org/bugsreports/view.php?id=1540 
====================================================================== 
Reported By:                alejandro.perez.mendez at gmail.com
Assigned To:                
====================================================================== 
Project:                    Grisbi
Issue ID:                   1540
Category:                   Packages
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
OS:                         Autre Linux 
Unstable Impact:            Yes 
Version OS:                 Arch Linux 
Version GTK:                 
====================================================================== 
Date Submitted:             2012-11-21 12:26 CET
Last Modified:              2012-11-21 12:28 CET
====================================================================== 
Summary:                    Error in mime associations. /usr/share/mime-info no
longer in use.
Description: 
It seems that /usr/share/mime-info is not used anymore in modern distributions
(i.e. Arch Linux).

Instead, you need to add a file /usr/share/mime/packages/grisbi.xml with the
following:

<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="application/x-grisbi">
         <comment xml:lang="en">Grisbi file</comment>
         <glob pattern="*.gsb"/>
         <glob pattern="*.grisbi"/>
  </mime-type>
</mime-info>

And you need to update the /usr/share/applications/grisbi.desktop file, to
include:

MimeType=application/x-grisbi


====================================================================== 

---------------------------------------------------------------------- 
 (0003548) alejandro.perez.mendez at gmail.com (reporter) - 2012-11-21 12:28
 http://www.grisbi.org/bugsreports/view.php?id=1540#c3548 
---------------------------------------------------------------------- 
I forgot to add the icon :)

<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> [^]
  <mime-type type="application/x-grisbi">
         <comment xml:lang="en">Grisbi file</comment>
         <glob pattern="*.gsb"/>
         <glob pattern="*.grisbi"/>
	<icon name="grisbi"/>
  </mime-type>
</mime-info> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-11-21 12:26 alejandro.perez.mendez at gmail.comNew Issue                      
             
2012-11-21 12:28 alejandro.perez.mendez at gmail.comNote Added: 0003548            
             
======================================================================



More information about the bugsreports mailing list