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

Grisbi Bug Tracker bugtracker at grisbi.org
Mon Dec 3 21:51:24 CET 2012


The following issue requires your FEEDBACK. 
====================================================================== 
http://www.grisbi.org/bugsreports/view.php?id=1540 
====================================================================== 
Reported By:                alejandro.perez.mendez at gmail.com
Assigned To:                pbiava
====================================================================== 
Project:                    Grisbi
Issue ID:                   1540
Category:                   Packages
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
OS:                         Autre Linux 
Unstable Impact:            Yes 
Version OS:                 Arch Linux 
Version GTK:                 
====================================================================== 
Date Submitted:             2012-11-21 12:26 CET
Last Modified:              2012-12-03 21:51 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> 

---------------------------------------------------------------------- 
 (0003560) pbiava (administrator) - 2012-12-03 21:51
 http://www.grisbi.org/bugsreports/view.php?id=1540#c3560 
---------------------------------------------------------------------- 
Please test it the function 

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            
             
2012-12-03 21:39 pbiava         Assigned To               => pbiava          
2012-12-03 21:39 pbiava         Status                   new => assigned     
2012-12-03 21:51 pbiava         Note Added: 0003560                          
2012-12-03 21:51 pbiava         Status                   assigned => feedback
======================================================================



More information about the bugsreports mailing list