[Contribution] `application/x-wxg` mimetype
See original GitHub issueI wasn’t really sure where to put this file, but I wanted to contribute something I recently got working on aur package for this project:
wxglade-mime.xml
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-wxg">
<comment>wxGlade design file</comment>
<sub-class-of type="application/xml"/>
<!-- workaround for Nautilus/Nemo
See: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1816 -->
<generic-icon name="application-x-wxg"/>
<!-- end workaround -->
<magic priority="60">
<match type="string" offset="0" value="<?xml version="1.0"?>">
<match type="string" offset="0:256" value="<!-- generated by wxGlade"/>
</match>
</magic>
<glob pattern="*.wxg"/>
</mime-type>
</mime-info>
This allows for detection of .wxg
files by most file managers and associates those files with wxglade
.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Common MIME types - HTTP - MDN Web Docs
Extension Kind of document MIME Type
.aac AAC audio audio/aac
.abw AbiWord document application/x‑abiword
.arc Archive document (multiple files embedded) application/x‑freearc
Read more >Is there a reason nautilus doesn't deduce the correct mime ...
I am running XFCE and this mimetype definition works in Thunar, ... <mime-type type="application/x-wxg"> <comment>wxGlade design ...
Read more >The Complete List of MIME Types - SitePoint
Every MIME type, listed in one convenient table.
Read more >What MIME type should I use for CSV? - Stack Overflow
Recently I discovered an explicit mimetype for Excel application/vnd.ms-excel. It was registered with IANA in '96. Note the concerns raised ...
Read more >MIME Types - iupui
MIME Type Identification File Extension
application/acad AutoCAD dwg
application/arj compressed archive arj
application/astound Astound asd, asn
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the contribution. The file is in the repository now.
This directory is probably not writable for a user, right? So wxglade can’t copy the file there. So I will just place it in the root directory of the repository.