It turns out my markdown files - extension .md - are of the "Genesis ROM" file type in Centos 6. Googling did not turn up any obvious places to change this in Gnome - neither in my local directory or in /etc/gnome. Where would I be able to change this default file type for files with the extension .md? I have already changed the default application to geany (with the markdown extension.) Thank you.
On Sat, 27 Feb 2016 19:38:09 +0100 H wrote:> It turns out my markdown files - extension .md - are of the "Genesis > ROM" file type in Centos 6. Googling did not turn up any obvious places > to change this in Gnome - neither in my local directory or in /etc/gnome. > > Where would I be able to change this default file type for files with > the extension .md? I have already changed the default application to > geany (with the markdown extension.)Do you mean that you want to change the default program that the file will open with when you click on it? Right-click on a file of that type. Properties. Open with Set that option as needed. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
On Sat, 27 Feb 2016 19:38, H <agents at ...> wrote:> It turns out my markdown files - extension .md - are of the "Genesis ROM" file > type in Centos 6. Googling did not turn up any obvious places to change this > in Gnome - neither in my local directory or in /etc/gnome. > > Where would I be able to change this default file type for files with the > extension .md? I have already changed the default application to geany (with > the markdown extension.) > > Thank you.have a look at these: /etc/mime.types (file) /usr/share/mime/ (dirs) /usr/share/mimelnk/ (dirs) /usr/share/mime-info (dir) grep for '\.md' and/or for 'Genesis ROM' in there. Just adding your own line to /etc/mime.types may look nice, but is possibly not what you want, more likely a new entry in a file or directory under ~/.local/share/mime/ Have a nice weekend - Yamaban.
On February 27, 2016 1:52:47 PM EST, Frank Cox <theatre at melvilletheatre.com> wrote:>On Sat, 27 Feb 2016 19:38:09 +0100 >H wrote: > >> It turns out my markdown files - extension .md - are of the "Genesis >> ROM" file type in Centos 6. Googling did not turn up any obvious >places >> to change this in Gnome - neither in my local directory or in >/etc/gnome. >> >> Where would I be able to change this default file type for files with > >> the extension .md? I have already changed the default application to >> geany (with the markdown extension.) > >Do you mean that you want to change the default program that the file >will open with when you click on it? > >Right-click on a file of that type. Properties. Open with > >Set that option as needed. > > >-- >MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com >_______________________________________________ >CentOS mailing list >CentOS at centos.org >https://lists.centos.org/mailman/listinfo/centosNo, that I already did. I am talking about the file type when you open a graphical directory window.
On 02/27/2016 07:56 PM, Yamaban wrote:> On Sat, 27 Feb 2016 19:38, H <agents at ...> wrote: > >> It turns out my markdown files - extension .md - are of the "Genesis >> ROM" file type in Centos 6. Googling did not turn up any obvious >> places to change this in Gnome - neither in my local directory or in >> /etc/gnome. >> >> Where would I be able to change this default file type for files with >> the extension .md? I have already changed the default application to >> geany (with the markdown extension.) >> >> Thank you. > > have a look at these: > /etc/mime.types (file) > /usr/share/mime/ (dirs) > /usr/share/mimelnk/ (dirs) > /usr/share/mime-info (dir) > > grep for '\.md' and/or for 'Genesis ROM' in there. > > Just adding your own line to /etc/mime.types may look nice, but is > possibly not what you want, more likely a new entry in a file or > directory under ~/.local/share/mime/ > > Have a nice weekend > - Yamaban. > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centosFiles in ~/.local/share/mime also seem to have been automatically generated by update-mime-database and should not be edited. Should I still create a new file for the ".md" extension and add it to this directory?