Tag Info

New answers tagged

3

The mimetypes are determined by what the unix manpages called 'magic numbers'. In every file there is a magic number that determine the file type and file format. The extract below is from the file command man pages The magic number tests are used to check for files with data in partic- ular fixed formats. The canonical example of this is a ...


3

Unfortunately, there is probably nothing you can do to make file produce the correct output. The file command tests the first few bytes of a file against a database of magic numbers. That is easy to check for in binary files (like images or executables) which have some specific identifiers at the beginning of the file. If the file is not a binary file, it ...


5

The Arch Wiki says: Inside a desktop environment (e.g. GNOME, KDE, or Xfce), xdg-open simply passes the arguments to that desktop environment's file-opener application (gvfs-open, kde-open, or exo-open, respectively), which means that the associations are left up to the desktop environment. When no desktop environment is detected (for example when one ...



Top 50 recent answers are included