Tag Info

New answers tagged


The detection is done through libmagic which looks for specific byte sequences with magic numbers.


I don't know of any tool that does that. You could write your own though. Here is a very simple python3 script that should run on any system that uses GIO underneath (e.g. Gnome 3): #!/usr/bin/env python from sys import argv from gi.repository import Gio app = argv[1] glauncher = Gio.DesktopAppInfo.new_from_filename(app) for mtype in ...

Top 50 recent answers are included