How to open .RL files on Linux
To open .RL files on Linux, open the file in a text editor (or run: xdg-open file.rl or open it with a GUI editor) to check whether it is an XML Resource List.
Step-by-step instructions
- Open the file in a text editor (or run: xdg-open file.rl or open it with a GUI editor) to check whether it is an XML Resource List.
- If it is XML, handle it as application/resource-lists+xml (your desktop may map this via shared-mime-info); otherwise, open it with the program that created it, if known.
- If file associations are wrong, update your desktop MIME associations (shared-mime-info describes how MIME/extension mapping works).
Common issues
The .RL file won’t open or you’re prompted to choose an app
This often happens because .RL can refer to different formats, or your system has no app associated with application/resource-lists+xml (RFC 4826).
- Open the .RL file in a plain-text editor first to determine whether it is XML (RFC 4826 Resource Lists).
- If it is XML, continue using an XML-capable editor/viewer; if it is not XML, identify the creating app (FileInfo notes an .RL variant created by R.viewer) and open it there.
The file opens as garbled text
If a .RL file is not an RFC 4826 XML Resource List, viewing it as text may show unreadable characters because it is a proprietary or binary format.
- Confirm whether the file begins with XML text (e.g., “<?xml”). If not, treat it as application-specific data.
- Ask the sender which program created the file and open it with that program (for one known variant, FileInfo lists R.viewer).
Linux desktop doesn’t recognize .RL / wrong file association
Desktop environments typically rely on shared MIME databases to map extensions to MIME types; the mapping may be missing or overridden.
- Verify the file is an RFC 4826 resource list (XML) before changing associations.
- Review or update your MIME associations using your desktop settings; shared-mime-info explains how MIME and filename globs (extensions) are defined and used.
Security note
RFC 4826 .RL files are XML; while they are typically just data, XML parsers can still be exposed to maliciously crafted input (e.g., extremely large or complex XML). Prefer opening unknown .RL files in a simple text viewer first.