PDA

View Full Version : xdg-mime query filetype doesn't work?



froggyswamp
November 2nd, 2009, 08:32 PM
I have Karmic x64, no luck.
Does it work for you folks?

The docs
http://portland.freedesktop.org/xdg-utils-1.0/xdg-mime.html
say (at the bottom) that:
xdg-mime query filetype /tmp/foobar.png
should print the mimetype but it doesn't print anything,
except when there's no such file it says so.