Re: icons for custom mime-types on ubuntu 8.04



A little inconsistency in my file listings here--I've tried both application/mymime and application/my-mime on clean systems. I've corrected these to the my-mime versions:

Again, thanks.
michael

Michael Brewer-Davis wrote:
My installed files:
/usr/local/share/icons/hicolor/48x48/mimetypes/application-my-mime.png
/usr/local/share/icons/hicolor/48x48/mimetypes/gnome-mime-application-my-mime.png
 (softlink)
/usr/local/share/mime/application/my-mime.xml

(the Ubuntu 7.04 machine has some KDE components installed, so xdg-utils also put icons in the /usr/share/mimelnk directory)

My mime installation process:
sudo xdg-mime install --mode system my-mime.xml

my-mime.xml:
<mime-info xmlns="...">
  <mime-type type="application/my-mime">
    <comment>My MIME file</comment>
    <glob pattern="*.mzm" />
  </mime-type>
</mime-info>

sudo xdg-icon-resource install --context mimetypes --size 48 --mode system iconfile.png application-my-mime

iconfile.png is a 48x48 PNG

--
nautilus-list mailing list
nautilus-list gnome org
http://mail.gnome.org/mailman/listinfo/nautilus-list






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]