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

Re: gEDA-dev: Icons and mime types for gEDA files



Hi Tomaz and list,

Would you (or anybody on the list) know where the mime-database lives on
a Fedora Core 5 system.

Rrunning "update-mime-database /usr/local/share/mime" will not work as
there is no mime-database in /usr/local/share/mime (dir does not exist).

Any help appreciated.

TIA and kind regards,

Bert Timmerman.



On Mon, 2007-04-23 at 12:10 +0200, Tomaz Solc wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi
> 
> > But in Nautilus, it can't decide between displaying
> > 
> > "gEDA circuit schematic" (in the MIME column of a file list)
> > or "plain text document" when you actually select the file, or view its
> > properties in Nautilus.
> 
> Try with the new geda.xml file. I've checked how other programs I have
> installed define their mimetypes defined and made our mimetypes a
> subclass of "text/plain". I think this should fix your problem.
> 
> > It appears that the geda.xml doesn't refer to the icons directly, and
> > the icons aren't picked up in nautilus (or anywhere I can tell).
> > Presumably the mime-related naming is important.
> > 
> > What are the steps I'm missing to make this all work?
> 
> Icons are a bit tricky. I am not sure how an application can install an
> icon for its mimetype in a way that works system-wide with both GNOME
> and KDE.
> 
> On GNOME I have the Tango icon set
> (http://art.gnome.org/themes/icon/1150) installed. I have just copied
> the icons into ~/.icons/Tango and made symbolic links. Like this:
> 
> avian@orion:~/.icons/Tango/scalable/mimetypes$ ls -la *geda*
> application-x-geda-schematic.svg
> application-x-geda-symbol.svg
> gnome-mime-application-x-geda-schematic.svg ->
> application-x-geda-schematic.svg
> gnome-mime-application-x-geda-symbol.svg -> application-x-geda-symbol.svg
> 
> (you can get scalable versions from here:
> http://www.tablix.org/~avian/geda/icons)
> 
> Best regards
> Tomaz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGLIYysAlAlRhL9q8RAli9AKCGTPQS+Z/wHDykP6nLVKcpAfJ53gCeMKVy
> jMxIBqIL6pXS9c7mNEaiiYE=
> =+fF5
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> geda-dev mailing list
> geda-dev@moria.seul.org
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev



_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev