gedit is the default editor of GNOME, how do I change it?

I modified the file /etc/gnome/defaults.list, then rebooted the system, and it works.

  • Right click on any text file > Properties > Open with – don_crissti May 27 '16 at 14:39
  • This just changes the one type file format but not all other formats. – tmpbin May 27 '16 at 14:44
  • There is no default editor in gnome, this is a matter of file type/mime type associations so yes, if you want it for several formats you'll have to override that via config files – don_crissti May 27 '16 at 14:49

Right click on the text file you want to open, choose Properties and then Open with. You should find the various alternatives in the Recommended Software or Other Applications lists. Click the one you want and then the "Set as Default" button.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.