You are not logged in.

#1 2012-05-29 18:56:18

memeplex
Member
Registered: 2008-11-10
Posts: 33

xdg-mime reports application/xml for fodt

Hi all

1) I have update the system wide mime database.

2) Then I have followed instructions here https://wiki.archlinux.org/index.php/Ch … n_via_MIME:

> cat ~/.local/share/mime/packages/fodt.xml
=>
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
  <mime-type type="application/vnd.oasis.opendocument.text">
    <glob pattern="*.fodt"/>
  </mime-type>
</mime-info>

>update-mime-database ~/.local/share/mime

3) Also, just in case:

>  xdg-mime install --novendor fodt.xml



But everything to no avail:

> xdg-mime query filetype eea.fodt
=> application/xml

instead of application/vnd.oasis.opendocument.text. So xdg-open opens *.fodt with vim (my default app for xml files) instead of libreoffice-writer.

Any clue???

Regards
--
Carlos

Offline

Board footer

Powered by FluxBB