15.5. Configuring a Default Server List

From the system administrator's point of view, it is not possible to set a group of bookmarks for all users at once. Nevertheless, the system administrator can allow access to file shares for their users.
Nautilus stores a list of file-sharing servers in the ~/.config/nautilus/servers file in the XBEL format. It is possible to add the list of file-sharing servers to that file to make file shares easily accessible to your users.

Note

XBEL (XML Bookmark Exchange Language) is an XML standard that lets you share URIs (Uniform Resource Identifiers). In GNOME, XBEL is used to share desktop bookmarks in applications such as Nautilus.
In the example below, Nautilus creates a bookmark titled GNOME FTP with the URI ftp://ftp.gnome.org/ in the ~/.config/nautilus/servers file.

Example 15.4. The ~/.config/nautilus/servers File

<?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="<input>ftp://ftp.gnome.org/</input>">
      <title><input>GNOME FTP</input></title>
   </bookmark>
</xbel>