Other locations saved non-volatile

Asked by Fifi Cek on 2019-01-27

Few other locations had been added manually to ~/.config/gtk-3.0/servers as adding them all through nautilus gui is cumbersome.
The expectation is Nautilus' GUI - Other locations > Connect to server - shows the list of locations stored to file.
In gui that list is however empty.

Excerpt:
<?xml version="1.0" encoding="UTF-8"?>
<xbel version="1.0"
      xmlns:bookmark="http://www.freedesktop.org/standards/desktop-bookmarks"
      xmlns:mime="http://www.freedesktop.org/standards/shared-mime-info"
>
  <bookmark href="smb://stat.share.lan/AAA/" added="2018-08-05T12:23:27Z" modified="2019-01-27T01:07:53Z" visited="2019-01-27T01:07:53Z">
    <title>AAA on stat.share.lan</title>
    <info>
      <metadata owner="http://freedesktop.org">
        <bookmark:applications>
          <bookmark:application name="nautilus" exec="&apos;nautilus %u&apos;" modified="2019-01-27T01:07:53Z" count="1"/>
        </bookmark:applications>
      </metadata>
    </info>
  </bookmark>
  <bookmark href="smb://stat.share.lan/BBB/" added="2018-08-05T19:22:19Z" modified="2018-08-06T22:21:47Z" visited="2018-08-06T22:21:47Z">
    <title>BBB on stat.share.lan</title>
    <info>
      <metadata owner="http://freedesktop.org">
        <bookmark:applications>
          <bookmark:application name="nautilus" exec="&apos;nautilus %u&apos;" modified="2018-08-06T22:21:47Z" count="2"/>
        </bookmark:applications>
      </metadata>
    </info>
  </bookmark>
</xbel>

How to fix it?
Which role has mentioned file and one other: ~/.config/nautilus/servers?

Ubuntu 18.04 Desktop

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Solved by:
Fifi Cek
Solved:
2019-01-29
Last query:
2019-01-29
Last reply:
Fifi Cek (fifi-cek) said : #1

It was local problem with local cause - bad filling servers xml data. "count" parameter must start from 1 and increment.