Did you set it to no highlighting? if you go to view>highlight mode> none it should than not highlight any file that you open. ** Changed in: gedit (Ubuntu) Status: Unconfirmed => Needs Info -- GEdit opens java files with C source highlighting https://launchpad.net/bugs/64869