I am on 14.04 and want to set a custom application (subtitleeditor) to open xml files. This question does not apply to me: How to set default program? because not matter what I do, the default program to open xml files stays the default browser set by System setings>Details>Default applications.


If you click a link in a browser, it is the browser which decides what program to use. In Firefox, thatcan be changed on the "applications" tab in the Preferences.

Clicking a .xml file name in the Files manager or on the desktop should launch the default program. To change that, right-click on a .xml file, choose Properties, and click the "Open with" tab.

  • My case is your second paragraph. And does this work for you with -xml files? Because it does not for me. Ok, I tried with guest user and it works even for .xml files. So there is something wrong with my profile. Any ideas which files might need resetting to default values to fix this? "Bisecting" .home is a bit tiresome. – sup Aug 4 '14 at 11:09
  • Edit ~/.local/share/applications/mimeapps.list. Delete the line that contains application/xml. Then proceed as above. – Jos Aug 4 '14 at 11:19
  • @Jos in my case, my mimeapps.list is empty. – fsevenm Dec 23 '19 at 22:00

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.