<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [
  <!ENTITY smb4k "<application>Smb4K</application>">
    <!ENTITY % addindex "IGNORE">
  <!ENTITY % English "INCLUDE">
]>

<book id="smb4k" lang="&language;" >

<bookinfo>
  <title>The &smb4k; Handbook</title>
  <authorgroup>
    <author>
      <firstname>Alexander</firstname>
      <othername></othername>
      <surname>Reinholdt</surname>
      <affiliation>
        <address>
          <email>alexander.reinholdt AT kdemail.net</email>
        </address>
      </affiliation>
    </author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
  </authorgroup>
  <copyright>
    <year>2005-2017</year>
    <holder>Alexander Reinholdt</holder>
  </copyright>
  <legalnotice>&underFDL;</legalnotice>
  <date>2017-02-04</date>
  <releaseinfo>&smb4k; 2.0.0</releaseinfo>
  <abstract>
    <para>&smb4k; is an advanced network neighborhood browser and Samba share mounting utility.</para>
  </abstract>
  <keywordset>
    <keyword>KDE</keyword>
    <keyword>Smb4K</keyword>
    <keyword>Samba</keyword>
  </keywordset>
</bookinfo>

<!-- 
      Introduction 
  -->

<chapter id="introduction" >
  <title>Introduction</title>

  <para>This handbook describes &smb4k; 2.0.x and to some extent earlier versions.</para>
  <para>&smb4k; is an advanced network neighborhood browser and <ulink url="http://www.samba.org">Samba</ulink> share mounting utility. It provides many handy features that ease your life in a mostly &Windows;-dominated network environment:</para>

  <itemizedlist>
    <listitem><para>Scanning for (active) workgroups, hosts, and shares</para></listitem>
    <listitem><para>Support of the CIFS (&Linux;) and SMBFS (FreeBSD, NetBSD) file system</para></listitem>
    <listitem><para>Mounting and unmounting of shares</para></listitem>
    <listitem><para>Access to the files of a mounted share using a file manager or terminal</para></listitem>
    <listitem><para>Auto-detection of external mounts and unmounts</para></listitem>
    <listitem><para>Remounting of previously used shares on program start</para></listitem>
    <listitem><para>Miscellaneous infos about remote network items and mounted shares</para></listitem>
    <listitem><para>Network search</para></listitem>
    <listitem><para>WINS server support</para></listitem>
    <listitem><para>Preview of the contents of a remote share</para></listitem>
    <listitem><para>Several methods to look up the initial list of workgroups and domains</para></listitem>
    <listitem><para>Default login</para></listitem>
    <listitem><para>Special handling of homes shares</para></listitem>
    <listitem><para>Ability to bookmark favorite shares</para></listitem>
    <listitem><para>System tray widget</para></listitem>
    <listitem><para>Support of advanced Samba options</para></listitem>
    <listitem><para>Support of printer shares</para></listitem>
    <listitem><para>KWallet support</para></listitem>
    <listitem><para>Synchronization of a remote share with a local copy and vice versa</para></listitem>
    <listitem><para>Ability to define custom options for individual servers and shares</para></listitem>
    <listitem><para>Laptop support through the Solid hardware device framework</para></listitem>
    <listitem><para>Wake-On-LAN capabilities</para></listitem>
<!--   <listitem><para>&plasmoid; for desktop integration</para></listitem> -->
    <listitem><para>Profiles for different network neighborhood setups</para></listitem>
  </itemizedlist>

  <note><para>The plasmoid has not been ported to &plasma; and QtQuick 2 yet. Thus, it has been disabled in this release. We are currently working on bringing this functionality back.</para></note>  

  <para>If you encounter problems while using &smb4k;, please visit our <ulink url="https://sourceforge.net/p/smb4k/wiki/Home/">wiki</ulink> first. If you cannot find your problem described there, please post a help request to our <ulink url="https://sourceforge.net/p/smb4k/discussion/help/">Help</ulink> forum. In case you find a bug, please report it to our <ulink url="https://bugs.kde.org/enter_bug.cgi?format=guided&amp;product=smb4k">bug tracker</ulink>.</para>
  <para>For discussions about &smb4k;-related topics there is the <ulink url="https://sourceforge.net/p/smb4k/discussion/general/">General Discussion</ulink> forum and we invite every user to participate.</para>
</chapter>

<!-- 
      Using Smb4K 
  -->

<chapter id="using_smb4k">
  <title>Using &smb4k;</title>

<!-- 
      Using Smb4K : Running Smb4K 
  -->

  <sect1 id="running_smb4k" >
    <title>Running &smb4k;</title>

    <para>After the installation, you can run &smb4k; either from the K menu or from the command prompt by typing <screen><prompt>$</prompt> <userinput><command>smb4k</command></userinput></screen></para>
    <para>&smb4k; does not take any arguments, except those that are known to all &kde; applications.</para>
    <!--<para>&smb4k; also comes with a <link linkend="plasmoid">&plasmoid;</link> for better desktop integration. It can be added as widget to the desktop or the panel.</para>-->
    <para>If your system is missing some of the programs &smb4k; needs to operate properly, it notifies the user:</para>
    
    <screenshot id="notification_missing_program">
      <screeninfo>Screenshot of the missing program notification</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="notification_missing_program.png" format="PNG" /></imageobject>
        <textobject><phrase>The missing program notification</phrase></textobject>
      </mediaobject>
    </screenshot>
    
    <para>In this case, please install the specified program or, if it is already present, add its location to the <envar>PATH</envar> environment variable in your shell's configuration file (for the <ulink url="man:/bash"><citerefentry><refentrytitle>bash</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> shell it is the <filename>~/.bashrc</filename> file).</para>
    <para>In addition, it is recommended that you configure Samba before using &smb4k;. You may use the web-based <ulink url="man:/swat"><citerefentry><refentrytitle>swat</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> utility for this purpose if you have Samba 3 installed. However, it was removed from Samba 4. With this version, you can use other graphical tools (&eg; <application>system-config-samba</application>) or configure the <ulink url="man:/smb.conf"><citerefentry><refentrytitle>smb.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink> file manually.</para>
  </sect1>

<!-- 
      Using Smb4K : Main Window 
  -->

  <sect1 id="mainwindow_overview">
    <title>The Main Window</title>
  
    <para>On the first start-up, the main window of &smb4k; looks similar to the one shown below. The network neighborhood browser (<guilabel>Network Neighborhood</guilabel>), the network search widget (<guilabel>Network Search</guilabel>) and the mounted shares view (<guilabel>Mounted Shares</guilabel>) are arranged in a tab widget. Above them the menubar and toolbar(s) are located. Below them you find the status bar.</para>
    
    <screenshot id="mainwindow_overview_screenshot">
      <screeninfo>Screenshot of the main window</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="main_window.png" format="PNG" /></imageobject>
        <textobject><phrase>The main window</phrase></textobject>
      </mediaobject>
    </screenshot>

    <para>&smb4k; comes with a compact unified toolbar as the default, but the user can still choose to use multiple toolbars. If you wish to use the classical way, four toolbars are defined, for each widget one: the main toolbar, the toolbars for the <guilabel>Network Neighborhood</guilabel> widget, the <guilabel>Shares View</guilabel> widget and the <guilabel>Network Search</guilabel> widget. The unified toolbar contains some of the main actions, like <guimenuitem>Configure &smb4k;</guimenuitem> and <guimenuitem>Quit</guimenuitem>. It also dynamically loads the actions of the dock widget that currently has got the focus. For additional information and some important warnings, please have a look at the sections discussing the <link linkend="network_neighborhood_browser">network neighborhood browser</link>, <link linkend="network_search_view">search dialog</link>, and <link linkend="shares_view">mounted shares view</link>.</para>
    <para>The status bar gives some information about the current status of &smb4k;. If the application is processing a user request (&eg; mounting a share), a descriptive message is displayed in the leftmost section and a progress bar is shown with a busy indicator. The two icons on the right hand side indicate if there are shares mounted (remote folder icon) and the status of the authentication system (wallet or key icon).</para>
    <para>If the dock widgets are arranged as tabs, the user gets additional visual feedback. Each time a share is mounted or unmounted, the <guilabel>Mounted Shares</guilabel> tab is highlighted for a few seconds.</para>
    <para>The main window is highly configurable. You can hide or show all tabbed widgets (<menuchoice><guimenu>Settings</guimenu><guimenuitem>Dock Widgets</guimenuitem></menuchoice>). They can also be dragged around with the mouse and docked to different areas in the main window. You can even detach them from the main window. The status bar and the toolbars can be hidden/shown by toggling the menu entry <menuchoice><guimenu>Settings</guimenu><guimenuitem>Show Statusbar</guimenuitem></menuchoice> and the ones under <menuchoice><guimenu>Settings</guimenu><guimenuitem>Toolbars Shown</guimenuitem></menuchoice>, respectively.</para>
  </sect1>

<!-- 
      Using Smb4K : The Network Neighborhood Browser 
  -->

  <sect1 id="network_neighborhood_browser">
    <title>The Network Neighborhood Browser</title>

    <para>The interaction with the network neighborhood is done with the <guilabel>Network Neighborhood</guilabel> browser. It contains all network items &#8212; &ie; workgroups, servers, and shares &#8212; &smb4k; was able to find. They are organized in a network tree, and you can navigate through it by either clicking the control next to the item name or by executing the item itself.</para>
    <para>In the network tree, the master browser of each workgroup or domain is highlighted by blue font color. Mounted shares are marked with the respective folder icon and an italic font.</para>

    <screenshot>
      <screeninfo>Screenshot of the network neighborhood browser</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="network_neighborhood_browser.png" format="PNG" /></imageobject>
        <textobject><phrase>The network neighborhood browser</phrase></textobject>
      </mediaobject>
    </screenshot>

    <para>The selection of multiple network items is supported. So, it is possible to &eg; mount or preview several shares at once.</para>

<!-- 
      Using Smb4K : The Network Neighborhood Browser : Browsing 
  -->

    <sect2 id="network_neighborhood_browser_browsing">
      <title>Browsing</title>

      <para>&smb4k; automatically scans the network neighborhood for active workgroups and domains on start-up and presents them in the network neighborhood browser. Opening a workgroup item shows the servers belonging to it. If you want to access the shares of one of the servers, you have to open the desired server.</para>
      <para>There are two scan modes available. The traditional one, where initially only workgroups and domains are looked up and scans are only made when necessary &#8212; &ie; when you execute a network item &#8212;, and one, where the network is scanned periodically for <emphasis>all</emphasis> available network items including servers and shares. While the former one is the default, the latter one can be enabled in the <link linkend="configuration_network_periodic_scanning">configuration dialog</link>.</para>
      <para>There are <link linkend="configuration_network_browselist">three methods</link> to retrieve the browse list: The default one is to scan the network neighborhood for all available master browsers. The second and third method directly query a master browser to get the browse list. The difference is that the former is a dynamic one, where the current master browser of your workgroup or domain is looked up and used, and the latter is a static one, where a fixed name or IP address is used. It is recommended that you choose the dynamic method. However, there might be circumstances that make it necessary to use a static name or IP address.</para>
      <para>There is also the possibility to wake up sleeping servers prior to scanning the network neighborhood (Wake-On-LAN). If this feature is enabled, &smb4k; sends a magic package to each server that is to be woken up and waits the defined time until it starts the lookup of the workgroups and domains. The Wake-On-LAN setting can be turned on in the <link linkend="configuration_network_wake_on_lan">configuration dialog</link>. The servers that should to be woken up have to be defined in the <link linkend="network_neighborhood_browser_defining_custom_options">Custom Options</link> dialog.</para>
    </sect2>

<!-- 
      Using Smb4K : The Network Neighborhood Browser : Actions and Popup Menu 
  -->

    <sect2 id="network_neighborhood_browser_actions_popup_menu">
      <title>Actions and Popup Menu</title>

      <para>For the network neighborhood browser several actions are defined. They are present in the menubar under <guimenu>Network</guimenu>, in the toolbar and the popup menu. The following ones are available:</para>
    
      <variablelist>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycap>F5</keycap></shortcut>
              <guimenuitem>Scan Network|Workgroup|Computer</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Scan the whole network neighborhood, the highlighted workgroup/domain or computer for new entries. This action is visible by default and will be replaced by the <guimenuitem>Abort</guimenuitem> action if a network scan is running.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>A</keycap></keycombo></shortcut>
              <guimenuitem>Abort</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Abort any running process of the network neighborhood browser. This action is invisible by default and will only be visible instead of the <guimenuitem>Scan Network|Workgroup|Computer</guimenuitem> action when a network scan is running.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <guimenuitem>Add Bookmark</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Add a bookmark to the currently selected remote share. This action is disabled if no share is selected.</para>
            <para>Read the <link linkend="bookmarks_adding">Adding Bookmarks</link> section for more details.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>O</keycap></keycombo></shortcut>
              <guimenuitem>Open Mount Dialog</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Open the <link linkend="network_neighborhood_browser_mounting">dialog</link> for mounting shares "manually". This feature may be needed if &smb4k; cannot find a server from which you want to mount a certain shared resource.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>T</keycap></keycombo></shortcut>
              <guimenuitem>Authentication</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Open the <link linkend="network_neighborhood_browser_authentication">authentication dialog</link>. You can provide the login and password for the selected server or share. If a workgroup or no item is selected, this action is disabled.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>C</keycap></keycombo></shortcut>
              <guimenuitem>Custom Options</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Open the <link linkend="network_neighborhood_browser_defining_custom_options">Custom Options</link> dialog. You can set several custom options for the selected server or share. If a workgroup or no item is selected, this menu entry is disabled.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>V</keycap></keycombo></shortcut>
              <guimenuitem>Preview</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para><link linkend="network_neighborhood_browser_previewing">Preview</link> the contents of the selected remote share. This action is only enabled if a share is selected. Printer shares cannot be previewed.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>P</keycap></keycombo></shortcut>
              <guimenuitem>Print File</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para><link linkend="network_neighborhood_browser_printing">Print</link> a file on a remote printer. This action is only available if a printer share is selected.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>M</keycap></keycombo></shortcut>
              <guimenuitem>Mount</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Mount the selected remote share. By default and if you clicked anything different than a share with type "Disk" or "IPC", this action is disabled. If you selected a mounted share, this action is replaced by the <guimenuitem>Unmount</guimenuitem> action.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut>
              <guimenuitem>Unmount</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Unmount the selected share. This action is invisible by default and will only be visible instead of the <guimenuitem>Mount</guimenuitem> action when the share is currently mounted.</para>
          </listitem>
        </varlistentry>
      </variablelist>

      <para>Although you can interact with the network neighborhood using the keyboard shortcuts mentioned above, in most cases it is more convenient to use the mouse. By right clicking you can open a popup menu. It contains all actions that are available in the network neighborhood browser. Depending on the position where you clicked (on a network item or on the viewport), some of them may be disabled. The figure below shows the popup menu opened on a remote share.</para>

      <screenshot>
        <screeninfo>Screenshot of the popup menu of the network neighborhood browser</screeninfo>
          <mediaobject>
          <imageobject>
            <imagedata fileref="network_neighborhood_browser_popup_menu.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>The popup menu of the network neighborhood browser</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
    </sect2>

<!-- 
      Using Smb4K : The Network Neighborhood Browser : Tooltips 
  -->

    <sect2 id="network_neighborhood_browser_tooltips">
      <title>Tooltips</title>

      <para>For each network item a tooltip is provided that contains various information like the name of the workgroup and master browser, the name and IP address of the host, the name of the share, &etc;</para>
      <para>The tooltips can be disabled in the <link linkend="configuration_user_interface_network_tooltips">configuration dialog</link>.</para>
    </sect2>

<!-- 
      Using Smb4K : The Network Neighborhood Browser : Mounting a Share 
  -->

    <sect2 id="network_neighborhood_browser_mounting">
      <title>Mounting a Share</title>

      <para>There are three options available to mount a remote share:</para>

      <orderedlist>
        <listitem><para>Execute the icon representing the remote share in the network neighborhood browser. (Depending on your &kde; settings, this is done by either single or double clicking the icon.)</para></listitem>
        <listitem><para>Select the remote share and click the <guimenuitem>Mount</guimenuitem> menu entry. Alternatively, you can press the <keycombo action="simul">&Ctrl; <keycap>M</keycap></keycombo> keyboard shortcut.</para></listitem>
        <listitem><para>If &smb4k; was not able to find the server where the share is located, you can press the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>O</keycap></keycombo></shortcut><guimenuitem>Open Mount Dialog</guimenuitem></menuchoice> menu entry and a mount dialog will be opened:</para>
        <screenshot>
          <screeninfo>Screenshot of the "Mount Share" dialog</screeninfo>
          <mediaobject>
            <imageobject><imagedata fileref="network_neighborhood_browser_mount_dialog.png" format="PNG" /></imageobject>
            <textobject><phrase>The "Mount Share" dialog</phrase></textobject>
          </mediaobject>
        </screenshot>
        <para>Here you can enter the location of the share either as <ulink url="http://en.wikipedia.org/wiki/Uniform_Naming_Convention#Uniform_Naming_Convention">Uniform Naming Convention (UNC)</ulink> address in the form <programlisting>//[USER@]SERVER/SHARE</programlisting> or <programlisting>\\[USER@]SERVER\SHARE</programlisting> or as URL in the form <programlisting>[smb:]//[user@]server:port/share</programlisting> The <guibutton>OK</guibutton> button will be enabled and you can press it to mount the share. However, it is advisable to enter the IP address and the workgroup of the server, too. If you want to add the share to the bookmarks at the same time, tick the <guibutton>Add this share to the bookmarks</guibutton> check box.</para></listitem>
      </orderedlist>

      <para>Often a share is password protected. In this case, an <link linkend="network_neighborhood_browser_authentication">authentication dialog</link> will appear and you have to enter the correct user name (if not already provided) and password. &smb4k; will proceed mounting the share unless a wrong user name or password was supplied. In that case, the authentication dialog will reappear. If the mount process was successful, the user will be shown a notification and the share will appear in the <link linkend="shares_view">mounted shares view</link>. If mounting fails, a notification with the error message that was returned by <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> (&Linux;) or <ulink url="man:/mount_smbfs"><citerefentry><refentrytitle>mount_smbfs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> (FreeBSD, NetBSD) will be shown.</para>
    </sect2>

<!-- 
      Using Smb4K : The Network Neighborhood Browser : Printing Files 
  -->

    <sect2 id="network_neighborhood_browser_printing">
      <title>Printing Files on Remote Printers</title>

      <para>To print a file on a remote printer, open the print dialog by clicking the printer icon or choosing the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>P</keycap></keycombo></shortcut><guimenuitem>Print File</guimenuitem></menuchoice> menu item.</para>
      <screenshot>
        <screeninfo>Screenshot of the print dialog</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="network_neighborhood_browser_print_dialog.png" format="PNG" /></imageobject>
          <textobject><phrase>The print dialog</phrase></textobject>
        </mediaobject>
      </screenshot>
      <para>In the <guilabel>Printer</guilabel> section various information about the printer is shown. Under <guilabel>File</guilabel> you have to provide the path to the file you want to print. The number of copies can be defined under <guibutton>Options >></guibutton>. Press <guibutton>Print...</guibutton> to start the print process.</para>
      <para>&smb4k; currently supports PDF, Postscript, image, and text files. If you try to print a file with an unsupported mimetype, a notification with an error message will appear telling you the mimetype is not supported. In this case you have to convert the file manually to Postscript or PDF and try again.</para>
    </sect2>

<!-- 
      Using Smb4K : The Network Neighborhood Browser : Previewing Shares 
  -->

    <sect2 id="network_neighborhood_browser_previewing">
      <title>Previewing Shares</title>
      
      <para>&smb4k; provides the ability to preview remote shares. If you click the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>V</keycap></keycombo></shortcut><guimenuitem>Preview</guimenuitem></menuchoice> menu entry, the contents of the selected remote share will be opened in a preview dialog.</para>
      <screenshot>
        <screeninfo>Screenshot of the preview dialog</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="network_neighborhood_browser_preview_dialog.png" format="PNG" /></imageobject>
          <textobject><phrase>The preview dialog</phrase></textobject>
        </mediaobject>
      </screenshot>
      <para>The preview dialog acts like a simple file manager. You can navigate through the contents of the remote share by clicking the folder icons in the list view and the <guibutton>Up</guibutton>, <guibutton>Back</guibutton>, and <guibutton>Forward</guibutton> button. The current location is displayed in the combo box on the right hand side. The <guibutton>Reload</guibutton> button reloads the contents of the current folder.</para>
      <para>By default, the preview dialog only shows folders and files that are not hidden. You can change this behavior in the <link linkend="configuration_network_general_behavior">configuration dialog</link>. File transfers or the like are not possible.</para>
    </sect2>

<!-- 
      Using Smb4K : The Network Neighborhood Browser : Providing Authentication Information 
  -->

    <sect2 id="network_neighborhood_browser_authentication">
      <title>Providing Authentication Information</title>

      <para>Many servers or remote shares are password protected. In that case, a password dialog appears asking you for the user name and password. The same happens, if you click the  <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>T</keycap></keycombo></shortcut><guimenuitem>Authentication</guimenuitem></menuchoice> menu entry.</para>
      <screenshot>
        <screeninfo>Screenshot of the authentication dialog</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="network_neighborhood_browser_authentication_dialog.png" format="PNG" /></imageobject>
          <textobject><phrase>The authentication dialog</phrase></textobject>
        </mediaobject>
      </screenshot>
      <para>If a user name has already been provided, it will be shown in the respective field. If it is wrong or no user name was provided, you have to enter one. The password, however, may be left blank. Clicking the <guibutton>OK</guibutton> button will commit the data. Depending on your choice in the <link linkend="configuration_page_authentication">configuration dialog</link>, the user name and password will be stored permanently in a digital wallet or not all. In the latter case you will have to provide them <emphasis>every time</emphasis> they are needed.</para>
    </sect2>

<!-- 
      Using Smb4K : The Network Neighborhood Browser : Defining Custom Options 
  -->

    <sect2 id="network_neighborhood_browser_defining_custom_options">
      <title>Defining Custom Options</title>

      <para>Use the <guilabel>Custom Options</guilabel> dialog if you want to</para>
      <itemizedlist>
        <listitem><para>define custom Samba options for a single server or share that deviate from the ones defined in the configuration dialog,</para></listitem>
        <listitem><para>define a server that should be woken up prior to network scans or mount attempts (Wake-On-LAN feature, see <link linkend="configuration_network_wake_on_lan">here</link>),</para></listitem>
        <listitem><para>always mount a certain share on start-up or if the corresponding profile is loaded.</para></listitem>
      </itemizedlist>
      <para>The dialog is opened by clicking the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>C</keycap></keycombo></shortcut><guimenuitem>Custom Options</guimenuitem></menuchoice> menu entry.</para>

      <screenshot>
        <screeninfo>Screenshot of the custom options dialog for a share</screeninfo>
        <mediaobject>
          <imageobject>
            <imagedata fileref="network_neighborhood_browser_custom_options_dialog.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>The custom options dialog</phrase>
          </textobject>
        </mediaobject>
      </screenshot>

      <para>The <guibutton>Default</guibutton> button is enabled if the entries in the dialog deviate from the settings you defined in the configuration dialog. By clicking it, you can reset the entries in the dialog to their default values. The <guibutton>OK</guibutton> button is enabled if you changed the settings in the dialog. Clicking it will commit the custom settings and close the dialog.</para>
      <note><para>Under FreeBSD and NetBSD, the dialog contains less entries than if you run a different operating system, because several of the options are not supported.</para></note>

      <sect3 id="network_neighborhood_browser_defining_custom_options_samba">
        <title>Samba</title>

        <para>Depending on your selection, the settings in the custom options dialog either apply to all shares of a server or to a single one. You can define the SMB port, the file system port (&Linux; only), the write access, the user ID, the group ID and if Kerberos should be used for authentication. For detailed information on the individual settings, please see <link linkend="configuration_page_samba">here</link>.</para>
      </sect3>

      <sect3 id="network_neighborhood_browser_defining_custom_options_wol">
        <title>Wake-On-LAN</title>
    
        <para>To make the Wake-On-LAN feature work, you need to provide the MAC address of the server you selected. Currently, &smb4k; has no way to determine the MAC address, so you need to find it out on your own. Afterwards, you can define if &smb4k; should send a magic Wake-On-LAN package to the selected host before the network neighborhood is scanned and/or one of its shares is mounted.</para>
      </sect3>
    </sect2>

<!-- 
      Using Smb4K : The Network Neighborhood Browser : Adding Bookmarks
  -->

    <sect2 id="network_neighborhood_browser_adding_bookmarks">
      <title>Adding Bookmarks</title>

      <para>A bookmark is added by selecting a remote share (only these can be bookmarked) and pressing the <keycombo action="simul">&Ctrl; <keycap>B</keycap></keycombo> keyboard shortcut or selecting the <guimenuitem>Add Bookmark</guimenuitem> menu item. The bookmark will then be accessible through the <guimenu>Bookmarks</guimenu> menu. See the section <link linkend="bookmarks">Bookmarks</link> for more details.</para>
      <para>The bookmarks can be used to mount remote shares.</para>
    </sect2>
  </sect1>

<!-- 
      Using Smb4K : The Network Search View
  -->

  <sect1 id="network_search_view">
    <title>The Network Search View</title>

    <para>The <guilabel>Network Search</guilabel> view consists of the combo box where you can enter the search item and a list view where the search results are shown.</para>
    <screenshot>
      <screeninfo>Screenshot of the network search view</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="network_search_view.png" format="PNG" /></imageobject>
        <textobject><phrase>The network search view</phrase></textobject>
      </mediaobject>
    </screenshot>

<!-- 
      Using Smb4K : The Network Search View : Searching 
  -->

    <sect2 id="network_search_view_searching">
      <title>Searching</title>

      <para>&smb4k; searches the network neighborhood for shares that match or contain the search string. To start a search, enter the term into the input box 
        and either press the &Enter; key or click the <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>S</keycap></keycombo></shortcut><guimenuitem>Search</guimenuitem></menuchoice> action next to the input box. All network shares that match the search criterion are listed in the list view. If they are already mounted on the system, they are marked accordingly. If the search fails, an error message is displayed. Starting a new search will clear the list view. If you need to abort a search, click the <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>A</keycap></keycombo></shortcut><guimenuitem>Abort</guimenuitem></menuchoice> action.</para>
    </sect2>

<!-- 
      Using Smb4K : The Network Search View : Actions and Popup Menu 
  -->

    <sect2 id="network_search_view_menu">
      <title>Actions and Popup Menu</title>

      <para>For the network search also several actions are defined. They are present in the menu bar under <guimenu>Search</guimenu>, the tool bar, in the widget itself and in its popup menu. The following ones are available:</para>

      <variablelist>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>S</keycap></keycombo></shortcut>
              <guimenuitem>Search</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Search for the string that was entered in the search dialog. This action is visible by default and will be replaced by the <guimenuitem>Abort</guimenuitem> action if a network search is running.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>A</keycap></keycombo></shortcut>
              <guimenuitem>Abort</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Abort the network search. This action is invisible by default and will only be visible instead of the <guimenuitem>Search</guimenuitem> action if a network search is running.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <guimenuitem>Clear</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Clear the whole network search dialog. This action does not only clear the list view, but also the search item history in the combo box.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>M</keycap></keycombo></shortcut>
              <guimenuitem>Mount</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Mount a remote share from within the search dialog. Alternatively, you can double click the network share in the list view.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut>
              <guimenuitem>Unmount</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Unmount the selected share. This action is invisible by default and will only be visible instead of the <guimenuitem>Mount</guimenuitem> action when the share is currently mounted.</para>
          </listitem>
        </varlistentry>
      </variablelist>

      <para>The popup menu contains two entries: The <menuchoice><guimenuitem>Clear</guimenuitem></menuchoice> action and the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>M</keycap></keycombo></shortcut><guimenuitem>Mount</guimenuitem></menuchoice> | <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut><guimenuitem>Unmount</guimenuitem></menuchoice> dual action. The <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>S</keycap></keycombo></shortcut><guimenuitem>Search</guimenuitem></menuchoice> | <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>A</keycap></keycombo></shortcut><guimenuitem>Abort</guimenuitem></menuchoice> dual action is located next to the search input box (as well as in the menu bar and tool bar).</para>

      <screenshot>
        <screeninfo>Screenshot of the network search view's popup menu</screeninfo>
        <mediaobject>
          <imageobject>
            <imagedata fileref="network_search_view_popup_menu.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>The network search view's popup menu</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
    </sect2>
  
<!-- 
      Using Smb4K : The Network Search View : Mounting a Share
  -->

    <sect2 id="network_search_view_adding">
      <title>Mounting a Share</title>

      <para>A discovered share can directly be mounted by either double clicking it or by selecting it and choosing the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>D</keycap></keycombo></shortcut><guimenuitem>Mount</guimenuitem></menuchoice> action from the popup menu. When mounting a homes share, you are asked to provide the user name and a share with that name is mounted. The homes share itself will, thus, not be labeled as mounted afterwards. Due to a shortcoming of the utility program that does the actual search (the <ulink url="man:/smbtree"><citerefentry><refentrytitle>smbtree</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> command), &smb4k; cannot discriminate between printer and normal shares. Mounting a printer share will fail and an error notification will be shown.</para>
    </sect2>
  </sect1>

<!-- 
      Using Smb4K : The Mounted Shares View 
  -->

  <sect1 id="shares_view">
    <title>The Mounted Shares View</title>

    <para>In the shares view, you can interact with the mounted shares on your system.</para>

<!-- 
      Using Smb4K : The Mounted Shares View : Different Views 
  -->

    <sect2 id="shares_view_views">
      <title>Different Views</title>

      <para>&smb4k; comes with two alternative views: an icon and a list view. They are both shown below. The default one is the icon view.</para>
      <para>The icon view:</para>
      <screenshot>
        <screeninfo>Screenshot of the shares icon view</screeninfo>
        <mediaobject>
          <imageobject>
            <imagedata fileref="shares_view_icon_view.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>The shares icon view</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
      <para>The list view:</para>
      <screenshot>
        <screeninfo>Screenshot of the shares list view</screeninfo>
        <mediaobject>
          <imageobject>
            <imagedata fileref="shares_view_list_view.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>The shares list view</phrase>
          </textobject>
        </mediaobject>
      </screenshot>

      <para>You can switch between the two views by selecting either the appropriate entry in the <guimenuitem>View Modes</guimenuitem> from the <link linkend="mainwindow_overview"><guimenu>Shares View</guimenu></link> menu of the main window or in the shares view's <link linkend="shares_view_actions_popup_menu">popup menu</link>.</para>
      <para>By default, only your own mounts are displayed. However, you can tell &smb4k; to show all mounts by altering the <link linkend="configuration_page_shares_behavior">respective settings</link>.</para>
    </sect2>

<!-- 
      Using Smb4K : The Mounted Shares View : Actions and Popup Menu
  -->

    <sect2 id="shares_view_actions_popup_menu">
      <title>Actions and Popup Menu</title>

      <para>For the shares view several actions are defined. They are present in the menu bar under <guimenu>Shares</guimenu>, the tool bar and in its popup menu. The following ones are available:</para>

      <variablelist>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>View Modes</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Choose the view mode from the submenu.</para>
            <variablelist>
              <varlistentry>
                <term>
                  <menuchoice><guimenuitem>Icon View</guimenuitem></menuchoice>
                </term>
                <listitem>
                  <para>The shares are shown in an icon view.</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guimenuitem>List View</guimenuitem></menuchoice>
                </term>
                <listitem>
                  <para>The shares are shown in a list view.</para>
                </listitem>
              </varlistentry>
            </variablelist>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut>
              <guimenuitem>Unmount</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Unmount one or multiple selected shares. The ability to unmount shares is by default restricted to the ones that are owned by you. However, you can change this behavior by changing the <link linkend="configuration_page_shares_behavior">settings</link> in the configuration dialog. If no share is selected in the shares view, this button is disabled.</para>
            <para>&smb4k; also provides the ability to force the unmounting of shares (&Linux; only). This might be useful with inaccessible shares that cannot be unmounted the normal way. To enable this feature, you need to modify the <link linkend="configuration_page_shares_behavior">settings</link> in the configuration dialog.</para>
            <para>Read the <link linkend="shares_view_unmounting">Unmounting Shares</link> section for more details.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>N</keycap></keycombo></shortcut>
              <guimenuitem>Unmount All</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Unmount all shares at once. The restrictions noted above also apply here. If you do not have any shares mounted, this button is disabled.</para>
            <para>Read the <link linkend="shares_view_unmounting">Unmounting Shares</link> section for more details.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <guimenuitem>Add Bookmark</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Add a bookmark to the currently selected mounted share. This action is disabled if no share is selected.</para>
            <para>Read the <link linkend="bookmarks_adding">Adding Bookmarks</link> section for more details.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>Y</keycap></keycombo></shortcut>
              <guimenuitem>Synchronize</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Start the <link linkend="shares_view_synchronization">synchronization</link> of a share with a local copy or vice versa. This menu entry is only enabled if you installed the program <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> and a share is selected.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>L</keycap></keycombo></shortcut>
              <guimenuitem>Open with Konsole</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Open the base folder of a share in &konsole;. This menu item is useful if you need to run shell scripts, &etc;</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>I</keycap></keycombo></shortcut>
              <guimenuitem>Open with File Manager</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Open the contents of a share in the default file manager.</para>
          </listitem>
        </varlistentry>
      </variablelist>

      <para>The popup menu includes all actions that can be performed on a mounted share:</para>
      <screenshot>
        <screeninfo>Screenshot of the popup menu of the shares view</screeninfo>
        <mediaobject>
          <imageobject>
            <imagedata fileref="shares_view_popup_menu.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>The popup menu of the shares view</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
      <para>It can be opened by clicking the right mouse button.</para>
    </sect2>

<!-- 
      Using Smb4K : The Mounted Shares View : Tooltips 
  -->

    <sect2 id="shares_view_tooltips">
      <title>Tooltips</title>

      <para>The tooltips provide information about the share name, the mount point, the user and group, the login, the file system, the disk usage, and the free disk space. If the share is <link linkend="shares_view_inaccessible_shares">inaccessible</link>, these values are marked as unknown.</para>
      <para>Tooltips are enabled by default. You can deactivate them in the <link linkend="configuration_user_interface_shares_tooltips">configuration dialog</link>.</para>
    </sect2>

<!-- 
      Using Smb4K : The Mounted Shares View : Inaccessible Shares 
  -->

    <sect2 id="shares_view_inaccessible_shares">
      <title>Inaccessible Shares</title>

      <para>&smb4k; periodically checks all mounted shares if they are still accessible. If an inaccessible share is encountered, it will be marked with a <link linkend="shares_view_icons">locked folder icon</link> and you will not be able to open or synchronize it anymore. Unmounting and adding a bookmark is still possible.</para>
      <note><para>The program might freeze for a short period of time due to an inaccessible share. It will recover afterwards.</para></note>
    </sect2>

<!-- 
      Using Smb4K : The Mounted Shares View : Icons 
  -->

    <sect2 id="shares_view_icons">
      <title>Icons</title>

      <para>Three different icons may be presented to the user:</para>
      <screenshot>
        <screeninfo>Screenshot of three different icons</screeninfo>
        <mediaobject>
          <imageobject>
            <imagedata fileref="shares_view_icons.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>Three different icons</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
      <itemizedlist>
        <listitem><para>The icon on the left hand side indicates that this share is not accessible. &smb4k; won't allow you to open it or to do synchronization with it. You will only be able to unmount it or add a bookmark.</para></listitem>
        <listitem><para>The central icon indicates that the share is online, accessible, and owned by you. You may perform all available actions on it.</para></listitem>
        <listitem><para>All shares marked with a warning sign like the one on the right hand side are owned by another user. They are only shown if you adjusted the <link linkend="configuration_page_shares_behavior">settings</link> to display them. In the default configuration, you are not allowed to unmount these shares, but you can <link linkend="configuration_page_shares_behavior">change this behavior</link>, too.</para></listitem>
      </itemizedlist>
    </sect2>

<!-- 
      Using Smb4K : The Mounted Shares View : Drag-and-Drop 
  -->

    <sect2 id="shares_view_drag_and_drop">
      <title>Drag-and-Drop</title>

      <para>&smb4k; supports drag-and-drop in the shares view. To transfer or link data to a share, drag the files and/or folders over the share icon and drop them there. A popup menu will open asking you what you want to do. Choose the appropriate action (copy, move or link).</para>
      <screenshot>
        <screeninfo>Screenshot of the shares view after the user dropped a file</screeninfo>
        <mediaobject>
          <imageobject>
            <imagedata fileref="shares_view_drop_popup_menu.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>A popup menu opened after the user dropped a file onto a share</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
      <para>To avoid the popup menu, press the &Shift; key for moving, the &Ctrl; key for copying and the <keycombo>&Ctrl;&Shift;</keycombo> key combination for linking while dragging and dropping. The transfer will only be successful if the share was mounted with read and write permissions.</para>
      <para>You can also drag and drop the whole share to the desktop or to another application (&eg; &dolphin;). Again, a popup menu will open asking you, what you want to do. When choosing the appropriate operation, please remember that under most circumstances moving and linking the share might not be a good idea.</para>
    </sect2>

<!-- 
      Using Smb4K : The Mounted Shares View : Unmounting Shares 
  -->

    <sect2 id="shares_view_unmounting">
      <title>Unmounting Shares</title>

      <para>One or multiple selected shares may be unmounted by either clicking the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut><guimenuitem>Unmount</guimenuitem></menuchoice> action or by pressing its keyboard shortcut. By default, the ability to unmount a share is restricted to the ones that are owned by you. This behavior can be altered in the <link linkend="configuration_page_shares_behavior">configuration dialog</link>. If you enabled the unmounting of shares that are owned by other users, you will be presented with a warning dialog prior to the actual unmount:</para>
      <screenshot>
        <screeninfo>Screenshot of the warning dialog that is shown when a foreign share is to be unmounted</screeninfo>
        <mediaobject>
          <imageobject>
            <imagedata fileref="shares_view_warning_dialog_foreign_share.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>The warning dialog that is shown when unmounting foreign shares</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
      <para>If you click the <guibutton>Yes</guibutton> button, the share will definitely be unmounted. So, please think twice before you decide to unmount shares that are owned by other users!</para>
      <para>Inaccessible shares are unmounted with a "normal" unmount by default. If this should fail, you can <link linkend="configuration_page_shares_behavior">configure</link> &smb4k; so as to perform a <ulink url="man:/umount">lazy unmount</ulink> on inaccessible shares (&Linux; only).</para>
      <para>All shares can be unmounted at once by clicking the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>N</keycap></keycombo></shortcut><guimenuitem>Unmount All</guimenuitem></menuchoice> action. Depending on your settings, this will also unmount foreign and inaccessible shares.</para>
      <para>After a successful unmount process, the user is notified. If unmounting fails, a notification with the returned error message will be shown.</para>
    </sect2>

<!-- 
      Using Smb4K : The Mounted Shares View : Synchronization 
  -->

    <sect2 id="shares_view_synchronization">
      <title>Synchronization</title>

      <para>The <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>Y</keycap></keycombo></shortcut><guimenuitem>Synchronize</guimenuitem></menuchoice> menu item opens the synchronization dialog. It offers you the mount point of the share as source and a path below the <link linkend="configuration_page_synchronization_copying_defdest">synchronization prefix</link> as destination. To update the data on the share, you can swap the destination with the source by clicking the <guibutton>Swap Paths</guibutton> button.</para>
      <screenshot>
        <screeninfo>Screenshot of the synchronization input dialog</screeninfo>
        <mediaobject>
          <imageobject>
            <imagedata fileref="shares_view_synchronization_input_dialog.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>&URL; requester for sync'ing</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
      <para>Clicking the <guibutton>Synchronize</guibutton> button starts the synchronization. By left clicking on the <guibutton>Notifications</guibutton> button in the system tray, a progress dialog can be opened that shows some details about the transfer.</para>
      <screenshot>
        <screeninfo>Screenshot of the synchronization progress dialog</screeninfo>
        <mediaobject>
          <imageobject>
            <imagedata fileref="synchronization_progress.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>Progress dialog</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
      <para>In the default, collapsed version it displays the source and destination of the file that is currently transferred, the transfer rate and the overall progress. More information like the number of transferred files and a graphical representation of the transfer rate can be seen by clicking the <guibutton>[+]</guibutton> (More) button on the left below to the progress bar.</para>
      <para>The synchronization can be paused or canceled at any time by pressing the pause or stop button to the right of the progress bar.</para>

      <note>
        <para>The total number of files that is shown in the progress dialog corresponds to the number of files present on the share and not necessarily to the total number of files that will actually be transferred.</para>
        <para>The progress is calculated from the number of transferred files devided by the total number of files present on the share. Their size is not considered. That means that one very large file adds to the progress as much as a very small one does. Also, due to the way <application>rsync</application> displays the transfer progress, the progress bar is only updated after the transfer of the file.</para>
      </note>
    </sect2>

<!-- 
      Using Smb4K : The Mounted Shares View : Opening a Share 
  -->

    <sect2 id="shares_view_opening_share">
      <title>Opening a Share</title>

      <para>&smb4k; provides two possibilities to open a mounted share:</para>
      <itemizedlist>
        <listitem><formalpara><title>Open a share with &konsole;</title>
          <para>You can open the mounted share in &konsole; by selecting the <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>L</keycap></keycombo></shortcut><guimenuitem>Open with Konsole</guimenuitem></menuchoice> action. This is useful if you need to run shell scripts on the share or similar.</para>
        </formalpara></listitem>
        <listitem><formalpara><title>Open a share with the default file manager</title>
          <para>You can open the share in the default file manager (&eg; &dolphin;) by clicking the share icon or selecting the <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>I</keycap></keycombo></shortcut><guimenuitem>Open with File Manager</guimenuitem></menuchoice> action.</para>
        </formalpara></listitem>
      </itemizedlist>
      <note><para>If a share is marked as inaccessible, it cannot be opened.</para></note>
    </sect2>
  </sect1>

<!-- 
      Using Smb4K : The System Tray Widget 
  -->

  <sect1 id="systemtray">
    <title>The System Tray Widget</title>

<!-- 
      Using Smb4K : The System Tray Widget : Location and Usage 
  -->

    <sect2 id="systemtray_location_usage">
      <title>Location and Usage</title>

      <para>When &smb4k; is started, an icon appears in your system tray.</para>

      <screenshot>
        <screeninfo>Screenshot of the system tray widget</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="systemtray_location.png" format="PNG" /></imageobject>
          <textobject><phrase>System tray widget</phrase></textobject>
        </mediaobject>
      </screenshot>

      <para>By left clicking the icon, you can minimize or restore the main window. A right click brings up a popup menu that contains several menu items allowing you to work with the mounted shares, manage or mount your bookmarks, select the profile you want to use and to configure &smb4k; without the need to open the main window.</para>
    </sect2>

<!-- 
      Using Smb4K : The System Tray Widget : Menus and Menu Items 
  -->

    <sect2 id="systemtray_menus">
      <title>Menus and Menu Items</title>

      <para>The <guimenuitem>Mounted Shares</guimenuitem> menu lists all mounted shares and some actions that can be performed on them.</para>

      <screenshot>
        <screeninfo>Screenshot of the Mounted Shares popup menu of the system tray widget</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="systemtray_mounted_shares_menu.png" format="PNG" /></imageobject>
          <textobject><phrase>System tray widget's Mounted Shares menu</phrase></textobject>
        </mediaobject>
      </screenshot>

      <variablelist>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Unmount All</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Unmount all shares at once. Depending on your <link linkend="configuration_page_shares_behavior">settings</link>, &smb4k; attempts to unmount either only those shares that are owned by you or all that are listed.</para>
          </listitem>
        </varlistentry>
      </variablelist>
    
      <para>For each mounted share you can open a submenu that contains the following entries. For further information read <link linkend="shares_view_actions_popup_menu">here</link>.</para>

      <variablelist>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Unmount</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Unmount the share.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Add Bookmark</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Add the selected share to the bookmarks.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Synchronize</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Synchronize the mounted share with a local copy or vice versa. For further information read <link linkend="shares_view_actions_popup_menu">here</link> and <link linkend="shares_view_synchronization">here</link>.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Open with &konsole;</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Open the base folder of the share in &konsole;.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Open with File Manager</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Open the contents of the share in the default file manager (&eg; &dolphin;).</para>
          </listitem>
        </varlistentry>
      </variablelist>

      <para>The <guimenuitem>Bookmarks</guimenuitem> menu contains all your bookmarks organized according to the structure you gave them (see also <link linkend="bookmarks_adding">here</link> and <link linkend="bookmarks_editor">here</link>).</para>

      <screenshot>
        <screeninfo>Screenshot of the Bookmarks menu of the system tray widget</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="systemtray_bookmarks_menu.png" format="PNG" /></imageobject>
          <textobject><phrase>System tray widget's Bookmarks menu</phrase></textobject>
        </mediaobject>
      </screenshot>

      <para>Its layout is as described <link linkend="bookmarks_menu">here</link> except that the <guimenuitem>Add Bookmark</guimenuitem> menu item is not present.</para>
      <para>In the <guimenuitem>Profiles</guimenuitem> menu, all <link linkend="profiles">defined</link> profiles are listed:</para>

      <screenshot>
        <screeninfo>Screenshot of the Profiles menu of the system tray widget</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="systemtray_profiles_menu.png" format="PNG" /></imageobject>
          <textobject><phrase>System tray widget's Profiles menu</phrase></textobject>
        </mediaobject>
      </screenshot>

      <para>You can activate a profile by clicking it. The profiles can be <link linkend="profiles">managed</link> via the <link linkend="configuration_profiles">configuration dialog</link>.</para>
      <para>The other menu entries are:</para>

      <variablelist>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Open Mount Dialog</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Open the <link linkend="network_neighborhood_browser_mounting">dialog</link> for "manual" mounts.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Configure &smb4k;...</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Open the configuration dialog. See <link linkend="configuration">here</link> for a full list of available settings.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Minimize | Restore</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Hide (minimize) or show (restore) the main window. Which text is shown depends on the state of the main window.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>Q</keycap></keycombo></shortcut><guimenuitem>Quit</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Quit the application.</para>
          </listitem>
        </varlistentry>
      </variablelist>
    </sect2>
  </sect1>

<!-- 
      Using Smb4K : The Plasmoid 
-->

<!--<sect1 id="plasmoid">
  <title>The &plasmoid;</title>

  <para>&smb4k; comes with a &plasmoid; that can be added as a widget to the desktop or the panel. It consists of four views that are arranged as tabs: <guilabel>Network Neighborhood</guilabel>, <guilabel>Mounted Shares</guilabel>, <guilabel>Bookmarks</guilabel>, and <guilabel>Profiles</guilabel>.</para>

  <screenshot>
    <screeninfo>Screenshot of the plasmoid on the desktop</screeninfo>
    <mediaobject>
      <imageobject><imagedata fileref="plasmoid.png" format="PNG" /></imageobject>
      <textobject><phrase>Screenshot of the plasmoid</phrase></textobject>
    </mediaobject>
  </screenshot>-->

<!-- 
      Using Smb4K : The Plasmoid : Network Neighborhood Tab 
-->

<!--  <sect2 id="plasmoid_network_neighborhood">
    <title>Network Neighborhood Tab</title>

    <para>On the <guilabel>Network Neighborhood</guilabel> page the network items are arranged in a list view:</para>

    <screenshot>
      <screeninfo>Screenshot of the plasmoid's network neighborhood tab</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="plasmoid_network_neighborhood_tab.png" format="PNG" /></imageobject>
        <textobject><phrase>Bookmarks tab of the plasmoid</phrase></textobject>
      </mediaobject>
    </screenshot>

    <para>By clicking an entry you either enter the level below (&eg; clicking a workgroup or domain item will show a list of all hosts belonging to it), mount the selected share or invoke the print dialog. To go one level up again, you need to click the <guibutton>Up</guibutton> button in the toolbar.</para>
    <para>For hosts and shares, to the right of the name of the network item some action buttons are arranged. For hosts, there is one button with that you can open the <link linkend="network_neighborhood_browser_defining_custom_options">Custom Options</link> dialog. For shares, there is an additional button with that you can <link linkend="bookmarks_adding">add the share to the bookmarks</link>. The action buttons are transparent by default and change to opaque when you move your mouse over them. By left clicking you initiate the respective action.</para>
    <para>Besides the already mentioned <guibutton>Up</guibutton> button, the toolbar contains three more entries: <guibutton>Rescan</guibutton>, <guibutton>Abort</guibutton> and <guibutton>Mount Dialog</guibutton>. With them you can do a rescan, abort any running action or open the <link linkend="network_neighborhood_browser_mounting">dialog for "manual" mounts</link>.</para>
    <note><para>In the current development state, the &plasmoid; is not able to handle the <link linkend="configuration_network_periodic_scanning">automatic scanning feature</link>, &smb4k; provides. Funny things will happen, if you use it with the &plasmoid; and will probably render it mostly unusable.</para></note>
  </sect2>-->

<!-- 
      Using Smb4K : The Plasmoid : Mounted Shares Tab 
-->

<!--  <sect2 id="plasmoid_mounted_shares">
    <title>Mounted Shares Tab</title>

    <para>On the <guilabel>Mounted Shares</guilabel> page all mounted shares are listed:</para>

    <screenshot>
      <screeninfo>Screenshot of the plasmoid's mounted shares tab</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="plasmoid_mounted_shares_tab.png" format="PNG" /></imageobject>
        <textobject><phrase>Bookmarks tab of the plasmoid</phrase></textobject></mediaobject>
    </screenshot>

    <para>Right to the name of the share and its host, two action buttons are arranged. The first one is for <link linkend="bookmarks_adding">adding a bookmark</link> and the second for unmounting the share. The action buttons are transparent by default and change to opaque when you move your mouse over them. By left clicking you initiate the respective action.</para>
    <para>The toolbar only contains the <guibutton>Unmount All</guibutton> action that lets you unmount all shares at once.</para>
  </sect2>-->

<!-- 
      Using Smb4K : The Plasmoid : Bookmarks Tab 
-->

<!--  <sect2 id="plasmoid_bookmarks">
    <title>Bookmarks Tab</title>

    <para>On the <guilabel>Bookmarks</guilabel> page, the bookmark groups and bookmarks defined for the currently active profile are listed:</para>
    
    <screenshot>
      <screeninfo>Screenshot of the plasmoid's bookmarks tab</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="plasmoid_bookmarks_tab.png" format="PNG" /></imageobject>
        <textobject><phrase>Bookmarks tab of the plasmoid</phrase></textobject>
      </mediaobject>
    </screenshot>

    <para>Bookmarked shares can be mounted by left clicking the respective bookmark. Bookmark groups can be entered the same way.</para>
    <para>To edit or remove the bookmarks, you can press the <guibutton>Edit</guibutton> action button in the toolbar to open the <link linkend="bookmarks_editor">Bookmark Editor</link>. To get back to the toplevel the <guibutton>Back</guibutton> button is used.</para>
  </sect2>-->

<!-- 
      Using Smb4K : The Plasmoid : Profiles Tab 
-->

<!--  <sect2 id="plasmoid_profiles">
    <title>Profiles Tab</title>
  
    <para>On the <guilabel>Profiles</guilabel> page, all defined profiles are listed. The currently active one is marked with an appended <guilabel>(active)</guilabel> label.</para>
  
    <screenshot>
      <screeninfo>Screenshot of the plasmoid's profiles tab</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="plasmoid_profiles_tab.png" format="PNG" /></imageobject>
        <textobject><phrase>Profiles tab of the plasmoid</phrase></textobject>
      </mediaobject>
    </screenshot>
  
    <para>You can activate a certain profile by clicking it.</para>
    <para>Profiles can be <link linkend="profiles">managed</link> via the <link linkend="configuration_profiles">configuration dialog</link>.</para>
  </sect2>
</sect1>-->

<!-- 
      Using Smb4K : Bookmarks 
  -->

  <sect1 id="bookmarks">
    <title>Bookmarks</title>

<!--
      Using Smb4K : Bookmarks : Adding Bookmarks
  -->
  
    <sect2 id="bookmarks_adding">
      <title>Adding Bookmarks</title>

      <para>You can add bookmarks to your favorite shares from within the <link linkend="network_neighborhood_browser">network neighborhood browser</link><!-- Remove the following in favor of the commented part --> and the <link linkend="shares_view">shares view</link><!--, the <link linkend="shares_view">shares view</link> and the <link linkend="plasmoid">&plasmoid;</link>-->. In the dock widgets of the main window, this is done by selecting one or multiple shares and clicking the <menuchoice><guimenuitem>Add Bookmark</guimenuitem></menuchoice> action. <!--In the &plasmoid;, you click the respective bookmark action next to the item's name.--> A dialog will then pop up where you can add a label and/or assign a group to the bookmark.</para>

      <screenshot>
        <screeninfo>Screenshot of the bookmarks addition dialog</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="bookmarks_add_bookmark_dialog.png" format="PNG" /></imageobject>
          <textobject><phrase>Bookmarks addition dialog</phrase></textobject>
        </mediaobject>
      </screenshot>

      <para>Especially adding a group may help you to organize the bookmarks. In the bookmark menu, all bookmarks belonging to one group will be arranged in a submenu with the group entry as parent (see <link linkend="bookmarks_menu">below</link>).</para>
      <para>The label can be any text describing the share. In case you define a label, it will be displayed in the bookmarks menu instead of the UNC by default. If you want to change this behavior, you can do so in the <link linkend="configuration_user_interface_misc_bookmarks">configuration dialog</link>.</para>
    </sect2>
    
<!--
      Using Smb4K : Bookmarks : Accessing and Managing Bookmarks
  -->

    <sect2 id="bookmarks_menu">
      <title>Accessing and Managing Bookmarks</title>

      <para>In the main window, the bookmarks can be accessed and managed through the <guilabel>Bookmarks</guilabel> menu:</para>

      <screenshot>
        <screeninfo>Screenshot of the bookmark popup menu</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="bookmarks_popup_menu.png" format="PNG" /></imageobject>
          <textobject><phrase>Bookmark popup menu</phrase></textobject>
        </mediaobject>
      </screenshot>

      <para>In the menu there are two static items available:</para>

      <variablelist>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Edit Bookmarks</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Open the <link linkend="bookmarks_editor">bookmark editor</link>. This action is disabled if there are no bookmarks.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>B</keycap></keycombo></shortcut>
              <guimenuitem>Add Bookmark</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Add one or several bookmarks. At least one share has to be selected to enable this action.</para>
          </listitem>
        </varlistentry>
      </variablelist>

      <para>In case you have not defined any groups, there is a third item:</para>

      <variablelist>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Mount All Bookmarks</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Mount all top-level bookmarks at once. It is disabled if all bookmarked shares are mounted.</para>
          </listitem>
        </varlistentry>
      </variablelist>

      <para>All other entries are either group submenus or shares that do not belong to a group. All entries are listed alphabetically and the bookmarks may either appear with their UNC address or descriptive label. By clicking a bookmark, the respective share is mounted. If a bookmarked share is mounted on the system, the bookmark entry is disabled.</para>
      <para>For each group there is a submenu. It contains all bookmarks belonging to the group and a <guimenuitem>Mount All Bookmarks</guimenuitem> menu item. The latter one can be used to mount all bookmarks in that submenu at once.</para>
      <para>In the system tray widget, there is an identical <guilabel>Bookmarks</guilabel> <link linkend="systemtray_menus">submenu</link> except that the <guilabel>Add Bookmark</guilabel> entry is missing. <!--The plasmoid provides a <guilabel>Bookmarks</guilabel> <link linkend="plasmoid_bookmarks">tab</link> where all bookmarks are arranged in a similar way as in the bookmark menu.--> The bookmark groups and the bookmarks are listed in the view. Bookmarked shares can be mounted by clicking the respective entry. In the tool bar two actions are present: <guimenuitem>Back</guimenuitem> and <guimenuitem>Edit</guimenuitem>. By clicking <guimenuitem>Back</guimenuitem> you can get back to the top level if you entered a group folder. The <guimenuitem>Edit</guimenuitem> action will open the <link linkend="bookmarks_editor">bookmark editor</link>.</para>
    </sect2>
    
<!--
      Using Smb4K : Bookmarks : Editing Bookmarks
  -->

    <sect2 id="bookmarks_editor">
      <title>Editing Bookmarks</title>

      <para>The bookmarks may be edited or removed via the bookmark editor. It can be opened by clicking the <guimenuitem>Edit Bookmarks</guimenuitem> entry in the <guilabel>Bookmarks</guilabel> menu<!-- or the <guimenuitem>Edit</guimenuitem> action in the <guilabel>Bookmarks</guilabel> tab of the &plasmoid;-->.</para>
    
      <screenshot>
        <screeninfo>Screenshot of the bookmark editor</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="bookmarks_editor.png" format="PNG" /></imageobject>
          <textobject><phrase>Bookmark editor</phrase></textobject>
        </mediaobject>
      </screenshot>

      <para>In the tree view, the bookmarks are arranged according to the groups they belong to. Bookmarks without groups are located at the top level. To rearrange bookmarks, the tree view offers drag and drop capabilities, so that you can move bookmarks around using the mouse.</para>
      <para>If you want to edit a bookmark, you can do so by selecting it. The stored label, login, IP address and group name appear in the input widgets and become editable. In most cases, you do not need to touch the IP address and the login, because &smb4k; stored the correct values at the time you bookmarked the share. However, if the server got a different IP address (&eg; because DHCP is used on your local network) or your login changed, these entries should be adjusted. With the label you can give each bookmark a custom description. It will be used for display <emphasis>instead</emphasis> of the UNC address, but this can be changed in the <link linkend="configuration_user_interface_misc_bookmarks">configuration dialog</link>. The group entry, finally, helps you to organize your bookmarks. Especially if you use &eg; your notebook at home and at work, and you do not want to use <link linkend="profiles">profiles</link>, it might be a good idea to create two groups "Home" and "Work" and save the bookmarks accordingly.</para>
      <para>The tree view also offers a popup menu containing the following three actions. They can be used to add groups or remove groups and/or bookmarks.</para>

      <screenshot>
        <screeninfo>Screenshot of the popup menu of the bookmark editor</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="bookmarks_editor_popup_menu.png" format="PNG" /></imageobject>
          <textobject><phrase>Popup menu of the bookmark editor</phrase></textobject>
        </mediaobject>
      </screenshot>

      <variablelist>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Add Group</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Add a bookmark group. After you created a group, you can move bookmarks to it.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Remove</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Remove a selected bookmark or group. In case of a group, all bookmarks stored under that group are also removed.</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guimenuitem>Clear Bookmarks</guimenuitem></menuchoice>
          </term>
          <listitem>
            <para>Remove all bookmarks from the tree view including all groups.</para>
          </listitem>
        </varlistentry>
      </variablelist>
      <para>After you finished editing, the changes can be committed by clicking the <guibutton>OK</guibutton> button.</para>
    </sect2>
  </sect1>

<!-- 
      Using Smb4K : Profiles 
  -->

  <sect1 id="profiles">
    <title>Profiles</title>
    
    <para>&smb4k; offers the use of different profiles. They are intended for better handling of different network neighborhoods, &eg; if you are using your laptop at home and at work.</para>
    <para>By default, the use of different profiles is disabled and a default profile is used: one profile for everything. Most users won't have to change anything, because the default behavior satisfies their needs completely. However, for some users this feature might be very useful.</para>
  
<!-- 
      Using Smb4K : Profiles : Enabling and Managing Profiles 
  -->
  
    <sect2 id="profiles_enable">
      <title>Enabling and Managing Profiles</title>
      <para>The use of different profiles can be enabled in the <link linkend="configuration_profiles">configuration dialog</link>. The first profile in the list, most likely the <guilabel>Home</guilabel> profile, is picked to be the active profile. You can also enable the profile migration assistant.</para>
      <para>Two profiles are pre-defined, <guilabel>Home</guilabel> and <guilabel>Work</guilabel>, but you can define as many profiles as you want. A new profile is added by entering its name into the edit line on the <guibutton>Profiles</guibutton> configuration page and clicking <guibutton>Add</guibutton> afterwards.</para>
      <screenshot>
        <screeninfo>Screenshot of the Profiles configuration page (add profile)</screeninfo>
        <mediaobject>
          <imageobject>
            <imagedata fileref="configuration_page_profiles_add_profile.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>Profiles configuration page (add profile)</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
      <para>If you want to rename a profile, just click it and edit the name edit line. Clicking <guibutton>Add</guibutton> will update the name in the list view. All stored settings will be migrated seamlessly (without the use of the migration assistant). A profile can be removed by selecting it in the list view and clicking <guibutton>Remove</guibutton>. There is also the possibility to change the order of the profiles with the <guibutton>Move Up</guibutton> and <guibutton>Move Down</guibutton> buttons.</para>
      <para>In case you enabled the use of the migration assistant, it is always launched when you remove a profile or when you enable/disable the use of profiles. It provides the possibility to migrate all relevant settings</para>
      <itemizedlist>
        <listitem><para>of a profile that is to be removed to another one</para></listitem>
        <listitem><para>of the default profile to a specific other profile</para></listitem>
        <listitem><para>of all profiles back to the default profile</para></listitem>
      </itemizedlist>
      <para>The following screenshot shows exemplarily the profile migration assistant after you enabled the use of profiles:</para>
      <screenshot>
        <screeninfo>Screenshot of the profile migration assistant</screeninfo>
        <mediaobject>
          <imageobject>
            <imagedata fileref="configuration_page_profiles_migration_assistant.png" format="PNG" />
          </imageobject>
          <textobject>
            <phrase>Profile Migration Assistant</phrase>
          </textobject>
        </mediaobject>
      </screenshot>
      <para>Under <guilabel>Old Profile</guilabel> the old profile (<guilabel>&lt;Default Profile&gt;</guilabel> in this case) is listed. Under <guilabel>New Profile</guilabel> you can choose the profile where the settings should be migrated to from a drop-down menu. Clicking the <guibutton>OK</guibutton> button migrates the settings, clicking <guibutton>Cancel</guibutton> cancels the action.</para>
      <note><para>In order to use the migration assistant when you enable the use of profiles the first time, you need to enable its use at the same time you enable the use of profiles.</para></note>
    </sect2>
  
<!-- 
      Using Smb4K : Profiles : Activating a Profile 
  -->
  
    <sect2 id="profiles_activate_profile">
      <title>Activating a Profile</title>
      <para>By default, the first profile in the list is set active when you enable the use of profiles. The active profile can be changed in the <guimenu>Profiles</guimenu> menu of the main window or the system tray widget<!-- or on the <guilabel>Profiles</guilabel> page of the plasmoid-->.</para>
      <para>When a profile is activated, several things happen:</para>
      <itemizedlist>
        <listitem><para>All currently mounted shares are unmounted and are scheduled for remount.</para></listitem>
        <listitem><para>All shares are remounted that were previously mounted under the activated profile.</para></listitem>
        <listitem><para>The bookmarks of this profile are loaded.</para></listitem>
        <listitem><para>The custom options of this profile are loaded.</para></listitem>
      </itemizedlist>
      <para>So, don't be surprised when things change when you selected a different profile ...</para>
    </sect2>
  </sect1>

<!-- 
      Using Smb4K : Notifications 
  -->

  <sect1 id="notifications">
    <title>Notifications</title>
  
<!-- 
      Using Smb4K : Notifications : Default Behavior
  -->
  
    <sect2 id="notifications_default_behavior">
      <title>Default Behavior</title>
      <para>Normal events like mounting and unmounting of a share as well as warnings and errors are reported to the user via system notifications. By default, when the user is notified about a normal event, a notification pops up silently. With warnings and errors also a sound is played. The screenshot below shows the notification that pops up after a share was mounted.</para>
      <screenshot>
        <screeninfo>Screenshot of the notification after mounting a share</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="notification_share_mounted.png" format="PNG" /></imageobject>
          <textobject><phrase>Notification after mounting a share</phrase></textobject>
        </mediaobject>
      </screenshot>
      <para>The default behavior of each notification can be changed via the <link linkend="notifications_manage">&systemsettings;</link>.</para>
    </sect2>

<!-- 
      Using Smb4K : Notifications : Managing Notifications 
  -->

    <sect2 id="notifications_manage">
      <title>Managing Notifications</title>
      <para>&smb4k; uses notifications to inform the user about events, warnings and errors. They can be managed via the &systemsettings;. To modify the behavior of one or all notifications, open the <guibutton>Application and System Notifications</guibutton> module and choose the <guibutton>Manage Notifications</guibutton> entry. In the tab <guilabel>Applications</guilabel> select the <guilabel>Advanced Network Neighborhood Browser</guilabel> entry from the drop-down menu:</para>
      <screenshot>
        <screeninfo>Screenshot of the systemsettings notification module</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="systemsettings_manage_notifications.png" format="PNG" /></imageobject>
          <textobject><phrase>Systemsettings notification module</phrase></textobject>
        </mediaobject>
      </screenshot>
      <para>All available notifications are shown in the list view and can be edited, enabled and disabled according to your liking.</para>
    </sect2>
  </sect1>

<!-- 
      Using Smb4K : Special Remarks 
-->

  <sect1 id="special_remarks">
    <title>Special Remarks</title>
  
<!-- 
      Using Smb4K : Special Remarks : Samba Security Fixes of April 12, 2016 
-->
   
    <sect2 id="special_remarks_samba_security_updates">
      <title>Remarks Regarding the Samba Security Fixes of April 12, 2016</title>
    
      <para>On April 12, 2016 the Samba team released security fixes for the <ulink url="http://www.badlock.org">Badlock bug</ulink>. Unfortunately, they also introduced a regression that causes the <command>net</command> command to fail on many systems when querying remote hosts. If you experience this issue, you can add two lines to the [global] section of your <filename>smb.conf</filename> file to make browsing work again:</para>
  
<programlisting>[global]
...
client max protocol = SMB3
client ipc max protocol = NT1
...</programlisting>
  
      <para>Unfortunately, this fix for &smb4k; breaks the possibility to connect to the network neighborhood with &dolphin; and maybe also other programs.</para>
    </sect2>
  
<!-- 
      Using Smb4K : Special Remarks : Remarks for FreeBSD Users 
-->
  
    <sect2 id="special_remarks_freebsd">
      <title>Remarks for FreeBSD Users</title>

      <sect3 id="special_remarks_freebsd_mounting">
        <title>Mounting of Shares (Smb4K >= 1.2.0)</title>

        <para>Since version 1.2.0, the password for a share is directly passed to <command>mount_smbfs</command>, so that the <filename>~/.nsmbrc</filename> is not necessary anymore for mounting to work. Moreover, &smb4k; will not write any data to that file anymore.</para>
      </sect3>
    </sect2>

<!-- 
      Using Smb4K : Special Remarks : Remarks for NetBSD Users 
-->

    <sect2 id="special_remarks_netbsd">
      <title>Remarks for NetBSD Users</title>

      <para>NetBSD users should stick to the &kde;4-based &smb4k; for now, since the &plasma; desktop is not available in <ulink url="http://www.pkgsrc.org">pkgsrc</ulink> yet.</para>
    </sect2>
  </sect1>
</chapter>


<!-- 
      Configuring Smb4K 
-->

<chapter id="configuration">
  <title>Configuring &smb4k;</title>

  <para>This section describes the settings that are available to configure &smb4k;. To open the configuration dialog, you have to click the <link linkend="mainwindow_overview"><guimenuitem>Configure &smb4k;...</guimenuitem></link> menu item.</para>

<!-- 
      Configuring Smb4K : User Interface 
  -->

  <sect1 id="configuration_user_interface">
    <title>User Interface</title>

    <para>With the options located here you can change the appearance and behavior of several dialogs and widgets. Please note that if you want to change the appearance of the main window you will find additional options under <guimenu>Settings</guimenu> in the <link linkend="mainwindow_overview">menubar</link>.</para>
    <screenshot>
      <screeninfo>Screenshot of the "User Interface" configuration tab</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="configuration_page_user_interface.png" format="PNG" /></imageobject>
        <textobject><phrase>The "Appearance" configuration tab</phrase></textobject>
      </mediaobject>
    </screenshot>

<!-- 
      Configuring Smb4K : User Interface : Network Neighborhood 
  -->

    <sect2 id="configuration_user_interface_network">
      <title>Network Neighborhood</title>

      <sect3 id="configuration_user_interface_network_behavior">
        <title>Behavior</title>
  
        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Automatically expand domains and hosts</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Automatically expand domain and host items when a list of associated network items (domain members or shares) is added or updated. Please note that a domain or host item will always be expanded when you execute it.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_user_interface_network_columns">
        <title>Columns</title>
  
        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Show the type of the share</guibutton></menuchoice>
            </term>
            <listitem>
              <para>The type of the shares is shown (i. e. Disk, Printer, or IPC).</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Show the IP address of the server</guibutton></menuchoice>
            </term>
            <listitem>
              <para>The IP address of the remote servers is shown.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Show the comment</guibutton></menuchoice>
            </term>
            <listitem>
              <para>The comment of a remote server or share is shown.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_user_interface_network_tooltips">
        <title>Tooltips</title>
  
        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Show a tooltip with information about the network item</guibutton></menuchoice>
            </term>
            <listitem>
              <para>A tooltip will be shown when you move the mouse pointer over an item in the network neighborhood browser. It contains information about the network item such as the workgroup or domain name, host name, comment, type, &etc;</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>
    </sect2>

<!-- 
      Configuring Smb4K : User Interface : Mounted Shares 
  -->

    <sect2 id="configuration_user_interface_shares">
      <title>Mounted Shares</title>
    
      <sect3 id="configuration_user_interface_shares_view">
        <title>View</title>
  
        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>View mode of the shares view</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Define the view mode of the shares view.</para>
              <para>The following modes are defined:</para>
              <variablelist>
                <varlistentry>
                  <term>
                    <menuchoice><guibutton>Icon View</guibutton></menuchoice>
                  </term>
                  <listitem>
                    <para>The icon view mode</para>
                  </listitem>
                </varlistentry>
                <varlistentry>
                  <term>
                    <menuchoice><guibutton>List View</guibutton></menuchoice>
                  </term>
                  <listitem>
                    <para>The list view mode</para>
                  </listitem>
                </varlistentry>
              </variablelist>
              <para>Default: <guibutton>Icon View</guibutton></para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_user_interface_shares_tooltips">
        <title>Tooltips</title>
  
        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Show a tooltip with information about the share</guibutton></menuchoice>
            </term>
            <listitem>
              <para>A tooltip will be shown if you move the mouse pointer over an item in the shares view. It contains information about the underlying item such as the share name, UNC address, mount point, owner and group, login (CIFS file system, &Linux; only), disk usage, &etc;</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>
    </sect2>

<!-- 
      Configuring Smb4K : User Interface : Miscellaneous Settings 
  -->

    <sect2 id="configuration_user_interface_misc">
      <title>Miscellaneous Settings</title>

      <sect3 id="configuration_user_interface_misc_bookmarks">
        <title>Bookmarks</title>
  
        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Show custom bookmark label if available</guibutton></menuchoice>
            </term>
            <listitem>
              <para>The custom description (label) of the bookmark is shown. It can be defined in the <link linkend="bookmarks_editor">bookmark editor</link>.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>
    </sect2>
  </sect1>

<!-- 
      Configuring Smb4K : Network 
-->

  <sect1 id="configuration_network">
    <title>Network</title>

    <para>The options located here can be used to change the lookup method for the browse list, to make &smb4k; send authentication information when querying the workgroup master browsers, to modify the behavior when previewing or looking up remote shares, and to enable periodic scanning as well as the Wake-On-LAN features. If you want to adjust the behavior of Samba programs, see the <link linkend="configuration_page_samba">Samba</link> section.</para>

    <screenshot>
      <screeninfo>Screenshot of the "Network" configuration tab</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="configuration_page_network.png" format="PNG" /></imageobject>
        <textobject><phrase>The "Network" configuration tab</phrase></textobject>
      </mediaobject>
    </screenshot>

<!-- 
      Configuring Smb4K : Network : General Settings 
-->

    <sect2 id="configuration_network_general">
      <title>General Settings</title>

      <sect3 id="configuration_network_browselist">
      <title>Browse List</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Scan the network neighborhood for available workgroups and domains</guibutton></menuchoice>
            </term>
            <listitem>
              <para>&smb4k; will search for all available master browsers on the network by using <ulink url="man:/nmblookup"><citerefentry><refentrytitle>nmblookup</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>. This is the default method and it is very reliable in finding all workgroups and domains of your network neighborhood. However, it suffers a few shortcomings like poor unicode support (&eg; umlauts might be replaced by dots).</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Query the current workgroup master browser</guibutton></menuchoice>
            </term>
            <listitem>
              <para>The current master browser of your workgroup or domain is looked up and queried for the browse list. If some of the workgroup names of your network neighborhood contain umlauts or other special characters, you might want to try this method, since unicode is supported. However, sometimes outdated workgroup master browsers might be returned.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Query this custom master browser</guibutton></menuchoice>
            </term>
            <listitem>
              <para>The master browser entered in the text box will be queried to retrieve the browse list. It can be specified by using either its NetBIOS name or its IP address. This option might be of use if you have an uncommonly configured network neighborhood.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
        
        <note>
          <para>The <guibutton>Scan these broadcast areas</guibutton> method was removed prior to the release of &smb4k; 2.0.0, because it was buggy.</para>
        </note>
      </sect3>

      <sect3 id="configuration_network_master_authentication">
        <title>Authentication</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>The master browsers require authentication to return the browse list</guibutton></menuchoice>
            </term>
            <listitem>
              <para>If the workgroup master browsers require authentication to return the browse list, you need to check this button. This may be the case for example with some NAS devices. This setting is rarely needed and might even cause a master browser to return an empty browse list.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_network_general_behavior">
        <title>Behavior</title>
      
        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Lookup method for IP addresses</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Define the method that is to be used to detect the IP addresses of the hosts. By default, <ulink url="man:/nmblookup"><citerefentry><refentrytitle>nmblookup</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> is used.</para>
              <para>The following options are available:</para>
              <variablelist>
                <varlistentry>
                  <term>
                    <menuchoice><guibutton>Use nmblookup command</guibutton></menuchoice>
                  </term>
                  <listitem>
                    <para>Use the <ulink url="man:/nmblookup"><citerefentry><refentrytitle>nmblookup</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> command.</para>
                  </listitem>
                </varlistentry>
                <varlistentry>
                  <term>
                    <menuchoice><guibutton>Use net command</guibutton></menuchoice>
                  </term>
                  <listitem>
                    <para>Use the <ulink url="man:/net"><citerefentry><refentrytitle>net</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> command.</para>
                  </listitem>
                </varlistentry>
              </variablelist>
              <para>Default: <guibutton>Use nmblookup command</guibutton></para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Detect printer shares</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Printer shares are detected.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Detect hidden shares</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Hidden shares are detected. Hidden shares are ending with a $ sign, e.g. Musik$ or IPC$.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>    
          <varlistentry>
            <term>
              <menuchoice><guibutton>Preview hidden files and directories</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Show all files and directories including the hidden ones when opening a share's contents in the preview dialog.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>
    </sect2>

<!-- 
      Configuring Smb4K : Network : Advanced Settings 
-->

    <sect2 id="configuration_network_advanced">
      <title>Advanced Settings</title>
    
      <sect3 id="configuration_network_periodic_scanning">
        <title>Periodic Scanning</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Scan the network neighborhood periodically</guibutton></menuchoice>
            </term>
            <listitem>
              <para>If you want to enable periodic scanning of the network neighborhood, you need to check this button. With this method, all available network items are looked up, &ie; workgroups and domains, servers and shares.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Interval between scans</guibutton></menuchoice>
            </term>
            <listitem>
              <para>If periodic scanning is enabled, this is the time in minutes that elapses until a new scan is triggered.</para>
              <para>Default: 5 min</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_network_wake_on_lan">
        <title>Wake-On-LAN</title>

        <para>To be able to use the Wake-On-LAN capability of &smb4k;, you have to enable the setting in this section. The hosts that should to be woken up have to be defined through the <link linkend="network_neighborhood_browser_defining_custom_options">custom options dialog</link>.</para>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Enable Wake-On-LAN features</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Enable Wake-on-LAN (WOL) features. Wake-On-LAN is an ethernet computer networking standard that allows a computer to be turned on or woken up by a network message. Smb4K uses a magic package send via a UDP socket to wake up remote servers. If you want to take advantage of the Wake-On-LAN feature, you need to enable this option.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Waiting time</guibutton></menuchoice>
            </term>
            <listitem>
              <para>This is the waiting time in seconds between the sending of the magic Wake-On-LAN packages and the scanning of the network neighborhood or the mounting of a share.</para>
              <para>Default: 5 s</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>
    </sect2>
  </sect1>

<!-- 
      Configuring Smb4K : Shares 
-->

  <sect1 id="conmfiguration_page_shares">
    <title>Shares</title>

    <para>These options determine where &smb4k; will mount the remote shares and how it behaves &eg; on start-up and exit. If you want to configure the mount options, please see the <link linkend="configuration_page_samba">Samba</link> section.</para>

    <screenshot>
      <screeninfo>Screenshot of the "Shares" configuration tab</screeninfo>
      <mediaobject>
        <imageobject>
          <imagedata fileref="configuration_page_shares.png" format="PNG" />
        </imageobject>
        <textobject>
          <phrase>The "Shares" configuration tab</phrase>
        </textobject>
      </mediaobject>
    </screenshot>

<!-- 
      Configuring Smb4K : Shares : Directories 
-->

    <sect2 id="conmfiguration_page_shares_directories">
      <title>Directories</title>

      <variablelist>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Mount prefix</guibutton></menuchoice>
          </term>
          <listitem>
            <para>This is the base folder (mount prefix) where &smb4k; will mount the remote shares. It can be changed by using the &URL; requester (Click the button with the folder icon.) or by directly entering the new path into the text box. Path variables like <envar>$HOME</envar> are recognized.</para>
            <para>Default: <filename class="directory">$HOME/smb4k/</filename></para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Force generated subdirectories to be lower case</guibutton></menuchoice>
          </term>
          <listitem>
            <para>All subdirectories that are created by &smb4k; below the mount prefix will be lower case.</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
      </variablelist>
    </sect2>

<!-- 
      Configuring Smb4K : Shares : Behavior 
-->

    <sect2 id="configuration_page_shares_behavior">
      <title>Behavior</title>

      <variablelist>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Remount shares</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Remount all your shares that were mounted when you exited the program or changed a profile. If the remounting of a share fails, Smb4K will retry the next time it is started. Shares that were mounted by other users are ignored.</para>
            <note><para>This setting does not affect the automatic remounting of shares when your computer woke up from a sleep state.</para></note>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guilabel>Number of remount attempts</guilabel></menuchoice>
          </term>
          <listitem>
            <para>Set the number of attempts that are made to remount shares before Smb4K gives up.</para>
            <para>Default: 1</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guilabel>Interval between remount attempts</guilabel></menuchoice>
          </term>
          <listitem>
            <para>Set the time that elapses between attempts to remount shares.</para>
            <para>Default: 5 min</para>
          </listitem>
        </varlistentry>  
        <varlistentry>
          <term>
            <menuchoice><guibutton>Unmount all personal shares on exit</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Unmount all shares that belong to you when the program exits. Shares that are owned by other users are ignored.</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Force the unmounting of inaccessible shares</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Force the unmounting of inaccessible shares (&Linux; only). In case a share is inaccessible, a lazy unmount is performed. Before the actual unmounting is done, a warning dialog is shown asking to approve the unmount.</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Allow the unmounting of shares that are owned by other users</guibutton></menuchoice>
          </term>
          <listitem>
            <para>This option will allow you to unmount shares that were mounted by other users.</para>
            <para>USE WITH EXTREME CAUTION!</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Detect all shares that are mounted on the system</guibutton></menuchoice>
          </term>
          <listitem>
            <para>You will not only see the shares that were mounted and are owned by you, but also all other mounts using the SMBFS (FreeBSD) and CIFS (&Linux;) file system that are present on the system.</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>  
      </variablelist>
    </sect2>
  </sect1>

<!-- 
      Configuration: Authentication 
-->

  <sect1 id="configuration_page_authentication">
    <title>Authentication</title>

    <para>Here you can change the settings affecting the authentication.</para>

    <screenshot>
      <screeninfo>Screenshot of the "Authentication" configuration page</screeninfo>
      <mediaobject>
        <imageobject>
          <imagedata fileref="configuration_page_authentication.png" format="PNG" />
        </imageobject>
        <textobject>
          <phrase>The "Authentication" configuration page</phrase>
        </textobject>
      </mediaobject>
    </screenshot>

<!-- 
      Configuring Smb4K : Authentication : General Settings
-->

    <sect2 id="configuration_page_authentication_general">
      <title>General Settings</title>
    
      <sect3 id="configuration_page_authentication_general_storage">
        <title>Password Storage</title>
        
        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Save logins in a wallet</guibutton></menuchoice>
            </term>
            <listitem>
              <para>The login names and passwords are stored in a subfolder named <filename role="directory">Smb4K</filename> of the current network wallet (default: "kdewallet"). The advantage of this method is, that the authentication data is stored permanently and encrypted on your hard drive. You only have to provide it once and the next time it is needed, &smb4k; will read it from the wallet. If you uncheck this option, the authentication data won't be stored at all.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_authentication_general_default">
        <title>Default Login</title>
        
        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Use a default login</guibutton></menuchoice>
            </term>
            <listitem>
              <para>The default login is used by default to authenticate to the servers in your network neighborhood. If you enable this feature, a password dialog pops up, where you can provide the default login information.</para>
              <screenshot>
                <screeninfo>Screenshot of the default login input dialog</screeninfo>
                <mediaobject>
                  <imageobject><imagedata fileref="dialog_default_login.png" format="PNG" /></imageobject>
                  <textobject><phrase>The default login input dialog</phrase></textobject>
                </mediaobject>
              </screenshot>
              <para>You have to fill in at least the user name. Empty passwords are supported.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>
    </sect2>

<!-- 
      Configuring Smb4K : Authentication : Wallet Entries 
-->

    <sect2 id="configuration_page_authentication_wallet_entries">
      <title>Wallet Entries</title>
      
      <para>The <guilabel>Wallet Entries</guilabel> tab contains an editor with that you can modify or remove existing wallet entries.</para>
      <screenshot>
        <screeninfo>Screenshot of the wallet entries editor</screeninfo>
        <mediaobject>
          <imageobject><imagedata fileref="configuration_page_authentication_wallet_entries.png" format="PNG" /></imageobject>
          <textobject><phrase>The wallet entries editor</phrase></textobject>
        </mediaobject>
      </screenshot>
      <para>Before you can edit the wallet entries, you have to load them from the wallet by pressing the <guibutton>Load</guibutton> button. The list of entries appears then on the left. An entry can be edited by selecting it and checking the <guibutton>Show details</guibutton> button. The details are then shown on the right and can be modified.</para>
      <para>An entry can be removed by right clicking it and choosing the <guimenuitem>Remove</guimenuitem> item from the popup menu. All wallet entries may be removed at once by choosing the <guimenuitem>Clear List</guimenuitem> item.</para>
      <para>Changes can be reset by choosing the <guimenuitem>Undo</guimenuitem> item from the popup menu either in the wallet entries list widget or in the details widget.</para>
      <para>After you finished editing, the changes have to be committed to the wallet by pressing <guibutton>Save</guibutton>.</para>
    </sect2>
  </sect1>

<!-- 
      Configuring Smb4K : Samba 
-->

  <sect1 id="configuration_page_samba">
    <title>Samba</title>

    <para>Here you can directly influence the command line arguments that are passed to the Samba programs. Please note, that the settings will have no effect outside &smb4k; and that no changes will be applied to the <filename>smb.conf</filename> configuration file. For further information, please refer to the manual pages of the Samba software suite.</para>

    <screenshot>
      <screeninfo>Screenshot of the "Samba" configuration page</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="configuration_page_samba.png" format="PNG" /></imageobject>
        <textobject><phrase>The "Samba" configuration page</phrase></textobject>
      </mediaobject>
    </screenshot>

<!-- 
      Configuring Smb4K : Samba : General Settings 
-->
  
    <sect2 id="configuration_page_samba_general">
      <title>General Settings</title>
      
      <sect3 id="configuration_page_samba_general_general">
        <title>General Options</title>
        
        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>NetBIOS name</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Set the NetBIOS name of your computer. The text box should already be filled with the information found in the <filename>smb.conf</filename> configuration file or with the hostname of your computer. Under normal circumstances there is no need to change anything here.</para>
              <para>Default: NetBIOS name defined in <filename>smb.conf</filename> or the hostname</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Domain</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Set the name of the domain/workgroup your computer is in. The text box should already be filled with the information found in the <filename>smb.conf</filename> configuration file. Under normal circumstances there is no need to change anything here.</para>
              <para>Default: domain name defined in <filename>smb.conf</filename></para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Socket options</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Set the TCP socket options. Please refer to the <ulink url="man:/smb.conf"><citerefentry><refentrytitle>smb.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink> manual page to learn more.</para>
              <para>Default: socket options defined in <filename>smb.conf</filename></para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>NetBIOS scope</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Set the NetBIOS scope. It is recommended that you read the <ulink url="man:/smb.conf"><citerefentry><refentrytitle>smb.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink> manual page before entering anything here.</para>
              <para>Default: NetBIOS scope defined in <filename>smb.conf</filename></para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>SMB port</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Sets the remote SMB port number that is used by <ulink url="man:/net"><citerefentry><refentrytitle>net</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>, <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> and <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbtree</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to communicate with a remote host. Under FreeBSD, this is also the port that is used for mounting.</para>
              <para>Unless you are using a firewall or have a customized network setup, you do not need to change anything here.</para>
              <para>Default: 139</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_samba_general_authentication">
        <title>Authentication</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Try to authenticate with Kerberos</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Use Kerberos for authentication in an Active Directory environment. This setting is used by <ulink url="man:/net"><citerefentry><refentrytitle>net</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>, <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> and <ulink url="man:/smbtree"><citerefentry><refentrytitle>smbtree</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Authenticate with local machine account</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Make queries to the remote server using the machine account of the local server. This setting is used by <ulink url="man:/net"><citerefentry><refentrytitle>net</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>, <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> and <ulink url="man:/smbtree"><citerefentry><refentrytitle>smbtree</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Use Winbind ccache for authentication</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Try to use the credentials cached by Winbind. This setting is used by <ulink url="man:/net"><citerefentry><refentrytitle>net</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>, <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> and <ulink url="man:/smbtree"><citerefentry><refentrytitle>smbtree</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_samba_general_security">
        <title>Security</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Signing state</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Set the client signing state. This setting is used by <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> and <ulink url="man:/smbtree"><citerefentry><refentrytitle>smbtree</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>.</para>
              <para>The following options are available:</para>
              <variablelist>
                <varlistentry>
                  <term>
                    <menuchoice><guibutton>None</guibutton></menuchoice>
                  </term>
                  <listitem>
                    <para>Do not set the client signing state.</para>
                  </listitem>
                </varlistentry>
                <varlistentry>
                  <term>
                    <menuchoice><guibutton>On</guibutton></menuchoice>
                  </term>
                  <listitem>
                    <para>Set the client signing state to <emphasis>on</emphasis>.</para>
                  </listitem>
                </varlistentry>
                <varlistentry>
                  <term>
                    <menuchoice><guibutton>Off</guibutton></menuchoice>
                  </term>
                  <listitem>
                    <para>Set the client signing state to <emphasis>off</emphasis>.</para>
                  </listitem>
                </varlistentry>
                <varlistentry>
                  <term>
                    <menuchoice><guibutton>Required</guibutton></menuchoice>
                  </term>
                  <listitem>
                    <para>Set the client signing state to <emphasis>required</emphasis>.</para>
                  </listitem>
                </varlistentry>
              </variablelist>
              <para>Default: None</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Encrypt SMB transport</guibutton></menuchoice>
            </term>
            <listitem>
              <para>This option requires the remote server to support the &UNIX; extensions. Request that the connection be encrypted. This is new for Samba 3.2 and will only work with Samba 3.2 or above servers. Fails the connection if encryption cannot be negotiated.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>
    </sect2>

<!-- 
      Configuring Smb4K : Samba : Utility Programs 
-->

    <sect2 id="configuration_page_samba_utility_programs">
      <title>Utility Programs</title>
    
      <sect3 id="configuration_page_samba_utility_programs_nmblookup">
        <title>nmblookup</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Broadcast address</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Send a query to the given broadcast address. Without this option the default behavior of nmblookup is to send the query to the broadcast address of the network interfaces as either auto-detected or defined in the <programlisting>interfaces = ...</programlisting> parameter of the <filename>smb.conf</filename> file.</para>
              <para>Default: options defined in <filename>smb.conf</filename></para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Try and bind to UDP port 137 to send and receive UDP datagrams</guibutton></menuchoice>
            </term>
            <listitem>
              <para>The reason for this option is a bug in Windows 95 where it ignores the source port of the requesting packet and only replies to UDP port 137. Under normal circumstances, you do not need to tick this check box. If you experience problems while scanning the network and you want to enable this option, read the manual page of <ulink url="man:/nmblookup"><citerefentry><refentrytitle>nmblookup</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> before.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_samba_utility_programs_smbclient">
        <title>smbclient</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Name resolve order</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Determine what naming services and in what order are used to resolve host names to IP addresses. The option takes a space-separated string of different name resolution options. The options are: "lmhost", "host", "wins" and "bcast". For further information see the manual page of <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>.</para>
              <para>Default: options defined in <filename>smb.conf</filename></para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Buffer size</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Change the transmit/send buffer size when getting or putting a file from/to a remote server.</para>
              <para>Default: 65520 Bytes</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_samba_utility_programs_smbtree">
        <title>smbtree</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Send requests as broadcasts</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Query network nodes by sending requests as broadcasts instead of querying the local master browser.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>
    </sect2>
  </sect1>

<!-- 
      Configuring Smb4K : Mounting 
-->

  <sect1 id="configuration_page_mounting">
    <title>Mounting</title>
    
    <para>This configuration page contains all settings regarding the mounting of shares. The settings appearing here are depending on the operation system you are using.</para>
      
    <screenshot>
      <screeninfo>Screenshot of the "Mounting" configuration page</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="configuration_page_mounting.png" format="PNG" /></imageobject>
        <textobject><phrase>The "Mounting" configuration page</phrase></textobject>
      </mediaobject>
    </screenshot>
  
<!--
      Configuring Smb4K : Mounting : Common Options
-->
  
    <sect2 id="configuration_page_mounting_common">
      <title>Common Options</title>

      <variablelist>
        <varlistentry>
          <term>
            <menuchoice><guibutton>User ID</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Sets the owner of the files and directories on the file system. By default, your UID is used. To change the UID, press the search button and choose one from the drop down menu.</para>
            <para>Default: your UID</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Group ID</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Sets the group that owns the files and directories on the file system. By default, your GID is used. To change the GID, press the search button and choose one from the drop down menu.</para>
            <para>Default: your GID</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>File mask</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Sets the permissions that are applied to files. The value is given in octal and has to have 4 digits. To learn more about the file mask (fmask), you should read the <ulink url="man:/mount"><citerefentry><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> and <ulink url="man:/umask"><citerefentry><refentrytitle>umask</refentrytitle><manvolnum>2</manvolnum></citerefentry></ulink> manual pages.</para>
            <para>Default: 0755</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Directory mask</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Sets the permissions that are applied to directories. The value is given in octal and has to have 4 digits. To learn more about the folder mask (dmask), you should read the <ulink url="man:/mount"><citerefentry><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> and <ulink url="man:/umask"><citerefentry><refentrytitle>umask</refentrytitle><manvolnum>2</manvolnum></citerefentry></ulink> manual pages.</para>
            <para>Default: 0755</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Write access</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Here you can determine if the shares should be mounted <emphasis>read-write</emphasis> or <emphasis>read-only</emphasis> by default. This option is independent of the file mask and the folder mask settings above.</para>
            <para>Default: read-write</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Client character set</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Sets the character set used by the client side (&ie; your computer).</para>
            <para>Default: default</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Server codepage</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Sets the codepage the remote server uses.</para> 
            <para>This option is only available under FreeBSD.</para>
            <para>Default: default</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>File system port</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Sets the file system port number that is used by <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> when mounting a remote share. The default port number (445) should work for all modern operating systems. If you experience problems, try setting the port number to 139. If the problems only occur with a few hosts, it is recommended to leave this option untouched and to use the <link linkend="network_neighborhood_browser_defining_custom_options">Custom Options</link> dialog to define individual port numbers for the problematic hosts.</para>
            <para>This option is only available under &Linux;. Under FreeBSD, the port for mounting shares is set with the <guibutton>SMB port</guibutton> option.</para>
            <para>Default: 445</para>
          </listitem>
        </varlistentry>
      </variablelist>
    </sect2>
  
<!--
      Configuring Smb4K : Mounting : Advanced Options
-->

    <sect2 id="configuration_page_mounting_advanced">
      <title>Advanced Options</title>
      
      <para><emphasis>(This widget is not available under FreeBSD and NetBSD.)</emphasis></para>
      <para>Most of the options you can define here require &Linux; kernel 2.6.15 or later to work.</para>
      <variablelist>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Definitely assign the UID</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Instruct the client (i.e. your side) to ignore any user ID (UID) provided by the server for files and directories and to always assign the owner to be the value of the transmitted UID.</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Definitely assign the GID</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Instruct the client (i.e. your side) to ignore any group ID (GID) provided by the server for files and directories and to always assign the owner to be the value of the transmitted GID.</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Do permission checks</guibutton></menuchoice>
          </term>
          <listitem>
            <para>The client side checks if you have the correct UID and GID to manipulate files and directories on the share. This is in addition to the normal ACL check on the target machine done by the server software. You might want to switch this feature off, if the server(s) support the CIFS Unix extensions and you are, hence, not allowed to access the share.</para>
            <para>Default: selected</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Attempt to set UID and GID</guibutton></menuchoice>
          </term>
          <listitem>
            <para>If the CIFS Unix extensions are negotiated with the server the client side will attempt to set the effective UID and GID of the local process on newly created files, directories, and devices. If this feature is turned off, the default UID and GID defined for the share will be used. It is recommended that you read the manual page of <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> before you change this setting.</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Use server inode numbers</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Use inode numbers (unique persistent file identifiers) returned by the server instead of automatically generating temporary inode numbers on the client side. This parameter has no effect if the server does not support returning inode numbers or similar. It is recommended that you read the manual page of <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> before you change this setting.</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Translate reserved characters</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Translate six of the seven reserved characters (not backslash, but including the colon, question mark, pipe, asterisk, greater than and less than characters) to the remap range (above 0xF000), which also allows the client side to recognize files created with such characters by &Windows;’s POSIX emulation. This can also be useful when mounting to most versions of Samba. This has no effect if the server does not support Unicode.</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Do not use locking</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Do not use locking. Do not start lockd.</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>SMB protocol version</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Define which version of the SMB protocol is to be used.</para>
            <para>The following values are allowed:</para>
            <variablelist>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>1.0 (Classic CIFS/SMBv1 protocol)</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>vers=1.0</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to use the classic CIFS/SMBv1 protocol.</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>2.0 (Windows Vista SP1/Windows Server 2008)</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>vers=2.0</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to use the SMBv2.002 protocol. This was initially introduced in Windows Vista Service Pack 1, and Windows Server 2008.</para>
                  <note>
                    <para>Note that the initial release version of Windows Vista spoke a slightly different dialect (2.000) that is not supported.</para>
                  </note>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>2.1 (Windows 7/Windows Server 2008R2)</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>vers=2.1</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to use the SMBv2.1 protocol that was introduced in Microsoft Windows 7 and Windows Server 2008R2.</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>3.0 (Windows 8/Windows Server 2012)</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>vers=3.0</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to use the SMBv3.0 protocol that was introduced in Microsoft Windows 8 and Windows Server 2012.</para>
                </listitem>
              </varlistentry>
            </variablelist>
            <para>Default: <guibutton>1.0 (Classic CIFS/SMBv1 protocol)</guibutton></para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Cache mode</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Define how read and write requests are handled. In case you choose to not cache file data at all, the client never utilizes the cache for normal reads and writes. It always accesses the server directly to satisfy a read or write request. If you choose to follow the CIFS/SMB2 protocol strictly, the cache is only trusted if the client holds an oplock. If the client does not hold an oplock, then the client bypasses the cache and accesses the server directly to satisfy a read or write request. Choosing to allow loose caching semantics can sometimes provide better performance on the expense of cache coherency. This option might cause data corruption, if several clients access the same set of files on the server at the same time. Because of this, the strict cache mode is recommended.</para>
            <para>The following values are allowed:</para>
            <variablelist>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>Do not cache file data at all</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>cache=none</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to not cache file data at all.</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>Follow the CIFS/SMB2 protocol strictly</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>cache=strict</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to follow the CIFS/SMB2 protocol strictly.</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>Allow loose caching semantics</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>cache=loose</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to allow loose caching semantics.</para>
                </listitem>
              </varlistentry>
            </variablelist>
            <para>Default: <guibutton>Follow the CIFS/SMB2 protocol strictly</guibutton></para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Security mode</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Security mode. To be able to use this option, the CIFS kernel module 1.40 or later is needed.</para>
            <para>The allowed values are:</para>
            <variablelist>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>Connect as a null user (no name)</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>sec=none</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to attempt to connect as a null user (no name).</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>Kerberos 5 authentication</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>sec=krb5</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to use Kerberos version 5 authentication.</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>Kerberos 5 authentication and packet signing</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>sec=krb5i</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to use Kerberos version 5 authentication and force packet signing.</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>NTLM protocol</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>sec=ntlm</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to use NTLM password hashing. Up to &Linux; kernel version 3.8 this is the default setting.</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>NTLM protocol and packet signing</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>sec=ntlmi</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to use NTLM password hashing and force packet signing.</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>NTLMv2 protocol</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>sec=ntlmv2</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to use NTLMv2 password hashing.</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>NTLMv2 protocol and packet signing</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>sec=ntlmv2i</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to use NTLMv2 password hashing and force packet signing.</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>NTLMSSP protocol</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>sec=ntlmssp</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to use NTLMv2 password hashing encapsulated in a Raw NTLMSSP message. Since &Linux; kernel version 3.8 this is the default setting.</para>
                </listitem>
              </varlistentry>
              <varlistentry>
                <term>
                  <menuchoice><guibutton>NTLMSSP protocol and packet signing</guibutton></menuchoice>
                </term>
                <listitem>
                  <para>The <option>sec=ntlmssp</option> command line argument is used. This causes <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to use NTLMv2 password hashing encapsulated in a Raw NTLMSSP message and force packet signing.</para>
                </listitem>
              </varlistentry>
            </variablelist>
            <para>Default: <guibutton>NTLMSSP protocol</guibutton></para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Additional options</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Define additional options for use with <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>. Clicking the edit button to the right of the line edit opens an input dialog where the options have to be provided in a comma-separated list. After clicking <guibutton>OK</guibutton> in the input dialog, the options will be checked against a whitelist. All valid entries are accepted and entered into to line edit.</para>
            <para>Default: empty</para>
          </listitem>
        </varlistentry>
      </variablelist>
    </sect2>
  </sect1>

<!-- 
      Configuring Smb4K : Synchronization 
-->

  <sect1 id="configuration_page_synchronization">
    <title>Synchronization</title>

    <para>This configuration page contains options that influence the behavior of the <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> command that is used to synchronize remote shares with local copies and vice versa. It is only available, if <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> is installed on your system. It is recommended that you read the <ulink url="man:/rsync">manual page</ulink> before you use the synchronization feature the first time. However, safe settings are pre-defined. You will do no harm, if you start right away.</para>

    <screenshot>
      <screeninfo>Screenshot of the "Synchronization" configuration page</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="configuration_page_synchronization.png" format="PNG" /></imageobject>
        <textobject><phrase>The "Synchronization" configuration page</phrase></textobject>
      </mediaobject>
    </screenshot>

<!-- 
      Configuring Smb4K : Synchronization : Copying 
