Confirmed, the bug is slightly tricky. Nautilus display a warning when the filename and detected type don't match and they are not opened by the same application. Changing the matlab default creates a dismatch between text/x-objcsrc which still use gedit and text/x-matlab. A workaround would be to add text/x-objcsrc to the gvim.desktop MimeType
** Changed in: shared-mime-info (Ubuntu) Status: New => Confirmed -- Nautilus gives incorrect warning when opening files of .m extension https://bugs.launchpad.net/bugs/112228 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug contact for shared-mime-info in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs