1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="network-server-list" xml:lang="fa">
<info>
<link type="guide" xref="network"/>
<revision pkgversion="3.8" date="2013-06-03" status="draft"/>
<credit type="author copyright">
<name>Matthias Clasen</name>
<email>matthias.clasen@gmail.com</email>
<years>۲۰۱۲</years>
</credit>
<credit type="editor">
<name>یانا سواروا</name>
<email>jana.svarova@gmail.com</email>
<years>۲۰۱۳</years>
</credit>
<credit type="editor">
<name>پیتر کوار</name>
<email>pknbe@gvolny.cz</email>
<years>۲۰۱۳</years>
</credit>
<desc>How do I make it easy for different users to access different file
shares?</desc>
</info>
<title>Configure a default server list</title>
<p><app>Nautilus</app> (the <app>Files</app> application) stores a list of
file-sharing servers in the file <file>~/.config/gtk-3.0/servers</file> in
the XBEL format. Add the list of file-sharing servers to that file to make
file shares easily accessible to your user.</p>
<note style="tip">
<p><em>XBEL</em> (<em>XML Bookmark Exchange Language</em>) 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
<app>Nautilus</app>.</p>
</note>
<example>
<p>An example of the <file>~/.config/gtk-3.0/servers</file> file:</p>
<code><![CDATA[
<?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><![CDATA[ftp://ftp.gnome.org/]]></input><![CDATA[">
<title>]]><input>GNOME FTP</input><![CDATA[</title>
</bookmark>
</xbel>
]]></code>
<p>In the example above, <app>Nautilus</app> creates a bookmark titled
<em>GNOME FTP</em> with the URI <code>ftp://ftp.gnome.org/</code>.</p>
</example>
</page>
|