-->

    <sect2 id="configuration_page_synchronization_copying">
      <title>Copying</title>
    
      <sect3 id="configuration_page_synchronization_copying_defdest">
        <title>Default Destination</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Synchronization prefix</guibutton></menuchoice>
            </term>
            <listitem>
              <para>This is the base folder below which &smb4k; stores the transferred data using <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>. It can be changed by using the &URL; requester (Click the button with the folder icon.) or by directly entering the new path into the text box. Path variables like $HOME are recognized.</para>
              <para>For each share you synchronize, a new subdirectory below this prefix will be generated. If you want to synchronize the contents of a share to a different folder, you can define it in the <link linkend="shares_view_synchronization">synchronization dialog</link>.</para>
              <para>Default: <filename class="directory">$HOME/smb4k_sync/</filename></para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_synchronization_copying_general">
        <title>General</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Archive mode</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-a</option>/<option>--archive</option>, same as <option>-rlptgoD</option> (no <option>-H</option>)</para>
              <para>Switch the archive mode on. This is a quick way of saying you want recursion and want to preserve almost everything. Note that <option>-a</option> does not preserve hardlinks, because finding multiply-linked files is expensive. You must separately specify <option>-H</option>.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Recurse into subdirectories</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-r</option>/<option>--recursive</option></para>
              <para>Recurse into subdirectories.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Update files</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-u</option>/<option>--update</option></para>
              <para>This forces <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to skip any files that exist on the destination and have a modification time that is newer than the one of the source file. (If an existing destination file has a modification time equal to the source file's, it will be updated if the sizes are different.)</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Update files in place</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--inplace</option></para>
              <para>This causes <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> not to create a new copy of the file and then move it into place. Instead <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> will overwrite the  existing file, meaning that the rsync algorithm cannot accomplish the full amount of network reduction it might be able to otherwise.  One exception to this is if you combine the option with <option>--backup</option>, since <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> is smart enough to use the backup file as the basis file for the transfer.</para>
              <para>For further information you ought to read the <ulink url="man:/rsync">manual page</ulink>.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Use relative path names</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-R</option>/<option>--relative</option></para>
              <para>Use relative path names. This means that the full path names specified on the command line are sent to the server rather than just the last parts of the file names.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Do not send implied directories</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--no-implied-dirs</option></para>
              <para>This option affects the default behavior of the <option>--relative</option> option. When it is specified, the attributes of the implied directories from the source names are not included in the transfer. This means that the corresponding path elements on the destination system are left unchanged if  they  exist, and any missing implied directories are created with default attributes. This even allows these implied path elements to have big differences, such as being a symlink to a folder on one side of the transfer, and a real folder on the other side.</para>
              <para>For further information you ought to read the <ulink url="man:/rsync">manual page</ulink>.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Transfer directories without recursing</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-d</option>/<option>--dirs</option></para>
              <para>Tell the sending side to include any directories that are encountered. Unlike <option>--recursive</option>, a folders contents is not copied unless the folder name specified is "." or ends with a trailing slash (&eg; ".", "dir/.", "dir/", &etc;). Without this option or the <option>--recursive</option> option, <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> will skip all directories it encounters (and output a message to that effect for each one). If you specify both <option>--dirs</option> and <option>--recursive</option>, <option>--recursive</option> takes precedence.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Compress data during transfer</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-z</option>/<option>--compress</option></para>
              <para>Compress file data during the transfer.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_synchronization_copying_links">
        <title>Links</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Preserve symlinks</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-l</option>/<option>--links</option></para>
              <para>Copy symlinks as symlinks.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Transform symlinks</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-L</option>/<option>--copy-links</option></para>
              <para>When symlinks are encountered, the item that they point to is copied, rather than the symlink.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Only transform unsafe symlinks</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--copy-unsafe-links</option></para>
              <para>Only transform "unsafe" symlinks. This means if a symlink is encountered that is pointing outside the copied tree, the referenced item is transferred rather than the symlink itself.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Ignore unsafe symlinks</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--safe-links</option></para>
              <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to ignore any symbolic links which point outside the copied tree. All absolute symlinks are also ignored. Using this option in conjunction with <option>--relative</option> may give unexpected results.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Preserve hard links</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-H</option>/<option>--hard-links</option></para>
              <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to look for hard-linked files in the transfer and link together the corresponding files on the receiving side. Without this option, hard-linked files in the transfer are treated as though they were separate files.</para>
              <para>Note that <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> can only detect hard links if both parts of the link are in the list of files being sent.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Keep directory symlinks</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-K</option>/<option>--keep-dirlinks</option></para>
              <para>This option causes the receiving side to treat a symlink to a directory as though it were a real directory, but only if it matches a real directory from the sender. Without this option, the receiver's symlink would be deleted and replaced with a real directory.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_synchronization_copying_perms">
        <title>File Permissions, &etc;</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Preserve permissions</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-p</option>/<option>--perms</option></para>
              <para>This option causes the receiving side to set the destination permissions to be the same as the source permissions.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Preserve group</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-g</option>/<option>--group</option></para>
              <para>This option causes <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to set the group of the destination file to be the same as the on of the source file. If the receiving program is not running as the super-user (or with the <option>--no-super</option> option), only groups that the receiver is a member of will be preserved.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Preserve owner</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-o</option>/<option>--owner</option></para>
              <para>This option causes <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to set the owner of the destination file to be the same as the one of the source file. By default, the preservation is done by name, but may fall back to using the ID number in some circumstances (see the <option>--numeric-ids</option> option for a full discussion). This option has no effect if the receiving <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> is not run as the super user and <option>--super</option> is not specified.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Preserve device and special files</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-D</option>/<option>--devices --specials</option></para>
              <para>This option causes <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to transfer character and block device files as well as special files (such as named sockets and fifos) to the remote system. This option has no effect if the receiving side is not run as the super user and <option>--super</option> is not specified.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Preserve times</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-t</option>/<option>--times</option></para>
              <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to transfer modification times along with the files and update them on the remote system.</para>
              <para>Default: selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Omit directories when preserving times</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-O</option>/<option>--omit-dir-times</option></para>
              <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to omit directories when it is preserving modification times (see <option>--times</option>).</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>
    </sect2>

<!-- 
      Configuring Smb4K : Synchronization : File Deletion & Transfer 
-->

    <sect2 id="configuration_page_synchronization_filedel">
      <title>File Deletion &amp; Transfer</title>

      <sect3 id="configuration_page_synchronization_filedel_filedel">
        <title>File Deletion</title>
      
        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Remove synchronized source files</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--remove-source-files</option></para>
              <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to remove from the sending side the files (meaning non-directories) that are a part of the transfer and have been successfully duplicated on the receiving side.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Delete extraneous files</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--delete</option></para>
              <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to delete extraneous files from  the  receiving side (ones  that  aren't on the sending side), but only for the directories that are being synchronized.  You must have asked <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to send the whole folder (&eg; "<filename class="directory">dir</filename>" or "<filename class="directory">dir/</filename>") without using a wildcard for the folders contents (&eg; "<filename class="directory">dir/*</filename>") since the wildcard is expanded by the shell and <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> thus gets a request to transfer individual files, not the files' parent folder. Files that are excluded from transfer are also excluded from being deleted unless you use the <option>--delete-excluded</option> option or mark the rules as only matching on the sending side.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Delete files before transfer</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--delete-before</option></para>
              <para>Request that the file deletions on the receiving side be done before the transfer starts. This is the default if <option>--delete</option> or <option>--delete-excluded</option> is specified without one of the <option>--delete-WHEN</option> options.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Delete files after transfer</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--delete-after</option></para>
              <para>Request that the file deletions on the receiving side be done after the transfer has completed.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Delete files during transfer</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--delete-during</option></para>
              <para>Request that the file deletions on the receiving side be done incrementally as the transfer happens. This is a faster method than choosing the before- or after-transfer algorithm, but it is only supported beginning with <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> version 2.6.4.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Also delete excluded files</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--delete-excluded</option></para>
              <para>In addition to deleting the files on the receiving side that are not on the sending side, this tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to also delete any files on the receiving side that are excluded (see <option>--exclude</option>).</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Delete even if I/O errors occur</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--ignore-errors</option></para>
              <para>Tells <option>--delete</option> to go ahead and delete files even when there are I/O errors.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Force deletion of non-void directories</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--force</option></para>
              <para>This option tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to delete a non-empty folder when it is to be replaced by a non-folder. This is only relevant if deletions are not active (see <option>--delete</option>).</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_synchronization_filedel_restrict">
        <title>Restrictions</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Do not delete more than this many files</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--max-delete=NUM</option></para>
              <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> not to delete more than NUM files or directories (NUM must be non-zero). This is useful when mirroring very large trees to prevent disasters.</para>
              <para>Default: not selected; NUM: 0</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_synchronization_filedel_transfer">
        <title>File Transfer</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Do not transfer any file smaller than</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--min-size=NUM</option></para>
              <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to avoid transferring any file that is smaller than the specified SIZE, which can help in not transferring small, junk files.</para>
              <para>Default: not selected; NUM: 0 kB</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Do not transfer any file larger than</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--max-size=NUM</option></para>
              <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to avoid transferring any file that is larger than the specified SIZE.</para>
              <para>Default: not selected; NUM: 0 kB</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Keep partially transferred files</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--partial</option></para>
              <para>By default, <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> will delete any partially transferred file if the transfer is interrupted. In some circumstances it is more desirable to keep partially transferred files. Using the <option>--partial</option> option tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to keep the partial file which should make a subsequent transfer of the rest of the file much faster.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Put partially transferred files into</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--partial-dir=DIR</option></para>
              <para>A better way to keep partial files than the <option>--partial</option> option is to specify a folder DIR that will be used to hold the partial data (instead of writing it out to the  destination file). On the next transfer, <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> will use a file found in this folder as data to speed up the resumption of the transfer and then delete it after it has served its purpose. Before you tick this option, you should read the <ulink url="man:/rsync">manual page</ulink>.</para>
              <para>Default: not selected; DIR: <filename class="directory">$HOME</filename></para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>
    </sect2>

<!-- 
      Configuring Smb4K : Synchronization : Filtering 
-->

    <sect2 id="configuration_page_synchronization_filter">
      <title>Filtering</title>   

      <sect3 id="configuration_page_synchronization_filter_general">
        <title>General</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Auto-ignore files in the same way CVS does</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-C</option>/<option>--cvs-exclude</option></para>
              <para>This is a useful shorthand for excluding a broad range of files that you often don't want to transfer between systems. It uses the same algorithm that CVS uses to determine if a file should be ignored.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Exclude files matching this pattern</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--exclude=PATTERN</option></para>
              <para>This  option is a simplified form of the <option>--filter</option> option that defaults to an exclude rule and does not allow the full rule-parsing syntax of normal filter rules.</para>
              <para>Default: not selected; PATTERN: empty</para>
            </listitem>             
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Read exclude patterns from</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--exclude-from=FILE</option></para>
              <para>This option is related to the <option>--exclude</option> option, but it specifies a FILE that contains exclude patterns (one per line). Blank lines in the file  and lines starting with ';' or '#' are ignored. You have to choose an existing file to make this option work.</para>
              <para>Default: not selected; FILE: <filename>$HOME/exclude.txt</filename></para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Do not exclude files matching this pattern</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--include=PATTERN</option></para>
              <para>This option is a simplified form of the <option>--filter</option> option that defaults to an include rule and does not allow the full rule-parsing syntax of normal filter rules.</para>
              <para>Default: not selected; PATTERN: empty</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Read include patterns from</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--include-from=FILE</option></para>
              <para>This option is related to the <option>--include</option> option, but it specifies a FILE that contains include patterns (one  per  line). Blank lines in the file and lines starting with ';' or '#' are ignored. You have to choose an existing file to make this option work.</para>
              <para>Default: not selected; FILE: <filename>$HOME/include.txt</filename></para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_synchronization_filter_rules">
        <title>Filter Rules</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Custom filter rules</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-f</option>/<option>--filter=RULE</option></para>
              <para>You can define one or more filter rules here. Each rule has to be prefixed with the <option>--filter=</option> or <option>-f</option> option string, because the contents of the text box will be passed to the <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> command AS IS.</para>
              <para>This option allows you to add rules to selectively exclude  certain  files  from  the  list of files to be transferred. This is most useful in combination with a recursive transfer.</para>
              <para>You may use as many <option>--filter</option> options as you like to build up the list of files to exclude.</para>
              <para>See  the  FILTER  RULES section of the <ulink url="man:/rsync">manual page</ulink> for detailed information on this option.</para>
              <para>Default: empty</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Use --filter='dir-merge /.rsync-filter' filter rule</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-F</option></para>
              <para>This option tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to look for per-folder <filename>.rsync-filter</filename> files that have been sprinkled through the hierarchy and use their rules to filter the files in the transfer.</para>
              <para>See the FILTER RULES section of the <ulink url="man:/rsync">manual page</ulink> for detailed information on how this option works.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Use --filter='exclude .rsync-filter' filter rule</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-FF</option></para>
              <para>This option filters out the <filename>.rsync-filter</filename> files themselves from the transfer.</para>
              <para>See the FILTER RULES section of the <ulink url="man:/rsync">manual page</ulink> for detailed information on how this option works.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>
    </sect2>

<!-- 
      Configuring Smb4K : Synchronization : Advanced Settings
-->

    <sect2 id="configuration_page_synchronization_advanced">
      <title>Advanced Settings</title>

      <sect3 id="configuration_page_synchronization_advanced_general">
        <title>General</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Handle sparse files efficiently</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-S</option>/<option>--sparse</option></para>
              <para>Try to handle sparse files efficiently so they take up less space on the destination. Conflicts with <option>--inplace</option> because it's not possible to overwrite data in a sparse fashion.</para>
              <note><para>Do not use this option when the destination is a &Solaris; "tmpfs" file system. It doesn't seem to handle seeks over null regions correctly and ends up corrupting the files.</para></note>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Copy files whole (no rsync algorithm)</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-W</option>/<option>--whole-file</option></para>
              <para>With this option the incremental <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> algorithm is not used and the whole file is sent as-is instead. The transfer may be faster if this option is used when the bandwidth between the source and destination machines is higher than the bandwidth to disk (especially when the "disk" is actually a networked file system). This is the default when both the source and destination are specified as local paths.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Do not cross file system boundaries</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-x</option>/<option>--one-file-system</option></para>
              <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to avoid crossing a file system boundary when recursing. This does not limit the user's ability to specify items to copy from multiple file systems, just <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>'s recursion through the hierarchy of each folder that the user specified, and also the analogous recursion on the receiving side during deletion. Also keep in mind that <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> treats a "bind" mount to the same device as being on the same file system.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Only update files that already exist</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--existing</option>/<option>--ignore-non-existing</option></para>
              <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to skip updating files that do not exist yet on the destination. If this option is combined with the <option>--ignore-existing</option> option, no files will be updated (which can be useful if all you want to do is to delete missing files).</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Ignore files that already exist</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--ignore-existing</option></para>
              <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to skip updating files that already exist on the destination. See also <option>--ignore-non-existing</option>.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Delay updates until the end of transfer</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--delay-updates</option></para>
              <para>This option puts the temporary file from each updated file into a holding folder until the end of the transfer, at which time all the files are renamed into place in rapid succession.</para>
              <para>It is strongly recommended that you read the <ulink url="man:/rsync">manual page</ulink> before using this option.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_synchronization_advanced_backup">
        <title>Backup</title>
    
        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Make backups</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-b</option>/<option>--backups</option></para>
              <para>With this option, preexisting destination files are renamed as each file is transferred or deleted. You can control where the backup file goes and what (if any) suffix gets appended using the <option>--backup-dir</option> and <option>--suffix</option> options.</para>
              <para>Note that if you don't specify <option>--backup-dir</option>, (1) the <option>--omit-dir-times</option> option will be implied, and (2) if <option>--delete</option> is also in effect (without <option>--delete-excluded</option>),  <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> will add a "protect" filter-rule for the backup suffix to the end of all your existing excludes (&eg; <option>-f "P *~"</option>). This will prevent previously backed-up files from being deleted. Note that if you are supplying your own filter rules, you may  need  to  manually insert your own exclude/protect rule somewhere higher up in the list so that it has a high enough priority to be effective (&eg;, if  your rules specify a trailing inclusion/exclusion of '*', the auto-added rule would never be reached).</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Backup suffix</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--suffix=SUFFIX</option></para>
              <para>This  option  allows  you  to override the default backup suffix used with the <option>--backup</option> option. The default suffix is a <emphasis>~</emphasis> if no <option>--backup-dir</option> was specified, otherwise it is an empty string.</para>
              <para>This option is only available if you ticked the <guilabel>Make backups</guilabel> option above.</para>
              <para>Default: not selected; SUFFIX: ~</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Backup directory</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--backup-dir=DIR</option></para>
              <para>In combination with the <option>--backup</option> option, this tells rsync to store all backups in the specified folder. This is very useful for incremental backups. You can additionally specify a backup suffix using the <option>--suffix</option> option (otherwise the files backed up in the specified folder will keep  their original filenames).</para>
              <para>This option is only available if you ticked the <guilabel>Make backups</guilabel> option above.</para>
              <para>Default: not selected; DIR: <envar>$HOME</envar></para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>

      <sect3 id="configuration_page_synchronization_advanced_checksums">
        <title>Checksums</title>

        <variablelist>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Force fixed checksum block size</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-B</option>/<option>--block-size=SIZE</option></para>
              <para>This forces the block size used in the rsync algorithm to a fixed value. It is normally selected based on the size of each file being updated. See the <ulink url="http://rsync.samba.org/tech_report/">technical report</ulink> for details.</para>
              <para>Default: not selected; SIZE: 0</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Set block/file checksum seed</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>--checksum-seed=NUM</option></para>
              <para>Set the MD4 checksum seed to the integer NUM. This 4 byte checksum seed is included in each block and file MD4 checksum calculation. By default the checksum seed is generated by the server and defaults to the current time(). This option is used to set a specific checksum seed, which is useful for applications that want repeatable block and file checksums, or in the case where the user wants a more random checksum seed. Note that setting NUM to 0 causes rsync to use the default of  time() for checksum seed.</para>
              <para>Default: not selected; NUM: 0</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>
              <menuchoice><guibutton>Skip files based on checksum</guibutton></menuchoice>
            </term>
            <listitem>
              <para>Option: <option>-c</option>/<option>--checksum</option></para>
              <para>This forces the sender to checksum every regular file using a 128-bit MD4 checksum. It does this during the initial file system scan as it builds the list of all available files. The receiver then checksums its version of each file (if it exists and  it  has  the  same  size as its sender-side counterpart) in order to decide which files  need  to  be  updated: files with either a changed size or a changed checksum are selected for transfer. Since this whole-file checksumming of  all files on both sides of the connection occurs in addition to the automatic checksum verifications that occur during a file's transfer, this option can be quite slow.</para>
              <para>Default: not selected</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </sect3>
    </sect2>
  </sect1>


<!-- 
      Configuring Smb4K : Custom Options
-->

  <sect1 id="configuration_page_custom_options">
    <title>Custom Options</title>

    <para>All servers and shares for which you defined custom options are listed here.</para>

    <screenshot>
      <screeninfo>Screenshot of the "Custom Options" configuration tab</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="configuration_page_custom_options.png" format="PNG" /></imageobject>
        <textobject><phrase>The "Custom Options" configuration tab</phrase></textobject>
      </mediaobject>
    </screenshot>

    <para>The options defined for a network item can be edited by either double clicking an entry in the list view or by choosing the <guimenuitem>Edit</guimenuitem> item from the popup menu (right click on the selected item). The custom options are then being loaded and can be edited. To remove an entry, right click it and choose the <guimenuitem>Remove</guimenuitem> item from the popup menu. All network items may be removed at once by choosing the <guimenuitem>Clear List</guimenuitem> item. Changes can be reset by choosing the <guimenuitem>Undo</guimenuitem> item from the popup menu.</para>

    <para>The custom options are accessible through the editor widgets on the right. In the <guilabel>General</guilabel> section the UNC address of the network item and its editable IP address are shown. In case of a share, you can also define whether it should always be remounted. Below, the custom options are arranged in two tabs:</para>

<!-- 
      Configuring Smb4K : Custom Options : Samba
-->

    <sect2 id="configuration_page_custom_options_samba">
      <title>Samba</title>
    
      <para>You can edit various Samba settings here. Which ones are available depends on the operating system you are using. For more information, have a look at the description of the <link linkend="configuration_page_samba">Samba</link> configuration page.</para>
    </sect2>

<!-- 
      Configuring Smb4K : Custom Options : Wake-On-LAN 
-->

    <sect2 id="configuration_page_custom_options_wol">
      <title>Wake-On-LAN</title>
    
      <para>Here you can edit the options that you previously defined through the <link linkend="network_neighborhood_browser_defining_custom_options">Custom Options</link> dialog.</para>
    </sect2>
  </sect1>

<!-- 
      Configuring Smb4K : Profiles 
-->

  <sect1 id="configuration_profiles">
    <title>Profiles</title>
    
    <para>On this page you can enable the use of profiles and manage your profiles.</para>
    
    <screenshot>
      <screeninfo>Screenshot of the "Profiles" configuration tab</screeninfo>
      <mediaobject>
        <imageobject><imagedata fileref="configuration_page_profiles.png" format="PNG" /></imageobject>
        <textobject><phrase>The "Profiles" configuration tab</phrase></textobject>
      </mediaobject>
    </screenshot>

<!--
      Configuring Smb4K : Profiles : Settings 
-->

    <sect2 id="configuration_profiles_settings">
      <title>Settings</title>

      <variablelist>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Use profiles</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Make Smb4K use profiles. This enables you to define different bookmarks and custom options for each profile. This is especially useful if you are using a laptop in different network neighborhoods, &eg; at home and at work. When enabling this setting the first time, the first entry in the <link linkend="configuration_profiles_profiles">profiles list</link> will be the active profile.</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term>
            <menuchoice><guibutton>Use profile migration assistant</guibutton></menuchoice>
          </term>
          <listitem>
            <para>Use the profile migration assistant when profiles are removed or the use of profiles is enabled or disabled. The profile migration assistant allows you to migrate all settings that were saved for a certain profile to a different one.</para>
            <para>Default: not selected</para>
          </listitem>
        </varlistentry>
      </variablelist>
    </sect2>

<!-- 
      Configuring Smb4K : Profiles : Profiles 
  -->

    <sect2 id="configuration_profiles_profiles">
      <title>Profiles</title>

      <para>Here, you can manage your profiles. By default, there are two pre-defined ones (<guilabel>Home</guilabel> and <guilabel>Work</guilabel>), but you can add your own ones. When you enabled the use of profiles the first time, the first entry in the list will be the active profile.</para>
      <para>When you rename a profile, the settings are migrated automatically (without showing the migration assistant). If you enabled the use of the migration assistant, it is shown when you remove a profile giving you the opportunity to migrate the stored settings to another profile. If the use of the migration assistant is disabled, the profile and all of its settings are removed.</para>
    </sect2>
  </sect1>
</chapter>

<!-- 
      Command Reference 
-->

<chapter id="command_reference" >
  <title>Command Reference</title>

<!-- 
      Command Reference : The File Menu 
  -->

  <sect1 id="command_reference_file_menu">
    <title>The File Menu</title>

    <variablelist>
      <varlistentry>
        <term>
          <menuchoice>
            <guimenu>File</guimenu>
            <guisubmenu>Profiles</guisubmenu>
          </menuchoice>
        </term>
        <listitem>
          <para>Select the profile to use. This menu entry is disabled if the user did not enabled the use of profiles.</para>
          <para>Two profiles are predefined:</para>
          <variablelist>
            <varlistentry>
              <term>
                <menuchoice>
                  <guimenu>File</guimenu>
                  <guisubmenu>Profiles</guisubmenu>
                  <guimenuitem>Home</guimenuitem>
                </menuchoice>
              </term>
              <listitem>
                <para>A profile for use at home</para>
              </listitem>
            </varlistentry>
            <varlistentry>
              <term>
                <menuchoice>
                  <guimenu>File</guimenu>
                  <guisubmenu>Profiles</guisubmenu>
                  <guimenuitem>Work</guimenuitem>
                </menuchoice>
              </term>
              <listitem>
                <para>A profile for use at work</para>
              </listitem>
            </varlistentry>
          </variablelist>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul" >&Ctrl; <keycap>Q</keycap></keycombo></shortcut>
            <guimenu>File</guimenu>
            <guimenuitem>Quit</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Quit &smb4k;.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </sect1>
  
<!--
      Command Reference : The Network Menu
  -->

  <sect1 id="command_reference_network_menu">
    <title>The Network Menu</title>

    <variablelist>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycap>F5</keycap></shortcut>
            <guimenu>Network</guimenu>
            <guimenuitem>Scan Network|Workgroup|Computer</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Scan the whole network neighborhood, the highlighted workgroup/domain or computer for new entries. This action is visible by default and will be replaced by the <guimenuitem>Abort</guimenuitem> action if a network scan is running.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>A</keycap></keycombo></shortcut>
            <guimenu>Network</guimenu>
            <guimenuitem>Abort</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Abort any running process of the network neighborhood browser. This action is invisible by default and will only be visible instead of the <guimenuitem>Scan Network|Workgroup|Computer</guimenuitem> action when a network scan is running.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <guimenu>Network</guimenu>
            <guimenuitem>Add Bookmark</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Add a bookmark to the currently selected remote share. This action is disabled if no share is selected. Read the <link linkend="bookmarks_adding">Adding Bookmarks</link> section for more details.</para>
        </listitem>
      </varlistentry>      
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>O</keycap></keycombo></shortcut>
            <guimenu>Network</guimenu>
            <guimenuitem>Open Mount Dialog</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Open the <link linkend="network_neighborhood_browser_mounting">dialog</link> for mounting shares "manually". This feature may be needed if &smb4k; cannot find a server from which you want to mount a certain shared resource.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>T</keycap></keycombo></shortcut>
            <guimenu>Network</guimenu>
            <guimenuitem>Authentication</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Open the <link linkend="network_neighborhood_browser_authentication">authentication dialog</link>. You can provide the login and password for the selected server or share. If a workgroup or no item is selected, this action is disabled.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>C</keycap></keycombo></shortcut>
            <guimenu>Network</guimenu>
            <guimenuitem>Custom Options</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Open the <link linkend="network_neighborhood_browser_defining_custom_options">Custom Options</link> dialog. You can set several custom options for the selected server or share. If a workgroup or no item is selected, this menu entry is disabled.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>V</keycap></keycombo></shortcut>
            <guimenu>Network</guimenu>
            <guimenuitem>Preview</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para><link linkend="network_neighborhood_browser_previewing">Preview</link> the contents of the selected remote share. This action is only enabled if a share is selected. Printer shares cannot be previewed.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>P</keycap></keycombo></shortcut>
            <guimenu>Network</guimenu>
            <guimenuitem>Print File</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para><link linkend="network_neighborhood_browser_printing">Print</link> a file on a remote printer. This action is only available if a printer share is selected.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>M</keycap></keycombo></shortcut>
            <guimenu>Network</guimenu>
            <guimenuitem>Mount</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Mount the selected remote share. By default and if you clicked anything different than a share with type "Disk" or "IPC", this action is disabled. If you selected a mounted share, this action is replaced by the <guimenuitem>Unmount</guimenuitem> action.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut>
            <guimenu>Network</guimenu>
            <guimenuitem>Unmount</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Unmount the selected share. This action is invisible by default and will only be visible instead of the <guimenuitem>Mount</guimenuitem> action when the share is currently mounted.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </sect1>
  
<!--
      Command Reference : The Search Menu
  -->

  <sect1 id="command_reference_search_menu">
    <title>The Search Menu</title>

    <variablelist>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>S</keycap></keycombo></shortcut>
            <guimenu>Search</guimenu>
            <guimenuitem>Search</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Search for the string that was entered in the search dialog. This action is visible by default and will be replaced by the <guimenuitem>Abort</guimenuitem> action if a network search is running.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>A</keycap></keycombo></shortcut>
            <guimenu>Search</guimenu>
            <guimenuitem>Abort</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Abort the network search. This action is invisible by default and will only be visible instead of the <guimenuitem>Search</guimenuitem> action if a network search is running.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <guimenu>Search</guimenu>
            <guimenuitem>Clear</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Clear the whole network search dialog. This action does not only clear the list view, but also the search item history in the combo box.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>D</keycap></keycombo></shortcut>
            <guimenu>Search</guimenu>
            <guimenuitem>Mount</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Mount a remote share from within the search dialog. Alternatively, you can double click the network share in the list view.</para>
        </listitem>
      </varlistentry>
       <varlistentry>
          <term>
            <menuchoice>
              <shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut>
              <guimenu>Search</guimenu>
              <guimenuitem>Unmount</guimenuitem>
            </menuchoice>
          </term>
          <listitem>
            <para>Unmount the selected share. This action is invisible by default and will only be visible instead of the <guimenuitem>Mount</guimenuitem> action when the share is currently mounted.</para>
          </listitem>
        </varlistentry>
    </variablelist>
  </sect1>
  
<!--
      Command Reference : The Shares Menu
  -->

  <sect1 id="command_reference_shares_menu">
    <title>The Shares Menu</title>

    <variablelist>
      <varlistentry>
        <term>
          <menuchoice>
            <guimenu>Shares</guimenu>
            <guisubmenu>View Modes</guisubmenu>
          </menuchoice>
        </term>
        <listitem>
          <para>Choose the view mode from the submenu.</para>
          <variablelist>
            <varlistentry>
              <term>
                <menuchoice>
                  <guimenu>Shares</guimenu>
                  <guisubmenu>View Modes</guisubmenu>
                  <guimenuitem>Icon View</guimenuitem>
                </menuchoice>
              </term>
              <listitem>
                <para>The shares are shown in an icon view.</para>
              </listitem>
            </varlistentry>
            <varlistentry>
              <term>
                <menuchoice>
                  <guimenu>Shares</guimenu>
                  <guisubmenu>View Modes</guisubmenu>
                  <guimenuitem>List View</guimenuitem>
                </menuchoice>
              </term>
              <listitem>
                <para>The shares are shown in a list view.</para>
              </listitem>
            </varlistentry>
          </variablelist>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut>
            <guimenu>Shares</guimenu>
            <guimenuitem>Unmount</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Unmount one or multiple selected shares. The ability to unmount shares is by default restricted to the ones that are owned by the user. However, you can change this behavior by changing the <link linkend="configuration_page_shares_behavior">settings</link> in the configuration dialog. If no share is selected in the shares view, this button is disabled.</para>
            <para>&smb4k; also provides the ability to force the unmounting of shares (&Linux; only). This might be useful with inaccessible shares that cannot be unmounted the normal way. To enable this feature, you need to modify the <link linkend="configuration_page_shares_behavior">settings</link> in the configuration dialog.</para>
            <para>Read the <link linkend="shares_view_unmounting">Unmounting Shares</link> section for more details.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>N</keycap></keycombo></shortcut>
            <guimenu>Shares</guimenu>
            <guimenuitem>Unmount All</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Unmount all shares at once. The restrictions noted above also apply here. If you do not have any shares mounted, this button is disabled.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <guimenu>Shares</guimenu>
            <guimenuitem>Add Bookmark</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Add a bookmark to the currently selected mounted share. This action is disabled if no share is selected. Read the <link linkend="bookmarks_adding">Adding Bookmarks</link> section for more details.</para>
        </listitem>
      </varlistentry>   
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>Y</keycap></keycombo></shortcut>
            <guimenu>Shares</guimenu>
            <guimenuitem>Synchronize</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Start the <link linkend="shares_view_synchronization">synchronization</link> of a share with a local copy or vice versa. This menu entry is only enabled if you installed the program <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> and a share is selected.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>L</keycap></keycombo></shortcut>
            <guimenu>Shares</guimenu>
            <guimenuitem>Open with Konsole</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Open the base folder of the selected share in &konsole;.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>I</keycap></keycombo></shortcut>
            <guimenu>Shares</guimenu>
            <guimenuitem>Open with File Manager</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Open the contents of the selected share in the default file manager (&eg; &dolphin;).</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </sect1>
  
<!--
      Command Reference : The Bookmarks Menu
  -->

  <sect1 id="command_reference_bookmarks_menu">
    <title>The Bookmarks Menu</title>

    <variablelist>
      <varlistentry>
        <term>
          <menuchoice>
            <guimenu>Bookmarks</guimenu>
            <guimenuitem>Edit Bookmarks</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Open the <link linkend="bookmarks_editor">bookmark editor</link>. This action is disabled if there are no bookmarks.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <shortcut><keycombo action="simul">&Ctrl; <keycap>B</keycap></keycombo></shortcut>
            <guimenu>Bookmarks</guimenu>
            <guimenuitem>Add Bookmark</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Add one or several bookmarks. At least one share has to be selected to enable this action.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <guimenu>Bookmarks</guimenu>
            <guimenuitem>Mount All Bookmarks</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Mount all top-level bookmarks at once. It is disabled if all bookmarked shares are mounted. This action is not present if there are no toplevel bookmarks.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </sect1>
  
<!--
      Command Reference : The Settings Menu
  -->

  <sect1 id="command_reference_settings_menu">
    <title>The Settings Menu</title>

    <variablelist>
      <varlistentry>
        <term>
          <menuchoice>
            <guimenu>Settings</guimenu>
            <guimenuitem>Toolbars Shown</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>In this submenu you can enable or disable the toolbars.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <guimenu>Settings</guimenu>
            <guimenuitem>Show Statusbar</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Hide or show the status bar.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <guimenu>Settings</guimenu>
            <guimenuitem>Dock Widgets</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Hide or show the dock widgets in the main window.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <menuchoice>
            <guimenu>Settings</guimenu>
            <guimenuitem>Configure &smb4k;...</guimenuitem>
          </menuchoice>
        </term>
        <listitem>
          <para>Open the configuration dialog.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </sect1>

<!--
      Command Reference : The Help Menu
  -->
  
  <sect1 id="command_reference_help_menu">
    <title>The Help Menu</title>

    <para>Additionally &smb4k; has the common &kde; <guimenu>Help</guimenu> menu items, for more information read the section about the <ulink url="help:/fundamentals/ui.html#menus-help">Help Menu</ulink> of the &kde; Fundamentals.</para>
  </sect1>
</chapter>

<!-- 
      Reporting Bugs 
  -->

<chapter id="reporting_bugs">
  <title>Reporting Bugs</title>

  <para>Before filing a bug report, please read our <ulink url="https://sourceforge.net/p/smb4k/wiki/Home/">wiki</ulink>. Many common problems are already covered there. Also, try the <ulink url="https://sourceforge.net/projects/smb4k/files/">latest version</ulink> of &smb4k;. Maybe your problem has already been fixed.</para>
  <para>Follow these directions for your bug report:</para>
  <itemizedlist>
    <listitem><para>Describe <emphasis>in detail</emphasis> what you did to receive the problem you are reporting.</para></listitem>
    <listitem><para>Provide the version of &smb4k; and &kde;.</para></listitem>
    <listitem><para>Mention your operating system (&Linux;, FreeBSD, &etc;) and the distribution that is running on your computer.</para></listitem>
    <listitem><para>Include the full error message if an error dialog was displayed.</para></listitem>
    <listitem><para>If you experienced a crash, attach a full backtrace. For this it is recommended that you (re-)compile &smb4k; with debugging symbols. How this is done is mentioned in the <link linkend="appendix_compilation">Configuration, Compilation and Installation</link> chapter in the appendix.</para></listitem>
    <listitem><para>Add additional data, &eg; send a screen shot if you are reporting a &GUI; related problem.</para></listitem>
  </itemizedlist>
  <para>The recommended method to report a bug is to use the dialog that opens when you click the <menuchoice><guimenu>Help</guimenu><guimenuitem>Report Bug...</guimenuitem></menuchoice> menu item. But you can also go directly to the <ulink url="https://bugs.kde.org/enter_bug.cgi?product=Smb4k&amp;format=guided">KDE Bugtracking System</ulink> and fill out the form.</para>
</chapter>


<!-- 
      Credits and License 
  -->

<chapter id="credits" >
  <title>Credits and License</title>

  <para>Copyright &copy; 2003 - 2016, Alexander Reinholdt <email>alexander.reinholdt@kdemail.net</email></para>

<!-- TRANS:CREDIT_FOR_TRANSLATORS -->
  &underFDL;
  &underGPL;

  <simplesect>
    <title>Developers</title>
      
    <itemizedlist>
      <listitem><para>Alexander Reinholdt <email>alexander.reinholdt@kdemail.net</email></para></listitem>
    </itemizedlist>
  </simplesect>

  <simplesect>
    <title>Translations</title>
    
    <para>Translations were contributed by the &kde; translators.</para>
  </simplesect>

  <simplesect>
    <title>Special Thanks</title>
    
    <para>The &smb4k; team would like to thank everyone who contributed by sending patches. Also, a big "Thank you!" goes to Rashid N. Achilov <email>shelton@sentry.granch.ru</email>, who convinced us to port &smb4k; to FreeBSD and helped us a great deal to achieve this goal.</para>
  </simplesect>
</chapter>


<!-- 
      Appendix 
  -->

<appendix id="appendix">
  <title>Appendix</title>

  <sect1 id="appendix_getting_smb4k" >
    <title>How to obtain &smb4k;</title>
    
    <para>The latest stable release is available at <ulink url="http://sourceforge.net/projects/smb4k/files/">http://sourceforge.net/projects/smb4k/files/</ulink>.</para>
  </sect1>

  <sect1 id="appendix_requirements" >
    <title>Requirements</title>

    <para>&smb4k; officially supports &Linux;, FreeBSD and NetBSD. Other operating systems might work as well, but haven't been tested.</para>
    <para>To compile &smb4k;, you need:</para>
    <itemizedlist>
      <listitem><para><ulink url="http://www.cmake.org">CMake</ulink> (&ge; 3.3)</para></listitem>
      <listitem><para><ulink url="http://gcc.gnu.org">GNU Compiler Collection</ulink> (g++ &ge; 4.0) or <ulink url="http://clang.llvm.org">clang/LLVM</ulink> (&ge; 3.0)</para></listitem>
    </itemizedlist>
    <para>&smb4k; depends on the following <ulink url="http://www.qt.io">&Qt;</ulink> (&ge; 5.4.0) and <ulink url="http://www.kde.org">&kf5;</ulink> (&ge; 5.9.0) modules:</para>
    <itemizedlist>
      <listitem><para>QtCore, QtGui, QtWidgets, QtTest, QtNetwork, QtPrintSupport, QtQml</para></listitem>
      <listitem><para>KConfig, KAuth, KDocTools, KIconThemes, KWidgetsAddons, KI18n, KCompletion, KCoreAddons, Solid, KIO, KNotifications, KXmlGui, KJobWidgets, KWallet, KDBusAddons, KParts, KConfigWidgets, KNotifications, KWindowSystem</para></listitem>
    </itemizedlist>
    <para>For a proper operation, you also need:</para>
    <itemizedlist>
      <listitem><para><ulink url="http://www.samba.org">Samba</ulink> (3.x or 4.x, 4.x recommended)</para></listitem>
    </itemizedlist>
    <para>To enable full functionality, you may also want to install these programs:</para>
    <itemizedlist>
      <listitem><para><ulink url="http://rsync.samba.org">rsync</ulink></para></listitem>
    </itemizedlist>
    <para>The list of changes can be found in the <filename>ChangeLog</filename> file.</para>
  </sect1>

<!-- 
      Appendix: Configuration, Compilation and Installation 
  -->

  <sect1 id="appendix_compilation">
    <title>Configuration, Compilation and Installation</title>

    <para>This section describes the configuration, compilation and installation of &smb4k;. Make sure, you have read the <link linkend="appendix_requirements">Requirements</link> page before you start.</para>
    <para><ulink url="https://sourceforge.net/projects/smb4k/files">Download</ulink> the version of Smb4K you are interested in and extract the source tarball:</para>
    
<screen>
<prompt>$</prompt> <userinput><command>tar</command> xvfJ smb4k-x.y.z.tar.xz</userinput>
</screen>

    <para>Replace x.y.z with the version number. Change into the source code directory and create a <filename class="directory">build</filename> directory:</para>

<screen>
<prompt>$</prompt> <userinput><command>cd</command> <filename class="directory">smb4k-x.y.z</filename></userinput>
<prompt>$</prompt> <userinput><command>mkdir</command> <filename class="directory">build</filename></userinput>
</screen>

    <para>Change into the <filename class="directory">build</filename> directory and configure the source code:</para>

<screen>
<prompt>$</prompt> <userinput><command>cd</command> <filename class="directory">build</filename></userinput>
<prompt>$</prompt> <userinput><command>cmake</command> -DCMAKE_INSTALL_PREFIX=`qtpaths --install-prefix` -DCMAKE_BUILD_TYPE=Release <filename class="directory">..</filename></userinput>
</screen>

    <para>If Smb4K cannot find some shared libraries after the installation (&eg; if you are using Kubuntu 16.04), it is necessary to add the <option>-DKDE_INSTALL_PLUGINDIR</option> argument to the command line above:</para>

<screen>
<prompt>$</prompt> <userinput><command>cd</command> <filename class="directory">build</filename></userinput>
<prompt>$</prompt> <userinput><command>cmake</command> -DCMAKE_INSTALL_PREFIX=`qtpaths --install-prefix` \
     -DKDE_INSTALL_PLUGINDIR=`qtpaths --plugin-dir` -DCMAKE_BUILD_TYPE=Release <filename class="directory">..</filename></userinput>
</screen>

    <para>If you want to compile Smb4K with debug symbols, replace Release by Debug. You should consider this if you experience &ie; a crash and want to either debug &smb4k; yourself or report a bug including a full backtrace</para>
    <para>There are also some &smb4k; specific arguments you might be interested in:</para>
    <para>
      <informaltable frame="all">
      <tgroup cols="3" align="left" colsep="1" rowsep="1">
        <thead>
          <row>
            <entry>Argument</entry>
            <entry>Since</entry>
            <entry>Description</entry>
          </row>
        </thead>
        <tbody>
          <row>
            <entry>-DINSTALL_HEADER_FILES=yes|no</entry>
            <entry align="center">1.0.0</entry>
            <entry>Install the core header files. This is off by default.</entry>
          </row>
          <row>
            <entry>-DINSTALL_PLASMOID=yes|no</entry>
            <entry align="center">1.1.0</entry>
            <entry>Install the plasmoid. KDE SC 4.10 or higher is required. This is on by default, if the right KDE version is detected.</entry>
          </row>
        </tbody>
      </tgroup>
      </informaltable>
    </para>
    <para>After the configuration, compile and install &smb4k;:</para>

<screen>
<prompt>$</prompt> <userinput><command>make</command> &amp;&amp; <command>sudo make</command> install</userinput>
</screen>

    <para>If you want to be able to remove &smb4k; with your package manager later on, use <application>checkinstall</application> instead of <command>make install</command>. The package should be present in your distribution's repository. Run:</para>

<screen>
<prompt>$</prompt> <userinput><command>make</command> &amp;&amp; <command>sudo checkinstall</command></userinput>
</screen>

  </sect1>
</appendix>
</book>
