The workaround suggested in post #1 does not solve the bug. Further more, this is not just about MIME type of Python files.
ex. > $ file -b --mime-type JavaScript.js > text/x-c++ Silly. The file command should not be used at all, it's not reliable. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/518769 Title: Python script mime type is text/x-java ! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/file/+bug/518769/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs