I am having a huge problem. Whenever i try to open a file gedit tries to open it. For example I download something with firefox, i click on the file to open it and gedit opens! Even in when I want to open a non-java file(images,pdfs,..) from my Eclipse explorer it gedit tries to open. More strangely, whenever, i try to open my home folder or any other folders such as Music, pictures,... from menu it happens! Can someone help me? Thx
You might need to look in your nautilus and tell it on what to do to an executable file.
Files might not have default application when opening it.
Set a default application of that file. If gedit is already selected and you want to change it just go over with your desired application.
Have a look at the contents of mimeapps.list with:
Somewhere in there you will have a settings that says it should open folders or specific files with gedit.
The heading with [default application] can be used to create a new/default mimeapps.list:
[Default Applications] text/html=chromium-browser.desktop x-scheme-handler/http=chromium-browser.desktop x-scheme-handler/https=chromium-browser.desktop x-scheme-handler/about=chromium-browser.desktop x-scheme-handler/unknown=chromium-browser.desktop video/x-matroska=smplayer.desktop video/x-ogm+ogg=smplayer.desktop audio/x-vorbis+ogg=smplayer.desktop video/mp4=smplayer.desktop video/x-msvideo=smplayer.desktop [Added Associations] video/x-matroska=smplayer.desktop; video/x-ogm+ogg=smplayer.desktop; audio/x-vorbis+ogg=smplayer.desktop; video/mp4=smplayer.desktop; video/x-msvideo=smplayer.desktop;