LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 06-15-2004, 02:08 PM   #1
sanmadjack
Member
 
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, 03:58 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
Talking

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/freedesktop.org.xml as root and then run
Code:
/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 freedesktop.org has another.

Cheers,
titopoquito

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 03:59 PM.
 
  


Reply


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 08:05 AM
shell command to grab filetypes recursively Nice-n-Slow Programming 1 05-13-2005 08:05 AM
Apache filetypes and downloads gcobb Fedora 1 02-12-2005 08:55 PM
Change default filetypes application startup handler kaon Linux - Software 0 09-24-2004 10:49 AM
Change default application of certain filetypes kaon Slackware 3 09-19-2004 03:14 AM


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

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