3 Opening a zip file with ``xdg-open`` opens ``less`` of the file contents in ``mate-terminal``::
\r
7 This crashes mate-terminal; see http://p.cweiske.de/177
\r
12 File associations in ``xdg-open`` are loaded from the following locations:
\r
14 * ``~/.local/share/applications/mimeapps.list``
\r
15 * ``/usr/share/mate/applications/defaults.list``
\r
16 * ``/usr/share/applications/defaults.list``
\r
18 It found the last file only and found ``file-roller.desktop`` in it for the zip file::
\r
20 application/zip=file-roller.desktop
\r
22 Then it looked for ``file-roller.desktop`` in multiple directories, including
\r
23 ``~/.local/share/applications/file-roller.desktop``.
\r
24 Mate uses ``engrampa`` as archive management tool, so I symlinked that one::
\r
26 $ cd .local/share/applications/
\r
27 $ ln -s /usr/share/applications/engrampa.desktop file-roller.desktop
\r
29 This fixes all file-roller associations in ``defaults.list``, which are about 20.
\r
32 Reported at https://github.com/mate-desktop/mate-menus/issues/28