Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I'd like to set Eclipse as the default text editor on Ubuntu. However, when choosing the default program for opening .html files, I notice that Eclipse is not visible as one of the programs that can open this type of file. How can I set Eclipse as the default editor for .html files (and other file types as well?)

share|improve this question

1 Answer 1

up vote 2 down vote accepted
  1. Navigate to the file in Nautilus
  2. Right click the file and select "Properties"
  3. Select the tab: "Open With"
  4. Select the application you want to use as default. If you don't see it in the list select "Show other applications" and navigate to it and select it.
  5. Select "Set as default" in the bottom right.
  6. Done
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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