Dump GIO mimetype info, or at least some of it that's available for apps
Go to file
2024-01-29 22:04:38 +06:00
.gitignore Initial commit 2024-01-29 21:36:27 +06:00
CMakeLists.txt Add Readme, fix build 2024-01-29 22:04:38 +06:00
copied_from_gcontenttype.h Initial commit 2024-01-29 21:36:27 +06:00
gio_dump_info.c Initial commit 2024-01-29 21:36:27 +06:00
README.md Add Readme, fix build 2024-01-29 22:04:38 +06:00

GIO file associations info print

Just a little utility to query GIO's GAppInfo "database" for what application is responsible for a given mimetype.

Ideally it would be nice to print the subclass/alias info from the relevant XML(s) but GIO does not export the header files for its own handling of xdgmime XML and such.

Usage:

  • Compile with CMake (e.g. mkdir build && cd build && cmake .. && make)
  • giotest application/rss+xml
  • Tada! Question why the application at the very top handles this mimetype (e.g. Firefox using defaults to open RSS and being one to handle that so it opens it again and again)