<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xdg-open ignores mimeapps.list"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102063">102063</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>xdg-open ignores mimeapps.list
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Portland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.1.0 rc3
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>xdg-utils
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>portland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nazar@mokrynskyi.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>nazar-pc@nazar-pc ~> cat ~/.local/share/applications/mimeapps.list 
[Default Applications]
inode/directory=nemo.desktop
application/x-gnome-saved-search=nemo.desktop
text/xml=org.gnome.gedit.desktop
video/x-matroska=smplayer.desktop
nazar-pc@nazar-pc ~> xdg-mime query default video/x-matroska
smplayer.desktop

The above is enough to open *.mkv files in Nemo file manager with SMPlayer, but
when using xdg-open it still always uses MPV.

Also, `xdg-mime query filetype '/path/to/file.mkv'` doesn't output anything for
the files I'm having issues with. So looks like it struggles to determine its
mime type, but somehow still manages to select wrong application by guessing.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>