video/mpeg associated with .dat files

David Faure dfaure at
Fri Dec 9 01:33:52 EET 2005

On Thursday 08 December 2005 23:01, Emmanuele Bassi wrote:
> Hi,
> On Thu, 2005-12-08 at 16:03 -0500, Jaime Chang wrote:
> > Hi all,
> > 
> > Is there a reason why the freedesktop.xml files has an association 
> > between .dat files an video/mpeg mime type?
> The VCD (video CD) format stores MPEG files under the .dat extension.

Which looks like a pretty bad reason to associate .dat with video/mpeg though.
dat means data, and anything is data.

$ file /home/dfaure/.openoffice.org1.9.87/user/registry/cache/org.openoffice.TypeDetection.Filter.dat
/home/dfaure/.openoffice.org1.9.87/user/registry/cache/org.openoffice.TypeDetection.Filter.dat: data
$ file /home/dfaure/.mozilla/pluginreg.dat
/home/dfaure/.mozilla/pluginreg.dat: ASCII English text
$ file /etc/cups/ppds.dat
/etc/cups/ppds.dat: data
$ file /usr/share/dict/ooo/th_en_US.dat
/usr/share/dict/ooo/th_en_US.dat: data
$ file /usr/lib/samba/valid.dat
/usr/lib/samba/valid.dat: data

=> not a single video/mpeg file in all the .dat files on a standard linux system.

The extension should be removed; mpeg files can be detected based on their content.

David Faure, faure at, sponsored by Trolltech to work on KDE,
Konqueror (, and KOffice (

More information about the xdg mailing list