New answers tagged mime-types
Right-click an HTML file, go Open With->Open With, check "make this the default" and choose Firefox. Why I needed to do this again, having just done it a few weeks ago, maybe I should post as a second question.
Sounds like it's ignoring the per-user settings. You can change the sytemwide setting by editing /etc/mailcap.order, the syntax is fairly simple: first-choice-app-name:mime-type second-choice-app-name:mime-type ... So you'd probably put: evince-previewer:application/pdf evince:application/pdf (evince-previewer is fairly new, may not exist in Wheezy, ...
You can try imagemagicks identify command: http://www.imagemagick.org/script/identify.php Example: $ identify rose.jpg rose.jpg JPEG 640x480 sRGB 87kb 0.050u 0:01 Hope it helps.
You can use file tool: $ file file.png file.png: PNG image data, 734 x 73, 8-bit/color RGB, non-interlaced $ mv file.png file.txt $ file file.txt file.txt: PNG image data, 734 x 73, 8-bit/color RGB, non-interlaced
Top 50 recent answers are included