How to open .ETX files on Linux

To open .ETX files on Linux, open the .ETX file with a text editor (for example, from the file manager with Open With → a text editor) to read the plain text.

Step-by-step instructions

  1. Open the .ETX file with a text editor (for example, from the file manager with Open With → a text editor) to read the plain text.
  2. If your desktop uses shared-mime-info, the file may be recognized as text/x-setext; you can associate it with your preferred editor in your file manager.

Alternative methods

  • Open .ETX in a browser-based viewer if desktop apps fail.
  • Try opening .ETX on Linux with a secondary app to rule out app-specific issues.
  • Convert .ETX only with trusted tools when direct opening is not possible.

Common issues

The file opens as garbled text or wrong encoding

Setext documents are commonly ASCII plain text; if the file was saved with a different encoding or your editor guesses incorrectly, characters may look corrupted.

  1. In your text editor, try reopening the file with a different encoding (start with UTF-8, then try a legacy encoding if the source is old).
  2. If you obtained the file from an archive or mirror, re-download to ensure the copy is complete and unmodified.

The file opens, but formatting looks “broken”

A standard editor shows raw Setext markup rather than a rendered, formatted document.

  1. Confirm that the content is intended to be Setext by looking for lightweight markup patterns rather than binary data.
  2. Use a Setext-aware viewer/converter (where available) if you need a formatted view; otherwise, read it as plain text.

Your system doesn’t know what app to use

Some systems may not have a default association for .etx even though it is a recognized type (text/x-setext in shared-mime-info).

  1. Choose a text editor as the default application for .ETX files (any editor can open it as text).
  2. On Linux desktops, update the file association in your file manager; the type may appear as text/x-setext.

Security note

.ETX (Setext) is plain text and typically does not contain active content like macros, but it can still include misleading instructions or links if the content is untrusted.

Back to .ETX extension page