I have a similar issue. I was already unable to access a NAS network share, but after sudo gediting smb.conf, the network icon is missing from the file browser.
jason@jason-MS-7721:~$ sudo gedit /etc/samba/smb.conf [sudo] password for jason: ** (gedit:2527): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported jason@jason-MS-7721:~$ sudo gedit /etc/samba/smb.conf (gedit:2578): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files ** (gedit:2578): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported ** (gedit:2578): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported ** (gedit:2578): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported ** (gedit:2578): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported ** (gedit:2578): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported ** Attachment added: "Browser.png" https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1575484/+attachment/4655693/+files/Browser.png -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/1575484 Title: "Set document metadata failed" Status in gedit package in Ubuntu: New Bug description: Whenever I edit a document via the Terminal, I get these error messages: ** (gedit:12864): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported ** (gedit:12864): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported ** (gedit:12864): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported Info: OS: Ubuntu 16.04 (Xenial) x64 App version: 3.18.3 - Blossom To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1575484/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp