.gx G-code Extended file
Text & source code
| MIME type | text/x-gcode-gx |
|---|---|
| Description | G-code Extended file |
| Category | Text & source code |
| Signature (magic bytes) | 78 67 63 6F 64 65 20 31 2E 30 (xgcode 1.0) |
Frequently asked questions
What is a .gx file?
A .gx file is a “G-code Extended file” (MIME type text/x-gcode-gx).
How do I open a .gx file?
With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.
How can you tell a genuine .gx file?
By the bytes at the start of the file, the signature (magic bytes): 78 67 63 6F 64 65 20 31 2E 30 (xgcode 1.0). On Linux and macOS, file --mime-type example.gx checks the real type regardless of the extension.
Which MIME type belongs to .gx?
The MIME type is text/x-gcode-gx. In the Apache web server: AddType text/x-gcode-gx .gx; in nginx: types { text/x-gcode-gx gx; }.