The issue happens with me also while trying to save file in gedit. Upon a sudo gedit foo.bar and then saving the file, the terminal showed the following output
** (gedit:4492): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported ** (gedit:4492): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported ** (gedit:4492): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/1575484 Title: "Set document metadata failed" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1575484/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs