4

I have Ubuntu 15.10

So changing the default application for XML files gets immediately overridden by the default browser and does not keep the changes.

How do you set Gedit as the default application for XML files?

EDIT: In case it's needed, I use GNOME as DE

Pabru
  • 255
cra0zy
  • 496
  • 1
    You might also try checking the files ~/.local/share/mimeapps.list and ~/.local/share/mimeinfo.cache - if necessary - changing or adding the entry text/xml=gedit.desktop – Sadi Dec 13 '15 at 17:35
  • Does not work.... – cra0zy Dec 14 '15 at 17:26
  • No help, but just wanted to let you know I'm experiencing the same issue. Must be a bug in 15.10. I already had ubuntu tweak installed, but it didn't work either. – gnomed Feb 17 '16 at 16:21