Saturday, 10 October 2009

Default open action for Ubuntu

Something happened on my Ubuntu install sometime which meant that double clicking on an HTML file resulted in the file being opened by gedit. Not really what I wanted. I started looking through the GNOME system menu (Preferences and Administration) to find how to change the default action - but that turned out to be the wrong place.

In Nautilus, simply right click on the file and select 'Properties'. From there, go to the 'Open with' tab and select the appropriate application.