[grisbi-bugs] [Grisbi 0001540]: Error in mime associations. /usr/share/mime-info no longer in use.
Grisbi Bug Tracker
bugtracker at grisbi.org
Tue Dec 4 08:42:39 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: pbiava
======================================================================
Project: Grisbi
Issue ID: 1540
Category: Packages
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
OS: Autre Linux
Unstable Impact: Yes
Version OS: Arch Linux
Version GTK:
======================================================================
Date Submitted: 2012-11-21 12:26 CET
Last Modified: 2012-12-04 08:42 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
----------------------------------------------------------------------
(0003561) alejandro.perez.mendez at gmail.com (reporter) - 2012-12-04 08:42
http://www.grisbi.org/bugsreports/view.php?id=1540#c3561
----------------------------------------------------------------------
Do you mean me? Because I did test this solution, and it works fine. But I
updated the files directly under /usr/share, not in the distributed source
files.
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
2012-12-04 08:42 alejandro.perez.mendez at gmail.comNote Added: 0003561
2012-12-04 08:42 alejandro.perez.mendez at gmail.comStatus
feedback => assigned
======================================================================
More information about the bugsreports
mailing list