OESF Portables Forum
		Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: BeKind on April 25, 2005, 07:23:12 am
		
			
			- 
				Hello.  I just upgraded to 3.5.3.  In 3.5.2, there was a package called "mime-support" which used a file called mime.types which you could edit to create default applications for certain file extensions.
I noticed this wasn't in 3.5.3, so I thought maybe there is something newer and better.  I found "shared-mime-info."  I installed that and it created an xml file.
I read up about it on the FreeDesktop.org site and I think understand the point of it, but the question is how to get applications (especially DocTab) to want to use it?  Which apps can use it?
Or do I just scrap it and go back to the 3.5.2 "mime-support?"
Thanks
			 
			
			- 
				No, don't go back to 3.5.2, however I don't know tha answer to your question - it may be that the package was simply forgotten, or it may have been replaced. I'd ask on the openzaurus-users ml.
Si
			 
			
			- 
				After I uninstalled "mime-support", every document in the DocTab is labeled as "octet-stream" unless they have their own .desktop files (usually created by a program like Text Editor, when you save a file.)
So does DocTab look for the /etc/mime.types file, or does it use /usr/share/mime/packages/freedesktop.org.xml now?
I noticed shared-mime-info required glib2 so maybe only gnome apps use it.
I think I'll go back to the old way, since I'm guessing that's what DocTab uses, but I still wonder why they got rid of the old mime-support at the same time they added this one.
On further inspection the /usr/share/mime directory is huge, and full of lots of xml descriptions of types, but the question is do these actually get used?  DocTab still seems to label everything octet-stream unless there is a .desktop file saying otherwise.
Anyone know how this works?  Are we supposed to be using shared-mime-info OR mime-support instead?
			 
			
			- 
				
I noticed shared-mime-info required glib2 so maybe only gnome apps use it.
It may be that this is for GPE. In fact this is most probably the case.
I think I'll go back to the old way, since I'm guessing that's what DocTab uses, but I still wonder why they got rid of the old mime-support at the same time they added this one.
Perhaps it was simply forgotten (not added to the feed). I see there is a mime-support bb file in openembedded so this is most likely the problem. Post a request to have it added to the feed here: 
https://www.oesf.org/forums/index.php?showtopic=11967 (https://www.oesf.org/forums/index.php?showtopic=11967)
Si
			 
			
			- 
				I'm told it has just been added to the upgrades feed (but not to the Packages file yet - so you've have to give an URL or download it and install locally).
Si