Closed l0o0 closed 4 years ago
According to this thread.
xmind.xml
was created under /usr/share/mime/packages
with the content below:
<?xml version="1.0" encoding="utf-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-xmind">
<comment>Xmind files</comment>
<icon name="application-x-xmind"/>
<glob pattern="*.XMIND"/>
<glob pattern="*.xmind"/>
</mime-type>
</mime-info>
Then I downloaded an icon. Move the icon to /usr/share/icons/gnome/scalable/mimetypes
sudo mv downloaded.svg /usr/share/icons/gnome/scalable/mimetypes/application-x-xmind.svg
sudo update-mime-database /usr/share/mime
sudo gtk-update-icon-cache /usr/share/icons/gnome
Now Xmind file looks
icon and mimitype has been supported, please check again
I install Xmind as the instruction. After updated mime database, I can open xmind file by double click.
But I think you should provide a thumbnail for xmind file.
Below is what xmind file looks in nautlius.