Change the default app to open text files with in fedora 17
Since I installed monodevelop for a work project I was working on a few months back I have been stuck with this situation in which all text documents would start monodevelop as the default app when I clicked on them.
Each time it would happen, I figured I should look into how I set the default app for the various mime types and then I would put it off. Today I had a spare 5 minutes so I just grepped for monodevelop in my home directory figuring the settings had to be there as they weren't for every other user account. Turns out the settings are in ~/.local/share/applications/mimeapps.list
Each mime type is mapped to a .desktop file that describes what to do when the file is opened.
I switched text/plain=monodevelop.desktop to text/plain=gedit.desktop and I was good to go.
Each time it would happen, I figured I should look into how I set the default app for the various mime types and then I would put it off. Today I had a spare 5 minutes so I just grepped for monodevelop in my home directory figuring the settings had to be there as they weren't for every other user account. Turns out the settings are in ~/.local/share/applications/mimeapps.list
Each mime type is mapped to a .desktop file that describes what to do when the file is opened.
I switched text/plain=monodevelop.desktop to text/plain=gedit.desktop and I was good to go.



























