When ever I open an xml file in Ubuntu it opens with Firefox, how do I change the file association to open with gedit instead?
Change this way
If you still face the issue Please have look on this page : http://linuxfud.wordpress.com/2006/09/03/ubuntu-linux-file-associations/
Change the default "Open with" program for a file type
open the defaults.list file
and search for the xml extension:
and replace it for example for the sublime text editor or your choice