konqueror doesn't seem to identify file types properly
James Richard Tyrer
tyrerj at acm.org
Tue Oct 14 21:38:00 BST 2003
> is anyone else having this issue? you have 10 or so files in a directory, and
> even though they're all similarly named (xxxxxxxxxx.php) the files are given
> different file types by konqueror! in some cases, the file is considered a
> "plain text file" and in others, it's called a "c++ file" or a "c source
> file" or an "html file".
> now i would imagine that konquor tries to identify the filetype by reading it
> somehow and decides it's filetype in that manner, but is there a way to just
> get it to ignore that (since it's not doing it right anyway) and just go by
> the extension? (.php).
Just go to the: "File Associations" section of the Konqueror configure
widget and create a new MIME type for 'php'. You can check Google if you
want to get the correct one, but for your purpose you can just use:
"applications/x-php". Be sure to enter the file extension.
This message is from the kde mailing list.
Account management: http://mail.kde.org/mailman/listinfo/kde.
More info: http://www.kde.org/faq.html.
More information about the kde