[CentOS] Changing default file type in Centos 6

Sun Feb 28 14:37:01 UTC 2016
H <agents at meddatainc.com>

On 02/28/2016 12:27 AM, Liam O'Toole wrote:
> On 2016-02-27, Frank Cox
> <theatre at melvilletheatre.com> wrote:
>> On Sat, 27 Feb 2016 16:33:00 -0500 H wrote:
>>
>>> No, that I already did. I am talking about the file type when you
>>> open a graphical directory window.
>> I'm missing something here.  Do you mean that you want to change icon
>> that shows up in a Nautilus window for a particular filetype?
>>
> I think the OP is talking about the file type that Nautilus reports when
> you right-click on a file and bring up the 'Properties' dialog.
>
> In my case (also CentOS 6) Naulitus reports 'Genesis ROM' for files with
> the .md extension. The file command, on the other hand, reports 'ASCII
> English text'.
>
> The file responsible for the behaviour of Nautilus is
> /usr/share/mime/application/x-genesis-rom.xml, which appears to have
> been generated by update-mime-database.
>
Correct. I looked at that file and it says "created automatically by 
update-mime-database. do not edit" which begs the question: how can I 
"correct this?"