diff options
-rw-r--r-- | cura.desktop.in | 2 | ||||
-rw-r--r-- | cura.sharedmimeinfo | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/cura.desktop.in b/cura.desktop.in index fbe8b30fed..b0195015a5 100644 --- a/cura.desktop.in +++ b/cura.desktop.in @@ -13,6 +13,6 @@ TryExec=@CMAKE_INSTALL_FULL_BINDIR@/cura Icon=cura-icon Terminal=false Type=Application -MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;image/bmp;image/gif;image/jpeg;image/png;model/x3d+xml; +MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;image/bmp;image/gif;image/jpeg;image/png;model/x3d+xml;text/x-gcode; Categories=Graphics; Keywords=3D;Printing;Slicer; diff --git a/cura.sharedmimeinfo b/cura.sharedmimeinfo index 23d38795eb..ed9099d425 100644 --- a/cura.sharedmimeinfo +++ b/cura.sharedmimeinfo @@ -19,4 +19,12 @@ <glob-deleteall/> <glob pattern="*.obj"/> </mime-type> + <mime-type type="text/x-gcode"> + <sub-class-of type="text/plain"/> + <comment>Gcode file</comment> + <icon name="unknown"/> + <glob-deleteall/> + <glob pattern="*.gcode"/> + <glob pattern="*.g"/> + </mime-type> </mime-info>
\ No newline at end of file |