To add new mimetype, create ~/.local/share/mime/packages/Override.xml
like this:

<?xml version="1.0"?>
  <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info";>
  <mime-type type="application/x-qtiplot">
    <glob pattern="*.qti"/>
     <magic priority="50"><match type="string" offset="0" 
value="QtiPlot"/></magic>
     <comment>QtiPlot Project file</comment>
     <comment xml:lang="ru_RU">Файл проекта QtiPlot</comment>
  </mime-type>
</mime-info>

and then run update-mime-database.

-- 
install routines do not create menu entry and mime types
https://bugs.launchpad.net/bugs/184307
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to