Do you use a different application to open .c and .css files? That works fine if you use the same application, you can use that as a workaround. There is a bug upstream about it: https://bugs.freedesktop.org/show_bug.cgi?id=9469
** Changed in: shared-mime-info (Ubuntu) Status: Needs Info => Confirmed ** Bug watch added: Freedesktop Bugzilla #9469 https://bugs.freedesktop.org/show_bug.cgi?id=9469 ** Also affects: shared-mime (upstream) via https://bugs.freedesktop.org/show_bug.cgi?id=9469 Importance: Unknown Status: Unknown -- Incorrect mimetype detection of CSS files that start with a comment https://launchpad.net/bugs/82284 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs