Ubuntu – When creating a new text file, should I add a .txt extension to its name

file extensionfile formatgedittext;

When I create a new document aimed at containing only plain text, I am not obliged by Ubuntu to add a .txt extension to its name. It works indeed very well: gedit opens it without problem, understanding very well that it is only text.

The only two pro arguments I have found from now on for adding an extension are 1/ interoperability with Windows systems and 2/ avoiding confusion with folders having the same name. Nevertheless those two arguments do not convince me at all. As a consequence, should I keep the reflex of adding an extension to files or not?

Best Answer

It's completely your own decision - don't let anyone chose for you.

If it's a 'reflex' then there's no harm in keeping your current habbits. On the other hand it does look cleaner without file extensions...

In my opinion the main case for using the extension is if you're emailing files to Windows users - whilst they could still open it in Notepad (with File->Open With) they will probably confused if you leave it off.