Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-15-2004, 01:08 PM   #1
Registered: Apr 2004
Location: Over there
Distribution: Ubuntu 7.10
Posts: 36

Rep: Reputation: 15
GNOME filetypes

I'm trying to get some GBA ROMs associated with my emulator, but GNOME 2.6 keeps assigning them the MIME-types application-octetstream or text/plain

I'd like to associate based on extension, and I remember hearing something about GNOME 2.6 detecting file types based on extension if possible, but I haven't been able to find out how to do this
Old 07-11-2004, 02:58 PM   #2
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,615

Rep: Reputation: 138Reputation: 138

I had the same problem with Musepack audio files.

Editing the appropriate four gnome-files according to the gnome administrator's guide didn't change too much (too make these modifications see the chapter about MIME types in the administrator's guide). The trick for me was to add also an entry for the new mime-type to the file /usr/share/mime/packages/ as root and then run
/usr/bin/update-mime-database /usr/share/mime
After the next start nautilus treated and started my files like a charm

This seems to be a problem due to different locations to store the mime data in. Gnome has one place, the package shared-mime-info from has another.


P.S.: The content sniffing seems to be turned off in gnome 2.6, so i had not to deal with this one.

Last edited by titopoquito; 07-11-2004 at 02:59 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I search for multiple filetypes? fisayo Linux - General 4 07-19-2005 07:05 AM
shell command to grab filetypes recursively Nice-n-Slow Programming 1 05-13-2005 07:05 AM
Apache filetypes and downloads gcobb Fedora 1 02-12-2005 07:55 PM
Change default filetypes application startup handler kaon Linux - Software 0 09-24-2004 09:49 AM
Change default application of certain filetypes kaon Slackware 3 09-19-2004 02:14 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration