Warning, /network/smb4k/doc/index.docbook is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" ?>
0002 <?xml-stylesheet href="index.css" type="text/css"?>
0003 <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [
0004   <!ENTITY smb4k "<application>Smb4K</application>">
0005   <!ENTITY % addindex "IGNORE">
0006   <!ENTITY % English "INCLUDE">
0007   <!-- Entities for use with "older" KF5 versions (before May 2018) -->
0008   <!-- FIXME: Can we only include these if needed?                  -->
0009   <!ENTITY CIFS "<acronym>CIFS</acronym>">
0010   <!ENTITY Samba "<application>Samba</application>">
0011   <!ENTITY solid "<application>Solid</application>">
0012 ]>
0013 
0014 <book id="smb4k" lang="&language;" >
0015 
0016 <bookinfo>
0017   <title>The &smb4k; Handbook</title>
0018   <authorgroup>
0019     <author>
0020       <firstname>Alexander</firstname>
0021       <othername></othername>
0022       <surname>Reinholdt</surname>
0023       <affiliation>
0024         <address>
0025           <email>alexander.reinholdt AT kdemail.net</email>
0026         </address>
0027       </affiliation>
0028     </author>
0029 <!-- TRANS:ROLES_OF_TRANSLATORS -->
0030   </authorgroup>
0031   <copyright>
0032     <year>2005-2019</year>
0033     <holder>Alexander Reinholdt</holder>
0034   </copyright>
0035   <legalnotice>&underFDL;</legalnotice>
0036   <date>2019-05-19</date>
0037   <releaseinfo>&smb4k; 3.0.1</releaseinfo><!--FIXME change releaseinfo number-->
0038   <abstract>
0039     <para>&smb4k; is an advanced network neighborhood browser and Samba share mounting utility.</para>
0040   </abstract>
0041   <keywordset>
0042     <keyword>KDE</keyword>
0043     <keyword>Smb4K</keyword>
0044     <keyword>Samba</keyword>
0045   </keywordset>
0046 </bookinfo>
0047 
0048 <!-- 
0049       Introduction 
0050   -->
0051 
0052 <chapter id="introduction" >
0053   <title>Introduction</title>
0054 
0055   <para>This handbook describes &smb4k; 3.0.x and to some extent earlier versions.</para>
0056   <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>
0057 
0058   <itemizedlist>
0059     <listitem><para>Scanning for (active) workgroups, hosts, and shares</para></listitem>
0060     <listitem><para>Support of the &CIFS; (&Linux;) and SMBFS (BSD) file system</para></listitem>
0061     <listitem><para>Mounting and unmounting of shares</para></listitem>
0062     <listitem><para>Access to the files of a mounted share using a file manager or terminal</para></listitem>
0063     <listitem><para>Auto-detection of external mounts and unmounts</para></listitem>
0064     <listitem><para>Remounting of previously used shares on program start</para></listitem>
0065     <listitem><para>Miscellaneous infos about remote network items and mounted shares</para></listitem>
0066     <listitem><para>Network search</para></listitem>
0067     <listitem><para>Preview of the contents of a remote share</para></listitem>
0068     <listitem><para>Default login</para></listitem>
0069     <listitem><para>Special handling of homes shares</para></listitem>
0070     <listitem><para>Ability to bookmark favorite shares</para></listitem>
0071     <listitem><para>System tray widget</para></listitem>
0072     <listitem><para>Support of advanced mount options</para></listitem>
0073     <listitem><para>Support of printer shares</para></listitem>
0074     <listitem><para>&kwallet5; support</para></listitem>
0075     <listitem><para>Synchronization of a remote share with a local copy and vice versa</para></listitem>
0076     <listitem><para>Ability to define custom options for individual servers and shares</para></listitem>
0077     <listitem><para>Laptop support through the &solid; hardware device framework</para></listitem>
0078     <listitem><para>Wake-On-LAN capabilities</para></listitem>
0079     <listitem><para>&plasmoid; for desktop integration</para></listitem>
0080     <listitem><para>Profiles for different network neighborhood setups</para></listitem>
0081   </itemizedlist>
0082 
0083   <para>If you encounter problems while using &smb4k;, 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>. 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>
0084 </chapter>
0085 
0086 <!-- 
0087       Using Smb4K 
0088   -->
0089 
0090 <chapter id="using_smb4k">
0091   <title>Using &smb4k;</title>
0092 
0093 <!-- 
0094       Using Smb4K : Running Smb4K 
0095   -->
0096 
0097   <sect1 id="running_smb4k" >
0098     <title>Running &smb4k;</title>
0099     
0100     <para>You can either launch &smb4k; from the K menu or from <ulink url="https://userbase.kde.org/Plasma/Krunner">&krunner;</ulink> by typing <userinput><command>smb4k</command></userinput>. &smb4k; comes with a <link linkend="plasmoid">&plasmoid;</link> for better desktop integration. It can be added as widget to the desktop or panel.</para>
0101 
0102     <note>
0103       <para>If you are using &Samba; version 4.7 or above, you most likely have to change a setting in &Samba;'s configuration file to make browsing work. Have a look at the <link linkend="special_remarks_problems_browsing_samba_47">Special Remarks</link> section to find out what has to be adjusted.</para>
0104     </note>
0105 
0106     <para>If the system is missing some of the programs &smb4k; needs to operate properly, it notifies the user:</para>
0107     
0108     <screenshot id="notification_missing_program">
0109       <screeninfo>Screenshot of the missing program notification</screeninfo>
0110       <mediaobject>
0111         <imageobject><imagedata fileref="notification_missing_program.png" format="PNG" /></imageobject>
0112         <textobject><phrase>The missing program notification</phrase></textobject>
0113       </mediaobject>
0114     </screenshot>
0115     
0116     <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>
0117   </sect1>
0118 
0119 <!-- 
0120       Using Smb4K : Main Window 
0121   -->
0122 
0123   <sect1 id="mainwindow_overview">
0124     <title>The Main Window</title>
0125   
0126     <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>) and the mounted shares view (<guilabel>Mounted Shares</guilabel>) are arranged in a tab widget. Above them the menubar and toolbar are located. Below them you find the status bar.</para>
0127     
0128     <screenshot id="mainwindow_overview_screenshot">
0129       <screeninfo>Screenshot of the main window</screeninfo>
0130       <mediaobject>
0131         <imageobject><imagedata fileref="main_window.png" format="PNG" /></imageobject>
0132         <textobject><phrase>The main window</phrase></textobject>
0133       </mediaobject>
0134     </screenshot>
0135 
0136     <para>&smb4k; comes with a toolbar that 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, please have a look at the sections discussing the <link linkend="network_neighborhood_browser">network neighborhood browser</link> and <link linkend="shares_view">mounted shares view</link>.</para>
0137     <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 (network folder icon) and the status of the authentication system (wallet or key icon).</para>
0138     <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>
0139     <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>
0140   </sect1>
0141 
0142 <!-- 
0143       Using Smb4K : The Network Neighborhood Browser 
0144   -->
0145 
0146   <sect1 id="network_neighborhood_browser">
0147     <title>The Network Neighborhood Browser</title>
0148 
0149     <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>
0150     <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>
0151 
0152     <screenshot>
0153       <screeninfo>Screenshot of the network neighborhood browser</screeninfo>
0154       <mediaobject>
0155         <imageobject><imagedata fileref="network_neighborhood_browser.png" format="PNG" /></imageobject>
0156         <textobject><phrase>The network neighborhood browser</phrase></textobject>
0157       </mediaobject>
0158     </screenshot>
0159 
0160     <para>The selection of multiple network items is supported. So, it is possible to &eg; mount or preview several shares at once.</para>
0161 
0162 <!-- 
0163       Using Smb4K : The Network Neighborhood Browser : Browsing 
0164   -->
0165 
0166     <sect2 id="network_neighborhood_browser_browsing">
0167       <title>Browsing</title>
0168 
0169       <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>
0170       <para>&smb4k; uses a traditional scan mode, 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;.</para>
0171       <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_page_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>
0172     </sect2>
0173     
0174 <!--
0175       Using Smb4K : The Network Neighborhood Browser : Searching
0176   -->
0177     
0178     <sect2 id="network_neighborhood_browser_searching">
0179       <title>Searching</title>
0180       
0181       <para>To search the network neighborhood for shares that contain a certain search item, execute the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>F</keycap></keycombo></shortcut><guimenuitem>Search</guimenuitem></menuchoice> action (see also the <link linkend="network_neighborhood_browser_actions_popup_menu">Actions an Popup Menu</link> section below). The search toolbar opens at the bottom of the network neighborhood browser.</para>
0182       
0183       <screenshot>
0184         <screeninfo>Screenshot of the network neighborhood browser with visible search toolbar</screeninfo>
0185         <mediaobject>
0186           <imageobject><imagedata fileref="network_neighborhood_browser_searching.png" format="PNG" /></imageobject>
0187           <textobject><phrase>The network neighborhood browser with visible search toolbar</phrase></textobject>
0188         </mediaobject>
0189       </screenshot>
0190       
0191       <para>Enter the search term in the line edit and press the &Enter; key or click the <guibutton>Search</guibutton> button. &smb4k; starts to search the entire network neighborhood. When the search finished, all shares matching the search term are highlighted (selected). If you would like to do something with <emphasis>all</emphasis> discovered shares (&eg; mount or preview), you can immediately do this now. Otherwise, you can use the <guibutton>Up</guibutton> and <guibutton>Down</guibutton> buttons to jump to the individual search results. The <guibutton>Clear</guibutton> button can be used to clear the search. To close the search toolbar, press the <guibutton>Close</guibutton> button.</para>
0192     </sect2>
0193 
0194 <!-- 
0195       Using Smb4K : The Network Neighborhood Browser : Actions and Popup Menu 
0196   -->
0197 
0198     <sect2 id="network_neighborhood_browser_actions_popup_menu">
0199       <title>Actions and Popup Menu</title>
0200 
0201       <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>
0202     
0203       <variablelist>
0204         <varlistentry>
0205           <term>
0206             <menuchoice>
0207               <shortcut><keycap>F5</keycap></shortcut>
0208               <guimenuitem>Scan Network|Workgroup|Computer</guimenuitem>
0209             </menuchoice>
0210           </term>
0211           <listitem>
0212             <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>
0213           </listitem>
0214         </varlistentry>
0215         <varlistentry>
0216           <term>
0217             <menuchoice>
0218               <shortcut><keycombo action="simul">&Ctrl; <keycap>A</keycap></keycombo></shortcut>
0219               <guimenuitem>Abort</guimenuitem>
0220             </menuchoice>
0221           </term>
0222           <listitem>
0223             <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>
0224           </listitem>
0225         </varlistentry>
0226         <varlistentry>
0227           <term>
0228             <menuchoice>
0229               <shortcut><keycombo action="simul">&Ctrl; <keycap>F</keycap></keycombo></shortcut>
0230               <guimenuitem>Search</guimenuitem>
0231             </menuchoice>
0232           </term>
0233           <listitem>
0234             <para>Search the network neighborhood for a specified search term. Activating this action opens the search toolbar where you can enter the search term and start the search.</para>
0235           </listitem>
0236         </varlistentry>        
0237         <varlistentry>
0238           <term>
0239             <menuchoice>
0240               <shortcut><keycombo action="simul">&Ctrl; <keycap>B</keycap></keycombo></shortcut>
0241               <guimenuitem>Add Bookmark</guimenuitem>
0242             </menuchoice>
0243           </term>
0244           <listitem>
0245             <para>Add a bookmark to the currently selected remote share. This action is disabled if no share is selected.</para>
0246             <para>Read the <link linkend="bookmarks_adding">Adding Bookmarks</link> section for more details.</para>
0247           </listitem>
0248         </varlistentry>
0249         <varlistentry>
0250           <term>
0251             <menuchoice>
0252               <shortcut><keycombo action="simul">&Ctrl; <keycap>O</keycap></keycombo></shortcut>
0253               <guimenuitem>Open Mount Dialog</guimenuitem>
0254             </menuchoice>
0255           </term>
0256           <listitem>
0257             <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>
0258           </listitem>
0259         </varlistentry>
0260         <varlistentry>
0261           <term>
0262             <menuchoice>
0263               <shortcut><keycombo action="simul">&Ctrl; <keycap>T</keycap></keycombo></shortcut>
0264               <guimenuitem>Authentication</guimenuitem>
0265             </menuchoice>
0266           </term>
0267           <listitem>
0268             <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>
0269           </listitem>
0270         </varlistentry>
0271         <varlistentry>
0272           <term>
0273             <menuchoice>
0274               <shortcut><keycombo action="simul">&Ctrl; <keycap>C</keycap></keycombo></shortcut>
0275               <guimenuitem>Custom Options</guimenuitem>
0276             </menuchoice>
0277           </term>
0278           <listitem>
0279             <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>
0280           </listitem>
0281         </varlistentry>
0282         <varlistentry>
0283           <term>
0284             <menuchoice>
0285               <shortcut><keycombo action="simul">&Ctrl; <keycap>V</keycap></keycombo></shortcut>
0286               <guimenuitem>Preview</guimenuitem>
0287             </menuchoice>
0288           </term>
0289           <listitem>
0290             <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>
0291           </listitem>
0292         </varlistentry>
0293         <varlistentry>
0294           <term>
0295             <menuchoice>
0296               <shortcut><keycombo action="simul">&Ctrl; <keycap>P</keycap></keycombo></shortcut>
0297               <guimenuitem>Print File</guimenuitem>
0298             </menuchoice>
0299           </term>
0300           <listitem>
0301             <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>
0302           </listitem>
0303         </varlistentry>
0304         <varlistentry>
0305           <term>
0306             <menuchoice>
0307               <shortcut><keycombo action="simul">&Ctrl; <keycap>M</keycap></keycombo></shortcut>
0308               <guimenuitem>Mount</guimenuitem>
0309             </menuchoice>
0310           </term>
0311           <listitem>
0312             <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>
0313           </listitem>
0314         </varlistentry>
0315         <varlistentry>
0316           <term>
0317             <menuchoice>
0318               <shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut>
0319               <guimenuitem>Unmount</guimenuitem>
0320             </menuchoice>
0321           </term>
0322           <listitem>
0323             <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>
0324           </listitem>
0325         </varlistentry>
0326       </variablelist>
0327 
0328       <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>
0329 
0330       <screenshot>
0331         <screeninfo>Screenshot of the popup menu of the network neighborhood browser</screeninfo>
0332           <mediaobject>
0333           <imageobject>
0334             <imagedata fileref="network_neighborhood_browser_popup_menu.png" format="PNG" />
0335           </imageobject>
0336           <textobject>
0337             <phrase>The popup menu of the network neighborhood browser</phrase>
0338           </textobject>
0339         </mediaobject>
0340       </screenshot>
0341     </sect2>
0342 
0343 <!-- 
0344       Using Smb4K : The Network Neighborhood Browser : Tooltips 
0345   -->
0346 
0347     <sect2 id="network_neighborhood_browser_tooltips">
0348       <title>Tooltips</title>
0349 
0350       <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>
0351       <para>The tooltips can be disabled in the <link linkend="configuration_page_user_interface_network">configuration dialog</link>.</para>
0352     </sect2>
0353 
0354 <!-- 
0355       Using Smb4K : The Network Neighborhood Browser : Mounting a Share 
0356   -->
0357 
0358     <sect2 id="network_neighborhood_browser_mounting">
0359       <title>Mounting a Share</title>
0360 
0361       <para>There are three options available to mount a remote share:</para>
0362 
0363       <orderedlist>
0364         <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>
0365         <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>
0366         <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>
0367         <screenshot>
0368           <screeninfo>Screenshot of the "Mount Share" dialog</screeninfo>
0369           <mediaobject>
0370             <imageobject><imagedata fileref="network_neighborhood_browser_mount_dialog.png" format="PNG" /></imageobject>
0371             <textobject><phrase>The "Mount Share" dialog</phrase></textobject>
0372           </mediaobject>
0373         </screenshot>
0374         <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>
0375       </orderedlist>
0376 
0377       <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</link> view. 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> (BSD) will be shown.</para>
0378     </sect2>
0379 
0380 <!-- 
0381       Using Smb4K : The Network Neighborhood Browser : Printing Files 
0382   -->
0383 
0384     <sect2 id="network_neighborhood_browser_printing">
0385       <title>Printing Files on Remote Printers</title>
0386 
0387       <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>
0388       <screenshot>
0389         <screeninfo>Screenshot of the print dialog</screeninfo>
0390         <mediaobject>
0391           <imageobject><imagedata fileref="network_neighborhood_browser_print_dialog.png" format="PNG" /></imageobject>
0392           <textobject><phrase>The print dialog</phrase></textobject>
0393         </mediaobject>
0394       </screenshot>
0395       <para>In the <guilabel>Information</guilabel> section various information about the printer is shown. Under <guilabel>File and Settings</guilabel> you have to provide the path to the file you want to print and the desired number of copies. Press <guibutton>Print</guibutton> to start the print process.</para>
0396       <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>
0397     </sect2>
0398 
0399 <!-- 
0400       Using Smb4K : The Network Neighborhood Browser : Previewing Shares 
0401   -->
0402 
0403     <sect2 id="network_neighborhood_browser_previewing">
0404       <title>Previewing Shares</title>
0405       
0406       <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>
0407       <screenshot>
0408         <screeninfo>Screenshot of the preview dialog</screeninfo>
0409         <mediaobject>
0410           <imageobject><imagedata fileref="network_neighborhood_browser_preview_dialog.png" format="PNG" /></imageobject>
0411           <textobject><phrase>The preview dialog</phrase></textobject>
0412         </mediaobject>
0413       </screenshot>
0414       <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. You can go one level up by using the <guibutton>Up</guibutton> button and reload the contents of the current folder by pressing the <guibutton>Reload</guibutton> button. The current location is displayed in the combo box on the right hand side. You can also access already visited folders with it.</para>
0415       <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_page_network_samba_behavior">configuration dialog</link>. File transfers or the like are not possible.</para>
0416     </sect2>
0417 
0418 <!-- 
0419       Using Smb4K : The Network Neighborhood Browser : Providing Authentication Information 
0420   -->
0421 
0422     <sect2 id="network_neighborhood_browser_authentication">
0423       <title>Providing Authentication Information</title>
0424 
0425       <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>
0426       <screenshot>
0427         <screeninfo>Screenshot of the authentication dialog</screeninfo>
0428         <mediaobject>
0429           <imageobject><imagedata fileref="network_neighborhood_browser_authentication_dialog.png" format="PNG" /></imageobject>
0430           <textobject><phrase>The authentication dialog</phrase></textobject>
0431         </mediaobject>
0432       </screenshot>
0433       <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 commits 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 at all. In the latter case you have to provide them <emphasis>every time</emphasis> they are needed.</para>
0434     </sect2>
0435 
0436 <!-- 
0437       Using Smb4K : The Network Neighborhood Browser : Defining Custom Options 
0438   -->
0439 
0440     <sect2 id="network_neighborhood_browser_defining_custom_options">
0441       <title>Defining Custom Options</title>
0442 
0443       <para>Use the <guilabel>Custom Options</guilabel> dialog if you want to</para>
0444       <itemizedlist>
0445         <listitem><para>define custom mount or Samba options for a single server or share that deviate from the ones defined in the configuration dialog,</para></listitem>
0446         <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_page_network_wake_on_lan">here</link>),</para></listitem>
0447         <listitem><para>always mount a certain share on start-up or if the corresponding profile is loaded.</para></listitem>
0448       </itemizedlist>
0449       <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. Depending on your selection, the settings either apply to all shares of a server or to a single one. </para>
0450 
0451       <screenshot>
0452         <screeninfo>Screenshot of the custom options dialog for a share</screeninfo>
0453         <mediaobject>
0454           <imageobject>
0455             <imagedata fileref="network_neighborhood_browser_custom_options_dialog.png" format="PNG" />
0456           </imageobject>
0457           <textobject>
0458             <phrase>The custom options dialog</phrase>
0459           </textobject>
0460         </mediaobject>
0461       </screenshot>
0462 
0463       <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>
0464       <note><para>Under BSD, the dialog contains less entries than if you run a different operating system, because several of the options are not supported.</para></note>
0465 
0466       <sect3 id="network_neighborhood_browser_defining_custom_options_mounting">
0467         <title>Mounting</title>
0468         
0469         <para>In this tab you can define settings related to mounting. Checking the <guibutton>Always remount this share</guibutton> button for a selected share leads to it being remounted on every program start. For information about all other settings see <link linkend="configuration_page_mounting">here</link>.</para>
0470       </sect3>
0471         
0472       <sect3 id="network_neighborhood_browser_defining_custom_options_samba">
0473         <title>Samba</title>
0474 
0475         <para>You can define the SMB port and if Kerberos should be used for authentication. For detailed information on these settings, please see <link linkend="configuration_page_network">here</link>.</para>
0476       </sect3>
0477 
0478       <sect3 id="network_neighborhood_browser_defining_custom_options_wol">
0479         <title>Wake-On-LAN</title>
0480     
0481         <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>
0482       </sect3>
0483     </sect2>
0484 
0485 <!-- 
0486       Using Smb4K : The Network Neighborhood Browser : Adding Bookmarks
0487   -->
0488 
0489     <sect2 id="network_neighborhood_browser_adding_bookmarks">
0490       <title>Adding Bookmarks</title>
0491 
0492       <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>
0493       <para>The bookmarks can be used to mount remote shares.</para>
0494     </sect2>
0495   </sect1>
0496 
0497 <!-- 
0498       Using Smb4K : The Mounted Shares View 
0499   -->
0500 
0501   <sect1 id="shares_view">
0502     <title>The Mounted Shares View</title>
0503 
0504     <para>In the shares view, you can interact with the mounted shares on your system.</para>
0505 
0506 <!-- 
0507       Using Smb4K : The Mounted Shares View : Different Views 
0508   -->
0509 
0510     <sect2 id="shares_view_views">
0511       <title>Different Views</title>
0512 
0513       <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>
0514       <para>The icon view:</para>
0515       <screenshot>
0516         <screeninfo>Screenshot of the shares icon view</screeninfo>
0517         <mediaobject>
0518           <imageobject>
0519             <imagedata fileref="shares_view_icon_view.png" format="PNG" />
0520           </imageobject>
0521           <textobject>
0522             <phrase>The shares icon view</phrase>
0523           </textobject>
0524         </mediaobject>
0525       </screenshot>
0526       <para>The list view:</para>
0527       <screenshot>
0528         <screeninfo>Screenshot of the shares list view</screeninfo>
0529         <mediaobject>
0530           <imageobject>
0531             <imagedata fileref="shares_view_list_view.png" format="PNG" />
0532           </imageobject>
0533           <textobject>
0534             <phrase>The shares list view</phrase>
0535           </textobject>
0536         </mediaobject>
0537       </screenshot>
0538 
0539       <para>You can switch between the two views by selecting either the appropriate entry in the <guimenuitem>View Modes</guimenuitem> submenu 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>
0540       <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_mounting_basic_settings_behavior">respective settings</link>.</para>
0541     </sect2>
0542 
0543 <!-- 
0544       Using Smb4K : The Mounted Shares View : Actions and Popup Menu
0545   -->
0546 
0547     <sect2 id="shares_view_actions_popup_menu">
0548       <title>Actions and Popup Menu</title>
0549 
0550       <para>For the shares view several actions are defined. They are present in the menubar under <guimenu>Shares</guimenu>, the toolbar and in its popup menu. The following ones are available:</para>
0551 
0552       <variablelist>
0553         <varlistentry>
0554           <term>
0555             <menuchoice><guimenuitem>View Modes</guimenuitem></menuchoice>
0556           </term>
0557           <listitem>
0558             <para>Choose the view mode from the submenu.</para>
0559             <variablelist>
0560               <varlistentry>
0561                 <term>
0562                   <menuchoice><guimenuitem>Icon View</guimenuitem></menuchoice>
0563                 </term>
0564                 <listitem>
0565                   <para>The shares are shown in an icon view.</para>
0566                 </listitem>
0567               </varlistentry>
0568               <varlistentry>
0569                 <term>
0570                   <menuchoice><guimenuitem>List View</guimenuitem></menuchoice>
0571                 </term>
0572                 <listitem>
0573                   <para>The shares are shown in a list view.</para>
0574                 </listitem>
0575               </varlistentry>
0576             </variablelist>
0577           </listitem>
0578         </varlistentry>
0579         <varlistentry>
0580           <term>
0581             <menuchoice>
0582               <shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut>
0583               <guimenuitem>Unmount</guimenuitem>
0584             </menuchoice>
0585           </term>
0586           <listitem>
0587             <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_mounting_basic_settings_behavior">settings</link> in the configuration dialog. If no share is selected in the shares view, this button is disabled.</para>
0588             <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_mounting_basic_settings_behavior">settings</link> in the configuration dialog.</para>
0589             <para>Read the <link linkend="shares_view_unmounting">Unmounting Shares</link> section for more details.</para>
0590           </listitem>
0591         </varlistentry>
0592         <varlistentry>
0593           <term>
0594             <menuchoice>
0595               <shortcut><keycombo action="simul">&Ctrl; <keycap>N</keycap></keycombo></shortcut>
0596               <guimenuitem>Unmount All</guimenuitem>
0597             </menuchoice>
0598           </term>
0599           <listitem>
0600             <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>
0601             <para>Read the <link linkend="shares_view_unmounting">Unmounting Shares</link> section for more details.</para>
0602           </listitem>
0603         </varlistentry>
0604         <varlistentry>
0605           <term>
0606             <menuchoice>
0607               <shortcut><keycombo action="simul">&Ctrl; <keycap>B</keycap></keycombo></shortcut>
0608               <guimenuitem>Add Bookmark</guimenuitem>
0609             </menuchoice>
0610           </term>
0611           <listitem>
0612             <para>Add a bookmark to the currently selected mounted shares. This action is disabled if no share is selected.</para>
0613             <para>Read the <link linkend="bookmarks_adding">Adding Bookmarks</link> section for more details.</para>
0614           </listitem>
0615         </varlistentry>
0616         <varlistentry>
0617           <term>
0618             <menuchoice>
0619               <shortcut><keycombo action="simul">&Ctrl; <keycap>Y</keycap></keycombo></shortcut>
0620               <guimenuitem>Synchronize</guimenuitem>
0621             </menuchoice>
0622           </term>
0623           <listitem>
0624             <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>
0625           </listitem>
0626         </varlistentry>
0627         <varlistentry>
0628           <term>
0629             <menuchoice>
0630               <shortcut><keycombo action="simul">&Ctrl; <keycap>L</keycap></keycombo></shortcut>
0631               <guimenuitem>Open with Konsole</guimenuitem>
0632             </menuchoice>
0633           </term>
0634           <listitem>
0635             <para>Open the base folder of a share in &konsole;. This menu item is useful if you need to run shell scripts, &etc;</para>
0636           </listitem>
0637         </varlistentry>
0638         <varlistentry>
0639           <term>
0640             <menuchoice>
0641               <shortcut><keycombo action="simul">&Ctrl; <keycap>I</keycap></keycombo></shortcut>
0642               <guimenuitem>Open with File Manager</guimenuitem>
0643             </menuchoice>
0644           </term>
0645           <listitem>
0646             <para>Open the contents of a share in the default file manager.</para>
0647           </listitem>
0648         </varlistentry>
0649       </variablelist>
0650 
0651       <para>The popup menu includes all actions that can be performed on a mounted share:</para>
0652       <screenshot>
0653         <screeninfo>Screenshot of the popup menu of the shares view</screeninfo>
0654         <mediaobject>
0655           <imageobject>
0656             <imagedata fileref="shares_view_popup_menu.png" format="PNG" />
0657           </imageobject>
0658           <textobject>
0659             <phrase>The popup menu of the shares view</phrase>
0660           </textobject>
0661         </mediaobject>
0662       </screenshot>
0663       <para>It can be opened by clicking the right mouse button.</para>
0664     </sect2>
0665 
0666 <!-- 
0667       Using Smb4K : The Mounted Shares View : Tooltips 
0668   -->
0669 
0670     <sect2 id="shares_view_tooltips">
0671       <title>Tooltips</title>
0672 
0673       <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>
0674       <para>Tooltips are enabled by default. You can deactivate them in the <link linkend="configuration_page_user_interface_shares_view">configuration dialog</link>.</para>
0675     </sect2>
0676 
0677 <!-- 
0678       Using Smb4K : The Mounted Shares View : Inaccessible Shares 
0679   -->
0680 
0681     <sect2 id="shares_view_inaccessible_shares">
0682       <title>Inaccessible Shares</title>
0683 
0684       <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>
0685       <note><para>The program might freeze for a short period of time due to an inaccessible share. It will recover afterwards.</para></note>
0686     </sect2>
0687 
0688 <!-- 
0689       Using Smb4K : The Mounted Shares View : Icons 
0690   -->
0691 
0692     <sect2 id="shares_view_icons">
0693       <title>Icons</title>
0694 
0695       <para>Three different icons may be presented to the user:</para>
0696       <screenshot>
0697         <screeninfo>Screenshot of three different icons</screeninfo>
0698         <mediaobject>
0699           <imageobject>
0700             <imagedata fileref="shares_view_icons.png" format="PNG" />
0701           </imageobject>
0702           <textobject>
0703             <phrase>Three different icons</phrase>
0704           </textobject>
0705         </mediaobject>
0706       </screenshot>
0707       <itemizedlist>
0708         <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 synchronize it. You will only be able to unmount it or add a bookmark.</para></listitem>
0709         <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>
0710         <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_mounting_basic_settings_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_mounting_basic_settings_behavior">change this behavior</link>, too.</para></listitem>
0711       </itemizedlist>
0712     </sect2>
0713 
0714 <!-- 
0715       Using Smb4K : The Mounted Shares View : Drag-and-Drop 
0716   -->
0717 
0718     <sect2 id="shares_view_drag_and_drop">
0719       <title>Drag-and-Drop</title>
0720 
0721       <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>
0722       <screenshot>
0723         <screeninfo>Screenshot of the shares view after the user dropped a file</screeninfo>
0724         <mediaobject>
0725           <imageobject>
0726             <imagedata fileref="shares_view_drop_popup_menu.png" format="PNG" />
0727           </imageobject>
0728           <textobject>
0729             <phrase>A popup menu opened after the user dropped a file onto a share</phrase>
0730           </textobject>
0731         </mediaobject>
0732       </screenshot>
0733       <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>
0734       <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>
0735     </sect2>
0736 
0737 <!-- 
0738       Using Smb4K : The Mounted Shares View : Unmounting Shares 
0739   -->
0740 
0741     <sect2 id="shares_view_unmounting">
0742       <title>Unmounting Shares</title>
0743 
0744       <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_mounting_basic_settings_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>
0745       <screenshot>
0746         <screeninfo>Screenshot of the warning dialog that is shown when a foreign share is to be unmounted</screeninfo>
0747         <mediaobject>
0748           <imageobject>
0749             <imagedata fileref="shares_view_warning_dialog_foreign_share.png" format="PNG" />
0750           </imageobject>
0751           <textobject>
0752             <phrase>The warning dialog that is shown when unmounting foreign shares</phrase>
0753           </textobject>
0754         </mediaobject>
0755       </screenshot>
0756       <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>
0757       <para>Inaccessible shares are unmounted with a "normal" unmount by default. If this should fail, you can <link linkend="configuration_page_mounting_basic_settings_behavior">configure</link> &smb4k; so as to perform a <ulink url="man:/umount">lazy unmount</ulink> on inaccessible shares (&Linux; only).</para>
0758       <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>
0759       <para>After a successful unmount process, the user is notified. If unmounting fails, a notification with the returned error message will be shown.</para>
0760     </sect2>
0761 
0762 <!-- 
0763       Using Smb4K : The Mounted Shares View : Synchronization 
0764   -->
0765 
0766     <sect2 id="shares_view_synchronization">
0767       <title>Synchronization</title>
0768 
0769       <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_basic_settings_default_destination">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>
0770       <screenshot>
0771         <screeninfo>Screenshot of the synchronization input dialog</screeninfo>
0772         <mediaobject>
0773           <imageobject>
0774             <imagedata fileref="shares_view_synchronization_input_dialog.png" format="PNG" />
0775           </imageobject>
0776           <textobject>
0777             <phrase>&URL; requester for sync'ing</phrase>
0778           </textobject>
0779         </mediaobject>
0780       </screenshot>
0781       <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>
0782       <screenshot>
0783         <screeninfo>Screenshot of the synchronization progress dialog</screeninfo>
0784         <mediaobject>
0785           <imageobject>
0786             <imagedata fileref="synchronization_progress.png" format="PNG" />
0787           </imageobject>
0788           <textobject>
0789             <phrase>Progress dialog</phrase>
0790           </textobject>
0791         </mediaobject>
0792       </screenshot>
0793       <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>
0794       <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>
0795 
0796       <note>
0797         <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>
0798         <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 finished.</para>
0799       </note>
0800     </sect2>
0801 
0802 <!-- 
0803       Using Smb4K : The Mounted Shares View : Opening a Share 
0804   -->
0805 
0806     <sect2 id="shares_view_opening_share">
0807       <title>Opening a Share</title>
0808 
0809       <para>&smb4k; provides two possibilities to open a mounted share:</para>
0810       <itemizedlist>
0811         <listitem><formalpara><title>Open a share with &konsole;</title>
0812           <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>
0813         </formalpara></listitem>
0814         <listitem><formalpara><title>Open a share with the default file manager</title>
0815           <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>
0816         </formalpara></listitem>
0817       </itemizedlist>
0818       <note><para>If a share is marked as inaccessible, it cannot be opened.</para></note>
0819     </sect2>
0820   </sect1>
0821 
0822 <!-- 
0823       Using Smb4K : The System Tray Widget 
0824   -->
0825 
0826   <sect1 id="systemtray">
0827     <title>The System Tray Widget</title>
0828 
0829 <!-- 
0830       Using Smb4K : The System Tray Widget : Location and Usage 
0831   -->
0832 
0833     <sect2 id="systemtray_location_usage">
0834       <title>Location and Usage</title>
0835 
0836       <para>When &smb4k; is started, a status icon appears in your system tray. Its status is set to active if workgroups or domains were discovered in your network neighborhood. Otherwise it is set to inactive.</para>
0837 
0838       <screenshot>
0839         <screeninfo>Screenshot of the system tray widget</screeninfo>
0840         <mediaobject>
0841           <imageobject><imagedata fileref="systemtray_location.png" format="PNG" /></imageobject>
0842           <textobject><phrase>System tray widget</phrase></textobject>
0843         </mediaobject>
0844       </screenshot>
0845 
0846       <para>By left clicking the (active) 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>
0847     </sect2>
0848 
0849 <!-- 
0850       Using Smb4K : The System Tray Widget : Menus and Menu Items 
0851   -->
0852 
0853     <sect2 id="systemtray_menus">
0854       <title>Menus and Menu Items</title>
0855 
0856       <para>The <guimenuitem>Mounted Shares</guimenuitem> menu lists all mounted shares and some actions that can be performed on them.</para>
0857 
0858       <screenshot>
0859         <screeninfo>Screenshot of the Mounted Shares popup menu of the system tray widget</screeninfo>
0860         <mediaobject>
0861           <imageobject><imagedata fileref="systemtray_mounted_shares_menu.png" format="PNG" /></imageobject>
0862           <textobject><phrase>System tray widget's Mounted Shares menu</phrase></textobject>
0863         </mediaobject>
0864       </screenshot>
0865 
0866       <variablelist>
0867         <varlistentry>
0868           <term>
0869             <menuchoice><guimenuitem>Unmount All</guimenuitem></menuchoice>
0870           </term>
0871           <listitem>
0872             <para>Unmount all shares at once. Depending on your <link linkend="configuration_page_mounting_basic_settings_behavior">settings</link>, &smb4k; attempts to unmount either only those shares that are owned by you or all that are listed.</para>
0873           </listitem>
0874         </varlistentry>
0875       </variablelist>
0876     
0877       <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>
0878 
0879       <variablelist>
0880         <varlistentry>
0881           <term>
0882             <menuchoice><guimenuitem>Unmount</guimenuitem></menuchoice>
0883           </term>
0884           <listitem>
0885             <para>Unmount the share.</para>
0886           </listitem>
0887         </varlistentry>
0888         <varlistentry>
0889           <term>
0890             <menuchoice><guimenuitem>Add Bookmark</guimenuitem></menuchoice>
0891           </term>
0892           <listitem>
0893             <para>Add the selected share to the bookmarks.</para>
0894           </listitem>
0895         </varlistentry>
0896         <varlistentry>
0897           <term>
0898             <menuchoice><guimenuitem>Synchronize</guimenuitem></menuchoice>
0899           </term>
0900           <listitem>
0901             <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>
0902           </listitem>
0903         </varlistentry>
0904         <varlistentry>
0905           <term>
0906             <menuchoice><guimenuitem>Open with &konsole;</guimenuitem></menuchoice>
0907           </term>
0908           <listitem>
0909             <para>Open the base folder of the share in &konsole;.</para>
0910           </listitem>
0911         </varlistentry>
0912         <varlistentry>
0913           <term>
0914             <menuchoice><guimenuitem>Open with File Manager</guimenuitem></menuchoice>
0915           </term>
0916           <listitem>
0917             <para>Open the contents of the share in the default file manager (&eg; &dolphin;).</para>
0918           </listitem>
0919         </varlistentry>
0920       </variablelist>
0921 
0922       <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>
0923 
0924       <screenshot>
0925         <screeninfo>Screenshot of the Bookmarks menu of the system tray widget</screeninfo>
0926         <mediaobject>
0927           <imageobject><imagedata fileref="systemtray_bookmarks_menu.png" format="PNG" /></imageobject>
0928           <textobject><phrase>System tray widget's Bookmarks menu</phrase></textobject>
0929         </mediaobject>
0930       </screenshot>
0931 
0932       <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>
0933       <para>In the <guimenuitem>Profiles</guimenuitem> menu, all <link linkend="profiles">defined</link> profiles are listed:</para>
0934 
0935       <screenshot>
0936         <screeninfo>Screenshot of the Profiles menu of the system tray widget</screeninfo>
0937         <mediaobject>
0938           <imageobject><imagedata fileref="systemtray_profiles_menu.png" format="PNG" /></imageobject>
0939           <textobject><phrase>System tray widget's Profiles menu</phrase></textobject>
0940         </mediaobject>
0941       </screenshot>
0942 
0943       <para>You can activate a profile by clicking it. The profiles can be <link linkend="profiles">managed</link> via the <link linkend="configuration_page_profiles">configuration dialog</link>.</para>
0944       <para>The other menu entries are:</para>
0945 
0946       <variablelist>
0947         <varlistentry>
0948           <term>
0949             <menuchoice><guimenuitem>Open Mount Dialog</guimenuitem></menuchoice>
0950           </term>
0951           <listitem>
0952             <para>Open the <link linkend="network_neighborhood_browser_mounting">dialog</link> for "manual" mounts.</para>
0953           </listitem>
0954         </varlistentry>
0955         <varlistentry>
0956           <term>
0957             <menuchoice><guimenuitem>Configure &smb4k;...</guimenuitem></menuchoice>
0958           </term>
0959           <listitem>
0960             <para>Open the configuration dialog. See <link linkend="configuration">here</link> for a full list of available settings.</para>
0961           </listitem>
0962         </varlistentry>
0963         <varlistentry>
0964           <term>
0965             <menuchoice><guimenuitem>Minimize | Restore</guimenuitem></menuchoice>
0966           </term>
0967           <listitem>
0968             <para>Hide (minimize) or show (restore) the main window. Which text is shown depends on the state of the main window.</para>
0969           </listitem>
0970         </varlistentry>
0971         <varlistentry>
0972           <term>
0973             <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>Q</keycap></keycombo></shortcut><guimenuitem>Quit</guimenuitem></menuchoice>
0974           </term>
0975           <listitem>
0976             <para>Quit the application.</para>
0977           </listitem>
0978         </varlistentry>
0979       </variablelist>
0980     </sect2>
0981   </sect1>
0982 
0983 <!-- 
0984       Using Smb4K : The Plasmoid 
0985   -->
0986 
0987 <sect1 id="plasmoid">
0988   <title>The &plasmoid;</title>
0989 
0990   <para>&smb4k; comes with a &plasmoid; that can be added as a widget to the desktop or the panel. It consists of five tabs: <guilabel>Network Neighborhood</guilabel>, <guilabel>Mounted Shares</guilabel>, <guilabel>Bookmarks</guilabel>, <guilabel>Profiles</guilabel>, and <guilabel>Configuration</guilabel>.</para>
0991 
0992   <screenshot>
0993     <screeninfo>Screenshot of the plasmoid on the desktop</screeninfo>
0994     <mediaobject>
0995       <imageobject><imagedata fileref="plasmoid.png" format="PNG" /></imageobject>
0996       <textobject><phrase>Screenshot of the plasmoid</phrase></textobject>
0997     </mediaobject>
0998   </screenshot>
0999 
1000 <!-- 
1001       Using Smb4K : The Plasmoid : Network Neighborhood Tab 
1002   -->
1003 
1004   <sect2 id="plasmoid_network_neighborhood">
1005     <title>Network Neighborhood Tab</title>
1006 
1007     <para>On the <guilabel>Network Neighborhood</guilabel> page the network items are arranged in a list view:</para>
1008 
1009     <screenshot>
1010       <screeninfo>Screenshot of the plasmoid's network neighborhood tab</screeninfo>
1011       <mediaobject>
1012         <imageobject><imagedata fileref="plasmoid_network_neighborhood_tab.png" format="PNG" /></imageobject>
1013         <textobject><phrase>Bookmarks tab of the plasmoid</phrase></textobject>
1014       </mediaobject>
1015     </screenshot>
1016 
1017     <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>
1018     <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 are additional buttons for <link linkend="network_neighborhood_browser_previewing">previewing the content of the selected share</link> and for <link linkend="bookmarks_adding">adding it to the bookmarks</link>, respectively. The action buttons are transparent by default and change to opaque when you move the mouse over them. By left clicking, you initiate the respective action.</para>
1019     <para>Besides the <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>
1020   </sect2>
1021 
1022 <!-- 
1023       Using Smb4K : The Plasmoid : Mounted Shares Tab 
1024   -->
1025 
1026   <sect2 id="plasmoid_mounted_shares">
1027     <title>Mounted Shares Tab</title>
1028 
1029     <para>On the <guilabel>Mounted Shares</guilabel> page all mounted shares are listed:</para>
1030 
1031     <screenshot>
1032       <screeninfo>Screenshot of the plasmoid's mounted shares tab</screeninfo>
1033       <mediaobject>
1034         <imageobject><imagedata fileref="plasmoid_mounted_shares_tab.png" format="PNG" /></imageobject>
1035         <textobject><phrase>Bookmarks tab of the plasmoid</phrase></textobject></mediaobject>
1036     </screenshot>
1037 
1038     <para>Right to the name of the share and its host, three action buttons are arranged. The first one is for <link linkend="bookmarks_adding">adding a bookmark</link>, the second for <link linkend="shares_view_synchronization">synchronization</link> and the third for <link linkend="shares_view_unmounting">unmounting the share</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>
1039     <para>The toolbar only contains the <guibutton>Unmount All</guibutton> action that lets you unmount all shares at once.</para>
1040   </sect2>
1041 
1042 <!-- 
1043       Using Smb4K : The Plasmoid : Bookmarks Tab 
1044   -->
1045 
1046   <sect2 id="plasmoid_bookmarks">
1047     <title>Bookmarks Tab</title>
1048 
1049     <para>On the <guilabel>Bookmarks</guilabel> page, the bookmark groups and bookmarks defined for the currently active profile are listed:</para>
1050     
1051     <screenshot>
1052       <screeninfo>Screenshot of the plasmoid's bookmarks tab</screeninfo>
1053       <mediaobject>
1054         <imageobject><imagedata fileref="plasmoid_bookmarks_tab.png" format="PNG" /></imageobject>
1055         <textobject><phrase>Bookmarks tab of the plasmoid</phrase></textobject>
1056       </mediaobject>
1057     </screenshot>
1058 
1059     <para>Bookmarked shares can be mounted by left clicking the respective bookmark. Bookmark groups can be entered the same way.</para>
1060     <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>
1061   </sect2>
1062 
1063 <!-- 
1064       Using Smb4K : The Plasmoid : Profiles Tab 
1065   -->
1066 
1067   <sect2 id="plasmoid_profiles">
1068     <title>Profiles Tab</title>
1069   
1070     <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>
1071   
1072     <screenshot>
1073       <screeninfo>Screenshot of the plasmoid's profiles tab</screeninfo>
1074       <mediaobject>
1075         <imageobject><imagedata fileref="plasmoid_profiles_tab.png" format="PNG" /></imageobject>
1076         <textobject><phrase>Profiles tab of the plasmoid</phrase></textobject>
1077       </mediaobject>
1078     </screenshot>
1079   
1080     <para>You can activate a certain profile by clicking it.</para>
1081     <para>Profiles can be <link linkend="profiles">managed</link> via the <link linkend="configuration_page_profiles">configuration dialog</link>.</para>
1082   </sect2>
1083   
1084 <!--
1085       Using Smb4K : The Plasmoid : Configuration Tab
1086   -->
1087   
1088   <sect2 id="plasmoid_configuration">
1089     <title>Configuration Tab</title>
1090     
1091     <para>To configure the behavior of &smb4k;, you can launch the <link linkend="configuration">configuration dialog</link> on the <guilabel>Configuration</guilabel> page.</para>
1092     
1093     <screenshot>
1094       <screeninfo>Screenshot of the plasmoid's configuration tab</screeninfo>
1095       <mediaobject>
1096         <imageobject><imagedata fileref="plasmoid_configuration_tab.png" format="PNG" /></imageobject>
1097         <textobject><phrase>Configuration tab of the plasmoid</phrase></textobject>
1098       </mediaobject>
1099     </screenshot>
1100     
1101     <note>
1102       <para>You should not open a configuration dialog through the main application and the &plasmoid; at the same time, because they might interfere with each other.</para>
1103     </note>
1104   </sect2>
1105   
1106 </sect1>
1107 
1108 <!-- 
1109       Using Smb4K : Bookmarks 
1110   -->
1111 
1112   <sect1 id="bookmarks">
1113     <title>Bookmarks</title>
1114 
1115 <!--
1116       Using Smb4K : Bookmarks : Adding Bookmarks
1117   -->
1118   
1119     <sect2 id="bookmarks_adding">
1120       <title>Adding Bookmarks</title>
1121 
1122       <para>You can add bookmarks to your favorite shares from within the <link linkend="network_neighborhood_browser">network neighborhood browser</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>
1123 
1124       <screenshot>
1125         <screeninfo>Screenshot of the bookmarks addition dialog</screeninfo>
1126         <mediaobject>
1127           <imageobject><imagedata fileref="bookmarks_add_bookmark_dialog.png" format="PNG" /></imageobject>
1128           <textobject><phrase>Bookmarks addition dialog</phrase></textobject>
1129         </mediaobject>
1130       </screenshot>
1131 
1132       <para>Adding a group may help you to organize the bookmarks. In the bookmark menu, all bookmarks belonging to one group are arranged in a submenu with the group entry as parent (see <link linkend="bookmarks_menu">below</link>).</para>
1133       <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 location by default. If you want to change this behavior, you can do so in the <link linkend="configuration_page_user_interface_main_window">configuration dialog</link>.</para>
1134     </sect2>
1135     
1136 <!--
1137       Using Smb4K : Bookmarks : Accessing and Managing Bookmarks
1138   -->
1139 
1140     <sect2 id="bookmarks_menu">
1141       <title>Accessing and Managing Bookmarks</title>
1142 
1143       <para>In the main window, the bookmarks can be accessed and managed through the <guilabel>Bookmarks</guilabel> menu:</para>
1144 
1145       <screenshot>
1146         <screeninfo>Screenshot of the bookmark popup menu</screeninfo>
1147         <mediaobject>
1148           <imageobject><imagedata fileref="bookmarks_popup_menu.png" format="PNG" /></imageobject>
1149           <textobject><phrase>Bookmark popup menu</phrase></textobject>
1150         </mediaobject>
1151       </screenshot>
1152 
1153       <para>In the menu there are two static items available:</para>
1154 
1155       <variablelist>
1156         <varlistentry>
1157           <term>
1158             <menuchoice><guimenuitem>Edit Bookmarks</guimenuitem></menuchoice>
1159           </term>
1160           <listitem>
1161             <para>Open the <link linkend="bookmarks_editor">bookmark editor</link>. This action is disabled if there are no bookmarks.</para>
1162           </listitem>
1163         </varlistentry>
1164         <varlistentry>
1165           <term>
1166             <menuchoice>
1167               <shortcut><keycombo action="simul">&Ctrl; <keycap>B</keycap></keycombo></shortcut>
1168               <guimenuitem>Add Bookmark</guimenuitem>
1169             </menuchoice>
1170           </term>
1171           <listitem>
1172             <para>Add bookmarks to the selected shares. At least one share has to be selected to enable this action.</para>
1173           </listitem>
1174         </varlistentry>
1175       </variablelist>
1176 
1177       <para>In case you have not defined any groups, there is a third item:</para>
1178 
1179       <variablelist>
1180         <varlistentry>
1181           <term>
1182             <menuchoice><guimenuitem>Mount All Bookmarks</guimenuitem></menuchoice>
1183           </term>
1184           <listitem>
1185             <para>Mount all top-level bookmarks at once. It is disabled if all bookmarked shares are mounted.</para>
1186           </listitem>
1187         </varlistentry>
1188       </variablelist>
1189 
1190       <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 location 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>
1191       <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>
1192       <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 toolbar 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>
1193     </sect2>
1194     
1195 <!--
1196       Using Smb4K : Bookmarks : Editing Bookmarks
1197   -->
1198 
1199     <sect2 id="bookmarks_editor">
1200       <title>Editing Bookmarks</title>
1201 
1202       <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>
1203     
1204       <screenshot>
1205         <screeninfo>Screenshot of the bookmark editor</screeninfo>
1206         <mediaobject>
1207           <imageobject><imagedata fileref="bookmarks_editor.png" format="PNG" /></imageobject>
1208           <textobject><phrase>Bookmark editor</phrase></textobject>
1209         </mediaobject>
1210       </screenshot>
1211 
1212       <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>
1213       <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 location, but this can be changed in the <link linkend="configuration_page_user_interface_main_window">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>
1214       <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>
1215 
1216       <screenshot>
1217         <screeninfo>Screenshot of the popup menu of the bookmark editor</screeninfo>
1218         <mediaobject>
1219           <imageobject><imagedata fileref="bookmarks_editor_popup_menu.png" format="PNG" /></imageobject>
1220           <textobject><phrase>Popup menu of the bookmark editor</phrase></textobject>
1221         </mediaobject>
1222       </screenshot>
1223 
1224       <variablelist>
1225         <varlistentry>
1226           <term>
1227             <menuchoice><guimenuitem>Add Group</guimenuitem></menuchoice>
1228           </term>
1229           <listitem>
1230             <para>Add a bookmark group. After you created a group, you can move bookmarks to it.</para>
1231           </listitem>
1232         </varlistentry>
1233         <varlistentry>
1234           <term>
1235             <menuchoice><guimenuitem>Remove</guimenuitem></menuchoice>
1236           </term>
1237           <listitem>
1238             <para>Remove a selected bookmark or group. In case of a group, all bookmarks stored under that group are also removed.</para>
1239           </listitem>
1240         </varlistentry>
1241         <varlistentry>
1242           <term>
1243             <menuchoice><guimenuitem>Clear</guimenuitem></menuchoice>
1244           </term>
1245           <listitem>
1246             <para>Remove all bookmarks from the tree view including all groups.</para>
1247           </listitem>
1248         </varlistentry>
1249       </variablelist>
1250       <para>After you finished editing, the changes can be committed by clicking the <guibutton>OK</guibutton> button.</para>
1251     </sect2>
1252   </sect1>
1253 
1254 <!-- 
1255       Using Smb4K : Profiles 
1256   -->
1257 
1258   <sect1 id="profiles">
1259     <title>Profiles</title>
1260     
1261     <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>
1262     <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>
1263   
1264 <!-- 
1265       Using Smb4K : Profiles : Enabling and Managing Profiles 
1266   -->
1267   
1268     <sect2 id="profiles_enable">
1269       <title>Enabling and Managing Profiles</title>
1270       <para>The use of different profiles can be enabled in the <link linkend="configuration_page_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>
1271       <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>
1272       <screenshot>
1273         <screeninfo>Screenshot of the Profiles configuration page (add profile)</screeninfo>
1274         <mediaobject>
1275           <imageobject>
1276             <imagedata fileref="configuration_page_profiles_add_profile.png" format="PNG" />
1277           </imageobject>
1278           <textobject>
1279             <phrase>Profiles configuration page (add profile)</phrase>
1280           </textobject>
1281         </mediaobject>
1282       </screenshot>
1283       <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>
1284       <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>
1285       <itemizedlist>
1286         <listitem><para>of a profile that is to be removed to another one</para></listitem>
1287         <listitem><para>of the default profile to a specific other profile</para></listitem>
1288         <listitem><para>of all profiles back to the default profile</para></listitem>
1289       </itemizedlist>
1290       <para>The following screenshot shows exemplarily the profile migration assistant after you enabled the use of profiles:</para>
1291       <screenshot>
1292         <screeninfo>Screenshot of the profile migration assistant</screeninfo>
1293         <mediaobject>
1294           <imageobject>
1295             <imagedata fileref="configuration_page_profiles_migration_assistant.png" format="PNG" />
1296           </imageobject>
1297           <textobject>
1298             <phrase>Profile Migration Assistant</phrase>
1299           </textobject>
1300         </mediaobject>
1301       </screenshot>
1302       <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. The first profile in the list is preselected. Clicking the <guibutton>OK</guibutton> button migrates the settings, clicking <guibutton>Cancel</guibutton> cancels the action.</para>
1303       <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>
1304     </sect2>
1305   
1306 <!-- 
1307       Using Smb4K : Profiles : Activating a Profile 
1308   -->
1309   
1310     <sect2 id="profiles_activate_profile">
1311       <title>Activating a Profile</title>
1312       <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>
1313       <para>When a profile is activated, several things happen:</para>
1314       <itemizedlist>
1315         <listitem><para>All currently mounted shares are unmounted and are scheduled for remount.</para></listitem>
1316         <listitem><para>All shares are remounted that were previously mounted under the activated profile.</para></listitem>
1317         <listitem><para>The bookmarks of this profile are loaded.</para></listitem>
1318         <listitem><para>The custom options of this profile are loaded.</para></listitem>
1319       </itemizedlist>
1320       <para>So, don't be surprised when things change when you selected a different profile ...</para>
1321     </sect2>
1322   </sect1>
1323 
1324 <!-- 
1325       Using Smb4K : Notifications 
1326   -->
1327 
1328   <sect1 id="notifications">
1329     <title>Notifications</title>
1330   
1331 <!-- 
1332       Using Smb4K : Notifications : Default Behavior
1333   -->
1334   
1335     <sect2 id="notifications_default_behavior">
1336       <title>Default Behavior</title>
1337       <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>
1338       <screenshot>
1339         <screeninfo>Screenshot of the notification after mounting a share</screeninfo>
1340         <mediaobject>
1341           <imageobject><imagedata fileref="notification_share_mounted.png" format="PNG" /></imageobject>
1342           <textobject><phrase>Notification after mounting a share</phrase></textobject>
1343         </mediaobject>
1344       </screenshot>
1345       <para>The default behavior of each notification can be changed via the <link linkend="notifications_manage">&systemsettings;</link>.</para>
1346     </sect2>
1347 
1348 <!-- 
1349       Using Smb4K : Notifications : Managing Notifications 
1350   -->
1351 
1352     <sect2 id="notifications_manage">
1353       <title>Managing Notifications</title>
1354       <para>Notifications can be managed via the &systemsettings;. To modify the behavior of a notification, navigate to the <guibutton>Notifications</guibutton> page. Under <guilabel>Event source</guilabel> select the <guilabel>Advanced Network Neighborhood Browser</guilabel> entry from the drop-down menu:</para>
1355       <screenshot>
1356         <screeninfo>Screenshot of the systemsettings notification module</screeninfo>
1357         <mediaobject>
1358           <imageobject><imagedata fileref="systemsettings_manage_notifications.png" format="PNG" /></imageobject>
1359           <textobject><phrase>Systemsettings notification module</phrase></textobject>
1360         </mediaobject>
1361       </screenshot>
1362       <para>All available notifications are shown in the list view and can be edited, enabled and disabled according to your liking.</para>
1363     </sect2>
1364   </sect1>
1365 
1366 <!-- 
1367       Using Smb4K : Special Remarks 
1368 -->
1369 
1370   <sect1 id="special_remarks">
1371     <title>Special Remarks</title>
1372   
1373 <!-- 
1374       Using Smb4K : Special Remarks : Problems Browsing the Network Neighborhood with &Samba; 4.7 and above
1375 -->
1376    
1377     <sect2 id="special_remarks_problems_browsing_samba_47">
1378       <title>Problems Browsing the Network Neighborhood with &Samba; 4.7 and above</title>
1379       
1380       <para>Since version 2.9.71, &smb4k; is using &Samba;'s client library (<application>libsmbclient</application>) to browse and search the network neighborhood and print files. With the &Samba; 4.7 release, the default protocol version has been set to SMB3 by the &Samba; team. Unfortunately, &Samba;'s client library cannot handle it correctly at the moment and browsing the network neighborhood will fail. For this reason, users of Samba 4.7 and above need to add the following setting to the [global] section of the <filename>smb.conf</filename> file to force &Samba; to use SMB1 (NT1) and, thus, fix the browsing of the network neighborhood:</para>
1381       
1382 <programlisting>[global]
1383 ...
1384 client max protocol = NT1
1385 ...</programlisting>
1386 
1387         <para>If you need help, you can consult the Samba Wiki's <ulink url="https://wiki.samba.org/index.php/User_Documentation">User Documentation</ulink> section for further information.</para>
1388     </sect2>
1389     
1390 <!--
1391     Using Smb4K : Special Remarks : Denied Privilege Escalation
1392 -->
1393     
1394     <sect2 id="special_remarks_polkit-1">
1395       <title>Denied Privilege Escalation</title>
1396       
1397       <para>In case the mount and unmount actions fail (most likely with an <guilabel>AuthorizationDeniedError</guilabel> message), your polkit-1 setup might need to be adjusted: Add a file, &eg; named <filename>10-mounthelper.rules</filename>, to the <filename class="directory">$PREFIX/etc/polkit-1/rules.d/</filename> directory with the following content:</para>
1398 
1399 <programlisting>polkit.addRule(function(action, subject) {
1400         if (action.id == "org.kde.smb4k.mounthelper.mount" &amp;&amp; 
1401             subject.isInGroup("wheel")) {
1402                 return polkit.Result.YES;
1403         }
1404 });
1405 
1406 polkit.addRule(function(action, subject) {
1407         if (action.id == "org.kde.smb4k.mounthelper.unmount" &amp;&amp;
1408             subject.isInGroup("wheel")) {
1409                 return polkit.Result.YES;
1410         }
1411 });</programlisting>
1412       
1413       <para>This allows all users in the Unix group <emphasis>wheel</emphasis> to execute the mount and unmount action. You may adjust the group of authorized users to any group you need (&eg; <emphasis>sudo</emphasis> or <emphasis>operator</emphasis>).</para>
1414     </sect2>
1415   
1416 <!--
1417       Using Smb4K : Special Remarks : Mounting Problems under BSD
1418   -->
1419     
1420     <sect2 id="special_remarks_mounting_problems_under_bsd">
1421       <title>Mounting Problems Under BSD</title>
1422       
1423       <para>If mounting of password-protected shares from either a &Samba; or a &Windows; server fails, this might be due to the fact that <ulink url="man:/mount_smbfs"><citerefentry><refentrytitle>mount_smbfs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> only uses NTLMv1 authentication and the server does not support it. To fix mounting for a &Samba; server, you can add the following entry to the [global] section of the <filename>smb.conf</filename> file of <emphasis>the server</emphasis>:</para>
1424       
1425 <programlisting>[global]
1426 ...
1427 ntlm auth = yes
1428 ...
1429 </programlisting>
1430       
1431       <para>To fix this issue for a &Windows; server, please contact the sysadmin and tell her or him that NTLMv1 authentication should be swtiched on (if possible).</para>
1432     </sect2>
1433     
1434 <!-- 
1435       Using Smb4K : Special Remarks : Other Desktops Than Plasma
1436 -->
1437 
1438     <sect2 id="special_remarks_other_desktop_environments">
1439       <title>Other Desktop Environments Than &plasma;</title>
1440 
1441       <para>When using a different desktop environment than &plasma;, &Qt; and &kf5; applications might be missing the icons. In that case, you might want to install the application <application>qt5ct</application> (the source code can be obtained <ulink url="https://sourceforge.net/projects/qt5ct/">here</ulink>). To use <application>qt5ct</application> with your desktop environment, add the following line to your <filename>~/.xinitrc</filename> or <filename>~/.profile</filename> file:</para>
1442 <programlisting>export QT_QPA_PLATFORMTHEME=qt5ct</programlisting>
1443       <note>
1444         <para>Under NetBSD <application>qt5ct</application> might complain about a missing <filename>libfreetype.so.17</filename> or <filename>libGL.so.2</filename> shared library file and refuse to start. To fix this problem, create the <filename>/etc/ld.so.conf</filename> file and add the path <filename class="directory">/usr/X11R7/lib</filename> to it.</para>
1445       </note>
1446     </sect2>
1447   </sect1>
1448 </chapter>
1449 
1450 
1451 <!-- 
1452       Configuring Smb4K 
1453 -->
1454 
1455 <chapter id="configuration">
1456   <title>Configuring &smb4k;</title>
1457 
1458   <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>
1459 
1460 <!-- 
1461       Configuring Smb4K : User Interface 
1462   -->
1463 
1464   <sect1 id="configuration_page_user_interface">
1465     <title>User Interface</title>
1466 
1467     <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>
1468     <screenshot>
1469       <screeninfo>Screenshot of the "User Interface" configuration tab</screeninfo>
1470       <mediaobject>
1471         <imageobject><imagedata fileref="configuration_page_user_interface.png" format="PNG" /></imageobject>
1472         <textobject><phrase>The "Appearance" configuration tab</phrase></textobject>
1473       </mediaobject>
1474     </screenshot>
1475     
1476 <!--
1477       Configuring Smb4K : User Interface : Main Window
1478   -->
1479     <sect2 id="configuration_page_user_interface_main_window">
1480       <title>Main Window</title>
1481       
1482       <variablelist>
1483         <varlistentry>
1484           <term>
1485             <menuchoice><guibutton>Tab orientation</guibutton></menuchoice>
1486           </term>
1487           <listitem>
1488             <para>Define the location of the tabs if the dock widgets in the main window are arranged in tabs. The following values can be chosen:</para>
1489             <variablelist>
1490               <varlistentry>
1491                 <term>
1492                   <menuchoice><guibutton>Top</guibutton></menuchoice>
1493                 </term>
1494                 <listitem>
1495                   <para>The tabs are located at the top.</para>
1496                 </listitem>
1497               </varlistentry>
1498               <varlistentry>
1499                 <term>
1500                   <menuchoice><guibutton>Bottom</guibutton></menuchoice>
1501                 </term>
1502                 <listitem>
1503                   <para>The tabs are located at the bottom.</para>
1504                 </listitem>
1505               </varlistentry>
1506               <varlistentry>
1507                 <term>
1508                   <menuchoice><guibutton>Left</guibutton></menuchoice>
1509                 </term>
1510                 <listitem>
1511                   <para>The tabs are located on the left side.</para>
1512                 </listitem>
1513               </varlistentry>
1514               <varlistentry>
1515                 <term>
1516                   <menuchoice><guibutton>Right</guibutton></menuchoice>
1517                 </term>
1518                 <listitem>
1519                   <para>The tabs are located on the right side.</para>
1520                 </listitem>
1521               </varlistentry>
1522             </variablelist>
1523             <para>Default: <guibutton>Bottom</guibutton></para>
1524           </listitem>
1525         </varlistentry>
1526         <varlistentry>
1527           <term>
1528             <menuchoice><guibutton>Show custom bookmark label if available</guibutton></menuchoice>
1529           </term>
1530           <listitem>
1531             <para>The custom description (label) of the bookmark is shown. It can be defined in the <link linkend="bookmarks_editor">bookmark editor</link>.</para>
1532             <para>Default: selected</para>
1533           </listitem>
1534         </varlistentry>
1535       </variablelist>
1536     </sect2>
1537 
1538 <!-- 
1539       Configuring Smb4K : User Interface : Network Neighborhood 
1540   -->
1541 
1542     <sect2 id="configuration_page_user_interface_network">
1543       <title>Network Neighborhood</title>
1544 
1545       <variablelist>
1546         <varlistentry>
1547           <term>
1548             <menuchoice><guibutton>Automatically expand domains and hosts</guibutton></menuchoice>
1549           </term>
1550           <listitem>
1551             <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>
1552             <para>Default: selected</para>
1553           </listitem>
1554         </varlistentry>
1555         <varlistentry>
1556           <term>
1557             <menuchoice><guibutton>Show the type of the share</guibutton></menuchoice>
1558           </term>
1559           <listitem>
1560             <para>The type of the shares is shown (i. e. Disk, Printer, or IPC).</para>
1561             <para>Default: selected</para>
1562           </listitem>
1563         </varlistentry>
1564         <varlistentry>
1565           <term>
1566             <menuchoice><guibutton>Show the IP address of the server</guibutton></menuchoice>
1567           </term>
1568           <listitem>
1569             <para>The IP address of the remote servers is shown.</para>
1570             <para>Default: selected</para>
1571           </listitem>
1572         </varlistentry>
1573         <varlistentry>
1574           <term>
1575             <menuchoice><guibutton>Show the comment</guibutton></menuchoice>
1576           </term>
1577           <listitem>
1578             <para>The comment of a remote server or share is shown.</para>
1579             <para>Default: selected</para>
1580           </listitem>
1581         </varlistentry>
1582         <varlistentry>
1583           <term>
1584             <menuchoice><guibutton>Show tooltips for network items</guibutton></menuchoice>
1585           </term>
1586           <listitem>
1587             <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>
1588             <para>Default: selected</para>
1589           </listitem>
1590         </varlistentry>
1591       </variablelist>
1592     </sect2>
1593 
1594 <!-- 
1595       Configuring Smb4K : User Interface : Shares View 
1596   -->
1597 
1598     <sect2 id="configuration_page_user_interface_shares_view">
1599       <title>Shares View</title>
1600   
1601       <variablelist>
1602         <varlistentry>
1603           <term>
1604             <menuchoice><guibutton>View mode of the shares view</guibutton></menuchoice>
1605           </term>
1606           <listitem>
1607             <para>Define the view mode of the shares view.</para>
1608             <para>The following modes are defined:</para>
1609             <variablelist>
1610               <varlistentry>
1611                 <term>
1612                   <menuchoice><guibutton>Icon View</guibutton></menuchoice>
1613                 </term>
1614                 <listitem>
1615                   <para>The icon view mode</para>
1616                 </listitem>
1617               </varlistentry>
1618               <varlistentry>
1619                 <term>
1620                   <menuchoice><guibutton>List View</guibutton></menuchoice>
1621                 </term>
1622                 <listitem>
1623                   <para>The list view mode</para>
1624                 </listitem>
1625               </varlistentry>
1626             </variablelist>
1627             <para>Default: <guibutton>Icon View</guibutton></para>
1628           </listitem>
1629         </varlistentry>
1630         <varlistentry>
1631           <term>
1632             <menuchoice><guibutton>Show tooltips for mounted shares</guibutton></menuchoice>
1633           </term>
1634           <listitem>
1635             <para>A tooltip will be shown if you move the mouse pointer over an item in the shares view. It contains information about the mounted share such as the share name, UNC address, mount point, owner and group, login (&CIFS; file system, &Linux; only), disk usage, &etc;</para>
1636             <para>Default: selected</para>
1637           </listitem>
1638         </varlistentry>
1639       </variablelist>
1640     </sect2>
1641   </sect1>
1642 
1643 <!-- 
1644       Configuring Smb4K : Network 
1645 -->
1646 
1647   <sect1 id="configuration_page_network">
1648     <title>Network</title>
1649 
1650     <para>The options located here influence the network communication. You can modify the behavior of the underlying <application>libsmbclient</application> library in the <guibutton>Samba</guibutton> tab and enable the Wake-On-LAN features in the <guibutton>Wake-On-LAN</guibutton> tab.</para>
1651     
1652     <screenshot>
1653       <screeninfo>Screenshot of the "Network" configuration tab</screeninfo>
1654       <mediaobject>
1655         <imageobject><imagedata fileref="configuration_page_network.png" format="PNG" /></imageobject>
1656         <textobject><phrase>The "Network" configuration tab</phrase></textobject>
1657       </mediaobject>
1658     </screenshot>
1659 
1660 <!-- 
1661       Configuring Smb4K : Network : Samba (libsmbclient)
1662 -->
1663 
1664     <sect2 id="configuration_page_network_samba">
1665       <title>Samba</title>
1666       
1667       <sect3 id="configuration_page_network_samba_basic_settings">
1668         <title>Basic Settings</title>
1669 
1670         <variablelist>
1671           <varlistentry>
1672             <term>
1673               <menuchoice><guibutton>NetBIOS name</guibutton></menuchoice>
1674             </term>
1675             <listitem>
1676               <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>
1677               <para>Default: NetBIOS name defined in <filename>smb.conf</filename> or the hostname</para>
1678             </listitem>
1679           </varlistentry>
1680           <varlistentry>
1681             <term>
1682               <menuchoice><guibutton>Domain</guibutton></menuchoice>
1683             </term>
1684             <listitem>
1685               <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>
1686               <para>Default: domain name defined in <filename>smb.conf</filename></para>
1687             </listitem>
1688           </varlistentry>
1689           <varlistentry>
1690             <term>
1691               <menuchoice><guibutton>SMB port</guibutton></menuchoice>
1692             </term>
1693             <listitem>
1694               <para>Enabling this setting sets the remote SMB port number to communicate with a remote host to the value defined in the spin box. Under BSD, this is also the port that is used for mounting.</para>
1695               <para>Unless you are using a firewall or have a customized network setup, you do not need to change anything here.</para>
1696               <para>Default: 139</para>
1697             </listitem>
1698           </varlistentry>
1699           <varlistentry>
1700             <term>
1701               <menuchoice><guibutton>This computer is on a large network neighborhood</guibutton></menuchoice>
1702             </term>
1703             <listitem>
1704               <para>In the default configuration, all available master browsers are queried when the browse list is compiled. On large network neighborhoods this can be very time consuming. Enabling this setting restricts the query to three master browsers.</para>
1705               <para>Default: not selected</para>
1706             </listitem>
1707           </varlistentry>
1708         </variablelist>
1709       </sect3>
1710     
1711       <sect3 id="configuration_page_network_samba_authentication">
1712         <title>Authentication</title>
1713 
1714         <variablelist>
1715           <varlistentry>
1716             <term>
1717               <menuchoice><guibutton>Master browsers require authentication</guibutton></menuchoice>
1718             </term>
1719             <listitem>
1720               <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>
1721               <para>Default: not selected</para>
1722             </listitem>
1723           </varlistentry>
1724           <varlistentry>
1725             <term>
1726               <menuchoice><guibutton>Use Kerberos for authentication</guibutton></menuchoice>
1727             </term>
1728             <listitem>
1729               <para>Use Kerberos for authentication in an Active Directory environment.</para>
1730               <para>Default: not selected</para>
1731             </listitem>
1732           </varlistentry>
1733           <varlistentry>
1734             <term>
1735               <menuchoice><guibutton>Use Winbind ccache for authentication</guibutton></menuchoice>
1736             </term>
1737             <listitem>
1738               <para>Try to use the credentials cached by Winbind.</para>
1739               <para>Default: not selected</para>
1740             </listitem>
1741           </varlistentry>
1742         </variablelist>
1743       </sect3>
1744       
1745       <sect3 id="configuration_page_network_samba_security">
1746         <title>Security</title>
1747         
1748         <variablelist>
1749           <varlistentry>
1750             <term>
1751               <menuchoice><guibutton>Encryption level</guibutton></menuchoice>
1752             </term>
1753             <listitem>
1754               <para>Set the level of encryption that is used to make connections. The following settings can be chosen:</para>
1755               <variablelist>
1756                 <varlistentry>
1757                   <term>
1758                     <menuchoice><guilabel>None</guilabel></menuchoice>
1759                   </term>
1760                   <listitem>
1761                     <para>Encryption is not used.</para>
1762                   </listitem>
1763                 </varlistentry>
1764                 <varlistentry>
1765                   <term>
1766                     <menuchoice><guilabel>Request</guilabel></menuchoice>
1767                   </term>
1768                   <listitem>
1769                     <para>Encryption is requested.</para>
1770                   </listitem>
1771                 </varlistentry>
1772                 <varlistentry>
1773                   <term>
1774                     <menuchoice><guilabel>Require</guilabel></menuchoice>
1775                   </term>
1776                   <listitem>
1777                     <para>Encryption is required.</para>
1778                   </listitem>
1779                 </varlistentry>                
1780               </variablelist>
1781               <para>Default: <guilabel>None</guilabel></para>
1782             </listitem>
1783           </varlistentry>
1784         </variablelist>
1785         
1786       </sect3>     
1787 
1788       <sect3 id="configuration_page_network_samba_behavior">
1789         <title>Behavior</title>
1790     
1791         <variablelist>
1792           <varlistentry>
1793             <term>
1794               <menuchoice><guibutton>Detect printer shares</guibutton></menuchoice>
1795             </term>
1796             <listitem>
1797               <para>Printer shares are detected.</para>
1798               <para>Default: selected</para>
1799             </listitem>
1800           </varlistentry>
1801           <varlistentry>
1802             <term>
1803               <menuchoice><guibutton>Detect hidden shares</guibutton></menuchoice>
1804             </term>
1805             <listitem>
1806               <para>Hidden shares are detected. Hidden shares are ending with a $ sign, &eg; Musik$ or IPC$.</para>
1807               <para>Default: selected</para>
1808             </listitem>
1809           </varlistentry>
1810           <varlistentry>
1811             <term>
1812               <menuchoice><guibutton>Preview hidden files and directories</guibutton></menuchoice>
1813             </term>
1814             <listitem>
1815               <para>Show all files and directories including the hidden ones when opening a share's contents in the preview dialog.</para>
1816               <para>Default: not selected</para>
1817             </listitem>
1818           </varlistentry>
1819         </variablelist>
1820       </sect3>
1821     </sect2>
1822     
1823 <!-- 
1824       Configuring Smb4K : Network : Wake-On_LAN
1825 -->
1826 
1827     <sect2 id="configuration_page_network_wake_on_lan">
1828       <title>Wake-On-LAN</title>
1829 
1830       <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>
1831 
1832       <variablelist>
1833         <varlistentry>
1834           <term>
1835             <menuchoice><guibutton>Enable Wake-On-LAN features</guibutton></menuchoice>
1836           </term>
1837           <listitem>
1838             <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>
1839             <para>Default: not selected</para>
1840           </listitem>
1841         </varlistentry>
1842         <varlistentry>
1843           <term>
1844             <menuchoice><guibutton>Waiting time</guibutton></menuchoice>
1845           </term>
1846           <listitem>
1847             <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>
1848             <para>Default: 5 s</para>
1849           </listitem>
1850         </varlistentry>
1851       </variablelist>
1852     </sect2>
1853   </sect1>
1854 
1855 <!-- 
1856       Configuring Smb4K : Mounting 
1857 -->
1858 
1859   <sect1 id="configuration_page_mounting">
1860     <title>Mounting</title>
1861     
1862     <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>
1863       
1864     <screenshot>
1865       <screeninfo>Screenshot of the "Mounting" configuration page</screeninfo>
1866       <mediaobject>
1867         <imageobject><imagedata fileref="configuration_page_mounting.png" format="PNG" /></imageobject>
1868         <textobject><phrase>The "Mounting" configuration page</phrase></textobject>
1869       </mediaobject>
1870     </screenshot>
1871     
1872 <!--
1873       Configuring Smb4K : Mounting : Basic Settings
1874 -->
1875     
1876     <sect2 id="configuration_page_mounting_basic_settings">
1877       <title>Basic Settings</title>
1878       
1879       <para>The settings in this tab are the same for all supported operating systems.</para>
1880       
1881       <sect3 id="configuration_page_mounting_basic_settings_directories">
1882         <title>Directories</title>
1883 
1884         <variablelist>
1885           <varlistentry>
1886             <term>
1887               <menuchoice><guibutton>Mount prefix</guibutton></menuchoice>
1888             </term>
1889             <listitem>
1890               <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>
1891               <para>Default: <filename class="directory">$HOME/smb4k/</filename></para>
1892             </listitem>
1893           </varlistentry>
1894           <varlistentry>
1895             <term>
1896               <menuchoice><guibutton>Force generated subdirectories to be lower case</guibutton></menuchoice>
1897             </term>
1898             <listitem>
1899               <para>All subdirectories that are created by &smb4k; below the mount prefix will be lower case.</para>
1900               <para>Default: not selected</para>
1901             </listitem>
1902           </varlistentry>
1903         </variablelist>
1904       </sect3>
1905 
1906       <sect3 id="configuration_page_mounting_basic_settings_behavior">
1907         <title>Behavior</title>
1908 
1909         <variablelist>
1910           <varlistentry>
1911             <term>
1912               <menuchoice><guibutton>Remount shares</guibutton></menuchoice>
1913             </term>
1914             <listitem>
1915               <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>
1916               <note><para>This setting does not affect the automatic remounting of shares when your computer woke up from a sleep state.</para></note>
1917               <para>Default: not selected</para>
1918             </listitem>
1919           </varlistentry>
1920           <varlistentry>
1921             <term>
1922               <menuchoice><guilabel>Number of remount attempts</guilabel></menuchoice>
1923             </term>
1924             <listitem>
1925               <para>Set the number of attempts that are made to remount shares before Smb4K gives up.</para>
1926               <para>Default: 1</para>
1927             </listitem>
1928           </varlistentry>
1929           <varlistentry>
1930             <term>
1931               <menuchoice><guilabel>Interval between remount attempts</guilabel></menuchoice>
1932             </term>
1933             <listitem>
1934               <para>Set the time that elapses between attempts to remount shares.</para>
1935               <para>Default: 5 min</para>
1936             </listitem>
1937           </varlistentry>  
1938           <varlistentry>
1939             <term>
1940               <menuchoice><guibutton>Unmount all personal shares on exit</guibutton></menuchoice>
1941             </term>
1942             <listitem>
1943               <para>Unmount all shares that belong to you when the program exits. Shares that are owned by other users are ignored.</para>
1944               <para>Default: not selected</para>
1945             </listitem>
1946           </varlistentry>
1947           <varlistentry>
1948             <term>
1949               <menuchoice><guibutton>Force the unmounting of inaccessible shares</guibutton></menuchoice>
1950             </term>
1951             <listitem>
1952               <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>
1953               <para>Default: not selected</para>
1954             </listitem>
1955           </varlistentry>
1956           <varlistentry>
1957             <term>
1958               <menuchoice><guibutton>Allow the unmounting of shares that are owned by other users</guibutton></menuchoice>
1959             </term>
1960             <listitem>
1961               <para>This option will allow you to unmount shares that were mounted by other users.</para>
1962               <para>USE WITH EXTREME CAUTION!</para>
1963               <para>Default: not selected</para>
1964             </listitem>
1965           </varlistentry>
1966           <varlistentry>
1967             <term>
1968               <menuchoice><guibutton>Detect all shares that are mounted on the system</guibutton></menuchoice>
1969             </term>
1970             <listitem>
1971               <para>You will not only see the shares that were mounted and are owned by you, but also all other mounts using the SMBFS (BSD) and &CIFS; (&Linux;) file system that are present on the system.</para>
1972               <para>Default: not selected</para>
1973             </listitem>
1974           </varlistentry>  
1975         </variablelist>
1976       </sect3>
1977     </sect2>
1978   
1979 <!--
1980       Configuring Smb4K : Mounting : Common Mount Settings (Linux)
1981 -->
1982   
1983     <sect2 id="configuration_page_mounting_common_mount_settings">
1984       <title>Common Mount Settings (&Linux; only)</title>
1985       
1986       <para>The <guilabel>Common Mount Settings</guilabel> tab is only available under &Linux;. The settings present under BSD can be found in the <link linkend="configuration_page_mounting_mount_settings">Mount Settings (BSD only)</link> section.</para>
1987 
1988       <sect3 id="configuration_page_mounting_common_mount_settings_common_options">
1989         <title>Common Options</title>
1990 
1991         <variablelist>
1992           <varlistentry>
1993             <term>
1994               <menuchoice><guibutton>Write access</guibutton></menuchoice>
1995             </term>
1996             <listitem>
1997               <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>
1998               <para>Default: read-write</para>
1999             </listitem>
2000           </varlistentry>
2001           <varlistentry>
2002             <term>
2003               <menuchoice><guibutton>Client character set</guibutton></menuchoice>
2004             </term>
2005             <listitem>
2006               <para>Sets the character set used by the client side (&ie; your computer).</para>
2007               <para>Default: default</para>
2008             </listitem>
2009           </varlistentry>
2010           <varlistentry>
2011             <term>
2012               <menuchoice><guibutton>File system port</guibutton></menuchoice>
2013             </term>
2014             <listitem>
2015               <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>
2016               <para>This option is only available under &Linux;. Under BSD, the port for mounting shares is set with the <link linkend="configuration_page_network_samba_basic_settings"><guibutton>SMB port</guibutton></link> option.</para>
2017               <para>Default: 445</para>
2018             </listitem>
2019           </varlistentry>
2020         </variablelist>
2021       </sect3>
2022 
2023       <sect3 id="configuration_page_mounting_cifs_unix_extensions">
2024         <title>&CIFS; Unix Extensions Support</title>
2025         <variablelist>
2026         <varlistentry>
2027           <term>
2028             <menuchoice><guibutton>All or most of the servers support the &CIFS; Unix extensions</guibutton></menuchoice>
2029           </term>
2030           <listitem>
2031             <para>Most versions of Samba support the &CIFS; Unix or POSIX extensions. For these servers, some options are not needed, because the right values are negotiated during the mount process. For other servers, you might want to uncheck this option, so that predefined values can be passed to the server. Please note that if your computer is located in a Windows dominated network neighborhood with only a few Samba servers, you can safely uncheck this option and define custom options for the Samba servers.</para>
2032             <para>Default: not selected</para>
2033           </listitem>
2034         </varlistentry>
2035         <varlistentry>
2036           <term>
2037             <menuchoice><guibutton>User ID</guibutton></menuchoice>
2038           </term>
2039           <listitem>
2040             <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>
2041             <para>Default: your UID</para>
2042           </listitem>
2043         </varlistentry>
2044         <varlistentry>
2045           <term>
2046             <menuchoice><guibutton>Group ID</guibutton></menuchoice>
2047           </term>
2048           <listitem>
2049             <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>
2050             <para>Default: your GID</para>
2051           </listitem>
2052         </varlistentry>
2053         <varlistentry>
2054           <term>
2055               <menuchoice><guibutton>File mode</guibutton></menuchoice>
2056           </term>
2057           <listitem>
2058             <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 mode (file_mode), 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>
2059             <para>Default: 0755</para>
2060           </listitem>
2061         </varlistentry>
2062         <varlistentry>
2063           <term>
2064             <menuchoice><guibutton>Directory mode</guibutton></menuchoice>
2065           </term>
2066           <listitem>
2067             <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 directory mode (dir_mode), 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>
2068             <para>Default: 0755</para>
2069           </listitem>
2070         </varlistentry>
2071       </variablelist>
2072       </sect3>
2073     </sect2>
2074     
2075 <!--
2076       Configuring Smb4K : Mounting : Advanced Mount Settings (Linux)
2077 -->
2078 
2079     <sect2 id="configuration_page_mounting_advanced_mount_settings">
2080       <title>Advanced Mount Settings (&Linux; only)</title>
2081       
2082       <para>The <guilabel>Advanced Mount Settings</guilabel> tab is only available under &Linux;. The settings present under BSD can be found in the <link linkend="configuration_page_mounting_mount_settings">Mount Settings (BSD only)</link> section.</para>
2083       <para>Most of the options you can define here require &Linux; kernel 2.6.15 or later to work.</para>
2084       <variablelist>
2085         <varlistentry>
2086           <term>
2087             <menuchoice><guibutton>Definitely assign the UID</guibutton></menuchoice>
2088           </term>
2089           <listitem>
2090             <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>
2091             <para>Default: not selected</para>
2092           </listitem>
2093         </varlistentry>
2094         <varlistentry>
2095           <term>
2096             <menuchoice><guibutton>Definitely assign the GID</guibutton></menuchoice>
2097           </term>
2098           <listitem>
2099             <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>
2100             <para>Default: not selected</para>
2101           </listitem>
2102         </varlistentry>
2103         <varlistentry>
2104           <term>
2105             <menuchoice><guibutton>Do permission checks</guibutton></menuchoice>
2106           </term>
2107           <listitem>
2108             <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>
2109             <para>Default: selected</para>
2110           </listitem>
2111         </varlistentry>
2112         <varlistentry>
2113           <term>
2114             <menuchoice><guibutton>Attempt to set UID and GID</guibutton></menuchoice>
2115           </term>
2116           <listitem>
2117             <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>
2118             <para>Default: not selected</para>
2119           </listitem>
2120         </varlistentry>
2121         <varlistentry>
2122           <term>
2123             <menuchoice><guibutton>Use server inode numbers</guibutton></menuchoice>
2124           </term>
2125           <listitem>
2126             <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>
2127             <para>Default: selected</para>
2128           </listitem>
2129         </varlistentry>
2130         <varlistentry>
2131           <term>
2132             <menuchoice><guibutton>Translate reserved characters</guibutton></menuchoice>
2133           </term>
2134           <listitem>
2135             <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>
2136             <para>Default: not selected</para>
2137           </listitem>
2138         </varlistentry>
2139         <varlistentry>
2140           <term>
2141             <menuchoice><guibutton>Do not use locking</guibutton></menuchoice>
2142           </term>
2143           <listitem>
2144             <para>Do not use locking. Do not start lockd.</para>
2145             <para>Default: not selected</para>
2146           </listitem>
2147         </varlistentry>
2148         <varlistentry>
2149           <term>
2150             <menuchoice><guibutton>SMB protocol version</guibutton></menuchoice>
2151           </term>
2152           <listitem>
2153             <para>Define which version of the SMB protocol is to be used.</para>
2154             <para>The following values are allowed:</para>
2155             <variablelist>
2156               <varlistentry>
2157                 <term>
2158                   <menuchoice><guibutton>1.0 (Classic &CIFS;/SMBv1 protocol)</guibutton></menuchoice>
2159                 </term>
2160                 <listitem>
2161                   <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>
2162                 </listitem>
2163               </varlistentry>
2164               <varlistentry>
2165                 <term>
2166                   <menuchoice><guibutton>2.0 (Windows Vista SP1/Windows Server 2008)</guibutton></menuchoice>
2167                 </term>
2168                 <listitem>
2169                   <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>
2170                   <note>
2171                     <para>Note that the initial release version of Windows Vista spoke a slightly different dialect (2.000) that is not supported.</para>
2172                   </note>
2173                 </listitem>
2174               </varlistentry>
2175               <varlistentry>
2176                 <term>
2177                   <menuchoice><guibutton>2.1 (Windows 7/Windows Server 2008R2)</guibutton></menuchoice>
2178                 </term>
2179                 <listitem>
2180                   <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>
2181                 </listitem>
2182               </varlistentry>
2183               <varlistentry>
2184                 <term>
2185                   <menuchoice><guibutton>3.0 (Windows 8/Windows Server 2012)</guibutton></menuchoice>
2186                 </term>
2187                 <listitem>
2188                   <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>
2189                 </listitem>
2190               </varlistentry>
2191               <varlistentry>
2192                 <term>
2193                   <menuchoice><guibutton>3.1.1 (Windows Server 2016)</guibutton></menuchoice>
2194                 </term>
2195                 <listitem>
2196                   <para>The <option>vers=3.1.1</option> or <option>vers=3.11</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.1.1 protocol that was introduced in Windows Server 2016.</para>
2197                 </listitem>
2198               </varlistentry>
2199             </variablelist>
2200             <para>Default: <guibutton>3.0 (Windows 8/Windows Server 2016)</guibutton></para>
2201           </listitem>
2202         </varlistentry>
2203         <varlistentry>
2204           <term>
2205             <menuchoice><guibutton>Cache mode</guibutton></menuchoice>
2206           </term>
2207           <listitem>
2208             <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>
2209             <para>The following values are allowed:</para>
2210             <variablelist>
2211               <varlistentry>
2212                 <term>
2213                   <menuchoice><guibutton>Do not cache file data at all</guibutton></menuchoice>
2214                 </term>
2215                 <listitem>
2216                   <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>
2217                 </listitem>
2218               </varlistentry>
2219               <varlistentry>
2220                 <term>
2221                   <menuchoice><guibutton>Follow the &CIFS;/SMB2 protocol strictly</guibutton></menuchoice>
2222                 </term>
2223                 <listitem>
2224                   <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>
2225                 </listitem>
2226               </varlistentry>
2227               <varlistentry>
2228                 <term>
2229                   <menuchoice><guibutton>Allow loose caching semantics</guibutton></menuchoice>
2230                 </term>
2231                 <listitem>
2232                   <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>
2233                 </listitem>
2234               </varlistentry>
2235             </variablelist>
2236             <para>Default: <guibutton>Follow the &CIFS;/SMB2 protocol strictly</guibutton></para>
2237           </listitem>
2238         </varlistentry>
2239         <varlistentry>
2240           <term>
2241             <menuchoice><guibutton>Security mode</guibutton></menuchoice>
2242           </term>
2243           <listitem>
2244             <para>Security mode. To be able to use this option, the &CIFS; kernel module 1.40 or later is needed.</para>
2245             <para>The allowed values are:</para>
2246             <variablelist>
2247               <varlistentry>
2248                 <term>
2249                   <menuchoice><guibutton>Connect as a null user (no name)</guibutton></menuchoice>
2250                 </term>
2251                 <listitem>
2252                   <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>
2253                 </listitem>
2254               </varlistentry>
2255               <varlistentry>
2256                 <term>
2257                   <menuchoice><guibutton>Kerberos 5 authentication</guibutton></menuchoice>
2258                 </term>
2259                 <listitem>
2260                   <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>
2261                 </listitem>
2262               </varlistentry>
2263               <varlistentry>
2264                 <term>
2265                   <menuchoice><guibutton>Kerberos 5 authentication and packet signing</guibutton></menuchoice>
2266                 </term>
2267                 <listitem>
2268                   <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>
2269                 </listitem>
2270               </varlistentry>
2271               <varlistentry>
2272                 <term>
2273                   <menuchoice><guibutton>NTLM protocol</guibutton></menuchoice>
2274                 </term>
2275                 <listitem>
2276                   <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>
2277                 </listitem>
2278               </varlistentry>
2279               <varlistentry>
2280                 <term>
2281                   <menuchoice><guibutton>NTLM protocol and packet signing</guibutton></menuchoice>
2282                 </term>
2283                 <listitem>
2284                   <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>
2285                 </listitem>
2286               </varlistentry>
2287               <varlistentry>
2288                 <term>
2289                   <menuchoice><guibutton>NTLMv2 protocol</guibutton></menuchoice>
2290                 </term>
2291                 <listitem>
2292                   <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>
2293                 </listitem>
2294               </varlistentry>
2295               <varlistentry>
2296                 <term>
2297                   <menuchoice><guibutton>NTLMv2 protocol and packet signing</guibutton></menuchoice>
2298                 </term>
2299                 <listitem>
2300                   <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>
2301                 </listitem>
2302               </varlistentry>
2303               <varlistentry>
2304                 <term>
2305                   <menuchoice><guibutton>NTLMSSP protocol</guibutton></menuchoice>
2306                 </term>
2307                 <listitem>
2308                   <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>
2309                 </listitem>
2310               </varlistentry>
2311               <varlistentry>
2312                 <term>
2313                   <menuchoice><guibutton>NTLMSSP protocol and packet signing</guibutton></menuchoice>
2314                 </term>
2315                 <listitem>
2316                   <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>
2317                 </listitem>
2318               </varlistentry>
2319             </variablelist>
2320             <para>Default: <guibutton>NTLMSSP protocol</guibutton></para>
2321           </listitem>
2322         </varlistentry>
2323         <varlistentry>
2324           <term>
2325             <menuchoice><guibutton>Additional options</guibutton></menuchoice>
2326           </term>
2327           <listitem>
2328             <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>
2329             <para>Default: empty</para>
2330           </listitem>
2331         </varlistentry>
2332       </variablelist>
2333     </sect2>
2334     
2335 <!--
2336       Configuring Smb4K : Mounting : Mount Settings (BSD)
2337 -->
2338 
2339     <sect2 id="configuration_page_mounting_mount_settings">
2340       <title>Mount Settings (BSD only)</title>
2341       
2342       <para>The <guilabel>Mount Settings</guilabel> tab is only available under FreeBSD, NetBSD and DragonFly BSD. The settings present under &Linux; can be found in the <link linkend="configuration_page_mounting_common_mount_settings">Common Mount Settings (&Linux; only)</link> and <link linkend="configuration_page_mounting_advanced_mount_settings">Advanced Mount Settings (&Linux; only)</link> sections.</para>
2343       
2344       <sect3 id="configuration_page_mounting_mount_settings_common_options">
2345         <title>Common Options</title>
2346         
2347         <variablelist>
2348           <varlistentry>
2349             <term>
2350               <menuchoice><guibutton>User ID</guibutton></menuchoice>
2351             </term>
2352             <listitem>
2353               <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>
2354               <para>Default: your UID</para>
2355             </listitem>
2356           </varlistentry>
2357           <varlistentry>
2358             <term>
2359               <menuchoice><guibutton>Group ID</guibutton></menuchoice>
2360             </term>
2361             <listitem>
2362               <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>
2363               <para>Default: your GID</para>
2364             </listitem>
2365           </varlistentry>
2366           <varlistentry>
2367             <term>
2368                 <menuchoice><guibutton>File mode</guibutton></menuchoice>
2369             </term>
2370             <listitem>
2371               <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 mode, you should read the <ulink url="man:/mount_smbfs"><citerefentry><refentrytitle>mount_smbfs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> and <ulink url="man:/umask"><citerefentry><refentrytitle>umask</refentrytitle><manvolnum>2</manvolnum></citerefentry></ulink> manual pages.</para>
2372               <para>Default: 0755</para>
2373             </listitem>
2374           </varlistentry>
2375           <varlistentry>
2376             <term>
2377               <menuchoice><guibutton>Directory mode</guibutton></menuchoice>
2378             </term>
2379             <listitem>
2380               <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 directory mode (dir_mode), you should read the <ulink url="man:/mount_smbfs"><citerefentry><refentrytitle>mount_smbfs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> and <ulink url="man:/umask"><citerefentry><refentrytitle>umask</refentrytitle><manvolnum>2</manvolnum></citerefentry></ulink> manual pages.</para>
2381               <para>Default: 0755</para>
2382             </listitem>
2383           </varlistentry>
2384         </variablelist>
2385       </sect3>
2386       
2387       <sect3 id="configuration_page_mounting_mount_settings_character_sets">
2388         <title>Character Sets</title>
2389         
2390         <variablelist>
2391           <varlistentry>
2392             <term>
2393               <menuchoice><guibutton>Use character sets</guibutton></menuchoice>
2394             </term>
2395             <listitem>
2396               <para>Use the specified local and server's character sets (see below).</para>
2397               <para>Default: not selected</para>
2398             </listitem>
2399           </varlistentry>
2400           <varlistentry>
2401             <term>
2402               <menuchoice><guibutton>Client character set</guibutton></menuchoice>
2403             </term>
2404             <listitem>
2405               <para>Use the specified local character set.</para>
2406               <para>Default: <guilabel>default</guilabel></para>
2407             </listitem>
2408           </varlistentry>
2409           <varlistentry>
2410             <term>
2411               <menuchoice><guibutton>Server character set</guibutton></menuchoice>
2412             </term>
2413             <listitem>
2414               <para>Use the specified server's character set.</para>
2415               <para>Default: <guilabel>default</guilabel></para>
2416             </listitem>
2417           </varlistentry>
2418         </variablelist>
2419       </sect3>
2420     </sect2>
2421   </sect1>  
2422   
2423 <!-- 
2424       Configuration: Authentication 
2425 -->
2426 
2427   <sect1 id="configuration_page_authentication">
2428     <title>Authentication</title>
2429 
2430     <para>Here you can change the settings affecting the authentication.</para>
2431 
2432     <screenshot>
2433       <screeninfo>Screenshot of the "Authentication" configuration page</screeninfo>
2434       <mediaobject>
2435         <imageobject>
2436           <imagedata fileref="configuration_page_authentication.png" format="PNG" />
2437         </imageobject>
2438         <textobject>
2439           <phrase>The "Authentication" configuration page</phrase>
2440         </textobject>
2441       </mediaobject>
2442     </screenshot>
2443 
2444 <!-- 
2445       Configuring Smb4K : Authentication : General Settings
2446 -->
2447 
2448     <sect2 id="configuration_page_authentication_settings">
2449       <title>Settings</title>
2450       
2451       <variablelist>
2452         <varlistentry>
2453           <term>
2454             <menuchoice><guibutton>Save logins in a wallet</guibutton></menuchoice>
2455           </term>
2456           <listitem>
2457             <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>
2458             <para>Default: selected</para>
2459           </listitem>
2460         </varlistentry>
2461         <varlistentry>
2462           <term>
2463             <menuchoice><guibutton>Use a default login</guibutton></menuchoice>
2464           </term>
2465           <listitem>
2466             <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>
2467             <screenshot>
2468               <screeninfo>Screenshot of the default login input dialog</screeninfo>
2469               <mediaobject>
2470                 <imageobject><imagedata fileref="configuration_page_authentication_dialog_default_login.png" format="PNG" /></imageobject>
2471                 <textobject><phrase>The default login input dialog</phrase></textobject>
2472               </mediaobject>
2473             </screenshot>
2474             <para>You have to fill in at least the user name. Empty passwords are supported.</para>
2475             <para>Default: not selected</para>
2476           </listitem>
2477         </varlistentry>
2478       </variablelist>
2479     </sect2>
2480 
2481 <!-- 
2482       Configuring Smb4K : Authentication : Wallet Entries 
2483 -->
2484 
2485     <sect2 id="configuration_page_authentication_wallet_entries">
2486       <title>Wallet Entries</title>
2487       
2488       <para>In this editor you can modify or remove existing wallet entries. Before you can edit them, they have to be loaded from the wallet by pressing the <guibutton>Load</guibutton> button. The list of entries appears then in the left list view. An entry can be edited by selecting it and clicking the <guibutton>Details</guibutton> button on the right. The details are then shown and can be modified.</para>
2489       <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>
2490       <para>After you finished editing, the changes can be committed to the wallet by pressing <guibutton>Save</guibutton>.</para>
2491     </sect2>
2492   </sect1>
2493 
2494 <!-- 
2495       Configuring Smb4K : Synchronization 
2496 -->
2497 
2498   <sect1 id="configuration_page_synchronization">
2499     <title>Synchronization</title>
2500 
2501     <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>
2502 
2503     <screenshot>
2504       <screeninfo>Screenshot of the "Synchronization" configuration page</screeninfo>
2505       <mediaobject>
2506         <imageobject><imagedata fileref="configuration_page_synchronization.png" format="PNG" /></imageobject>
2507         <textobject><phrase>The "Synchronization" configuration page</phrase></textobject>
2508       </mediaobject>
2509     </screenshot>
2510 
2511 <!-- 
2512       Configuring Smb4K : Synchronization : Basic Settings
2513 -->
2514     
2515     <sect2 id="configuration_page_synchronisation_basic_settings">
2516       <title>Basic Settings</title>
2517       
2518       <sect3 id="configuration_page_synchronization_basic_settings_default_destination">
2519         <title>Default Destination</title>
2520 
2521         <variablelist>
2522           <varlistentry>
2523             <term>
2524               <menuchoice><guibutton>Synchronization prefix</guibutton></menuchoice>
2525             </term>
2526             <listitem>
2527               <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>
2528               <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>
2529               <para>Default: <filename class="directory">$HOME/smb4k_sync/</filename></para>
2530             </listitem>
2531           </varlistentry>
2532         </variablelist>
2533       </sect3>
2534       
2535       <sect3 id="configuration_page_synchronisation_basic_settings_behavior">
2536         <title>Behavior</title>
2537         
2538         <variablelist>
2539           <varlistentry>
2540             <term>
2541               <menuchoice><guibutton>Archive mode</guibutton></menuchoice>
2542             </term>
2543             <listitem>
2544               <para>Option: <option>-a</option>/<option>--archive</option>, same as <option>-rlptgoD</option> (no <option>-H</option>)</para>
2545               <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>
2546               <para>Default: selected</para>
2547             </listitem>
2548           </varlistentry>
2549           <varlistentry>
2550             <term>
2551               <menuchoice><guibutton>Recurse into subdirectories</guibutton></menuchoice>
2552             </term>
2553             <listitem>
2554               <para>Option: <option>-r</option>/<option>--recursive</option></para>
2555               <para>Recurse into subdirectories.</para>
2556               <para>Default: selected</para>
2557             </listitem>
2558           </varlistentry>
2559           <varlistentry>
2560             <term>
2561               <menuchoice><guibutton>Use relative path names</guibutton></menuchoice>
2562             </term>
2563             <listitem>
2564               <para>Option: <option>-R</option>/<option>--relative</option></para>
2565               <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>
2566               <para>Default: not selected</para>
2567             </listitem>
2568           </varlistentry>
2569           <varlistentry>
2570             <term>
2571               <menuchoice><guibutton>Do not send implied directories</guibutton></menuchoice>
2572             </term>
2573             <listitem>
2574               <para>Option: <option>--no-implied-dirs</option></para>
2575               <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>
2576               <para>For further information you ought to read the <ulink url="man:/rsync">manual page</ulink>.</para>
2577               <para>Default: not selected</para>
2578             </listitem>
2579           </varlistentry>
2580           <varlistentry>
2581             <term>
2582               <menuchoice><guibutton>Transfer directories without recursing</guibutton></menuchoice>
2583             </term>
2584             <listitem>
2585               <para>Option: <option>-d</option>/<option>--dirs</option></para>
2586               <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>
2587               <para>Default: not selected</para>
2588             </listitem>
2589           </varlistentry>
2590         </variablelist>
2591       </sect3>
2592       
2593       <sect3 id="configuration_page_synchronization_basic_settings_backup">
2594         <title>Backup</title>
2595 
2596         <variablelist>
2597           <varlistentry>
2598             <term>
2599               <menuchoice><guibutton>Make backups</guibutton></menuchoice>
2600             </term>
2601             <listitem>
2602               <para>Option: <option>-b</option>/<option>--backups</option></para>
2603               <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>
2604               <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>
2605               <para>Default: not selected</para>
2606             </listitem>
2607           </varlistentry>
2608           <varlistentry>
2609             <term>
2610               <menuchoice><guibutton>Backup suffix</guibutton></menuchoice>
2611             </term>
2612             <listitem>
2613               <para>Option: <option>--suffix=SUFFIX</option></para>
2614               <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>
2615               <para>This option is only available if you ticked the <guilabel>Make backups</guilabel> option above.</para>
2616               <para>Default: not selected; SUFFIX: ~</para>
2617             </listitem>
2618           </varlistentry>
2619           <varlistentry>
2620             <term>
2621               <menuchoice><guibutton>Backup directory</guibutton></menuchoice>
2622             </term>
2623             <listitem>
2624               <para>Option: <option>--backup-dir=DIR</option></para>
2625               <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>
2626               <para>This option is only available if you ticked the <guilabel>Make backups</guilabel> option above.</para>
2627               <para>Default: not selected; DIR: <envar>$HOME</envar></para>
2628             </listitem>
2629           </varlistentry>
2630         </variablelist>
2631       </sect3>
2632       
2633     </sect2>
2634     
2635 <!--
2636       Configuring Smb4K : Synchronization : File Handling
2637 -->
2638 
2639     <sect2 id="configuration_page_synchronization_file_handling">
2640       <title>File Handling</title>
2641 
2642       <sect3 id="configuration_page_synchronization_file_handling_general">
2643         <title>General</title>
2644 
2645         <variablelist>
2646           <varlistentry>
2647             <term>
2648               <menuchoice><guibutton>Update files</guibutton></menuchoice>
2649             </term>
2650             <listitem>
2651               <para>Option: <option>-u</option>/<option>--update</option></para>
2652               <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>
2653               <para>Default: selected</para>
2654             </listitem>
2655           </varlistentry>
2656           <varlistentry>
2657             <term>
2658               <menuchoice><guibutton>Update files in place</guibutton></menuchoice>
2659             </term>
2660             <listitem>
2661               <para>Option: <option>--inplace</option></para>
2662               <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>
2663               <para>For further information you ought to read the <ulink url="man:/rsync">manual page</ulink>.</para>
2664               <para>Default: not selected</para>
2665             </listitem>
2666           </varlistentry>
2667           <varlistentry>
2668             <term>
2669               <menuchoice><guibutton>Handle sparse files efficiently</guibutton></menuchoice>
2670             </term>
2671             <listitem>
2672               <para>Option: <option>-S</option>/<option>--sparse</option></para>
2673               <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>
2674               <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>
2675               <para>Default: not selected</para>
2676             </listitem>
2677           </varlistentry>
2678           <varlistentry>
2679             <term>
2680               <menuchoice><guibutton>Copy files whole (no rsync algorithm)</guibutton></menuchoice>
2681             </term>
2682             <listitem>
2683               <para>Option: <option>-W</option>/<option>--whole-file</option></para>
2684               <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>
2685               <para>Default: not selected</para>
2686             </listitem>
2687           </varlistentry>
2688           <varlistentry>
2689             <term>
2690               <menuchoice><guibutton>Only update files that already exist</guibutton></menuchoice>
2691             </term>
2692             <listitem>
2693               <para>Option: <option>--existing</option>/<option>--ignore-non-existing</option></para>
2694               <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>
2695               <para>Default: not selected</para>
2696             </listitem>
2697           </varlistentry>
2698           <varlistentry>
2699             <term>
2700               <menuchoice><guibutton>Ignore files that already exist</guibutton></menuchoice>
2701             </term>
2702             <listitem>
2703               <para>Option: <option>--ignore-existing</option></para>
2704               <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>
2705               <para>Default: not selected</para>
2706             </listitem>
2707           </varlistentry>
2708         </variablelist>
2709       </sect3>
2710 
2711       <sect3 id="configuration_page_synchronization_file_handling_links">
2712         <title>Links</title>
2713 
2714         <variablelist>
2715           <varlistentry>
2716             <term>
2717               <menuchoice><guibutton>Preserve symlinks</guibutton></menuchoice>
2718             </term>
2719             <listitem>
2720               <para>Option: <option>-l</option>/<option>--links</option></para>
2721               <para>Copy symlinks as symlinks.</para>
2722               <para>Default: selected</para>
2723             </listitem>
2724           </varlistentry>
2725           <varlistentry>
2726             <term>
2727               <menuchoice><guibutton>Transform symlinks</guibutton></menuchoice>
2728             </term>
2729             <listitem>
2730               <para>Option: <option>-L</option>/<option>--copy-links</option></para>
2731               <para>When symlinks are encountered, the item that they point to is copied, rather than the symlink.</para>
2732               <para>Default: not selected</para>
2733             </listitem>
2734           </varlistentry>
2735           <varlistentry>
2736             <term>
2737               <menuchoice><guibutton>Transform unsafe symlinks</guibutton></menuchoice>
2738             </term>
2739             <listitem>
2740               <para>Option: <option>--copy-unsafe-links</option></para>
2741               <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>
2742               <para>Default: not selected</para>
2743             </listitem>
2744           </varlistentry>
2745           <varlistentry>
2746             <term>
2747               <menuchoice><guibutton>Ignore unsafe symlinks</guibutton></menuchoice>
2748             </term>
2749             <listitem>
2750               <para>Option: <option>--safe-links</option></para>
2751               <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>
2752               <para>Default: not selected</para>
2753             </listitem>
2754           </varlistentry>
2755           <varlistentry>
2756             <term>
2757               <menuchoice><guibutton>Munge symlinks</guibutton></menuchoice>
2758             </term>
2759             <listitem>
2760               <para>Option: <option>-H</option>/<option>--munge-links</option></para>
2761               <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to (1) modify all symlinks on the receiving side in a way that makes them unusable but recoverable, or (2) to unmunge symlinks on the sending side that had been stored in a munged state. This is useful if you do not quite trust the source of the data to not try to slip in a symlink to an unexpected place. For further information on this argument, please see the manual page of <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>.</para>
2762               <para>Default: not selected</para>
2763             </listitem>
2764           </varlistentry>          
2765           <varlistentry>
2766             <term>
2767               <menuchoice><guibutton>Preserve hard links</guibutton></menuchoice>
2768             </term>
2769             <listitem>
2770               <para>Option: <option>-H</option>/<option>--hard-links</option></para>
2771               <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>
2772               <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>
2773               <para>Default: not selected</para>
2774             </listitem>
2775           </varlistentry>
2776           <varlistentry>
2777             <term>
2778               <menuchoice><guibutton>Copy directory symlinks</guibutton></menuchoice>
2779             </term>
2780             <listitem>
2781               <para>Option: <option>-k</option>/<option>--copy-dirlinks</option></para>
2782               <para>This option causes the sending side to treat a symlink to a directory as though it were a real directory.  This is useful if you don’t want symlinks to non-directories to be affected, as they would be using <option>--copy-links</option>.</para>
2783               <para>Default: not selected</para>
2784             </listitem>
2785           </varlistentry>
2786           <varlistentry>
2787             <term>
2788               <menuchoice><guibutton>Keep directory symlinks</guibutton></menuchoice>
2789             </term>
2790             <listitem>
2791               <para>Option: <option>-K</option>/<option>--keep-dirlinks</option></para>
2792               <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>
2793               <para>Default: not selected</para>
2794             </listitem>
2795           </varlistentry>
2796         </variablelist>
2797       </sect3>
2798 
2799       <sect3 id="configuration_page_synchronization_file_handling_perms">
2800         <title>Permissions, &etc;</title>
2801 
2802         <variablelist>
2803           <varlistentry>
2804             <term>
2805               <menuchoice><guibutton>Preserve permissions</guibutton></menuchoice>
2806             </term>
2807             <listitem>
2808               <para>Option: <option>-p</option>/<option>--perms</option></para>
2809               <para>This option causes the receiving side to set the destination permissions to be the same as the source permissions.</para>
2810               <para>Default: selected</para>
2811             </listitem>
2812           </varlistentry>
2813           <varlistentry>
2814             <term>
2815               <menuchoice><guibutton>Preserve owner</guibutton></menuchoice>
2816             </term>
2817             <listitem>
2818               <para>Option: <option>-o</option>/<option>--owner</option></para>
2819               <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>
2820               <para>Default: selected</para>
2821             </listitem>
2822           </varlistentry>
2823           <varlistentry>
2824             <term>
2825               <menuchoice><guibutton>Preserve group</guibutton></menuchoice>
2826             </term>
2827             <listitem>
2828               <para>Option: <option>-g</option>/<option>--group</option></para>
2829               <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>
2830               <para>Default: selected</para>
2831             </listitem>
2832           </varlistentry>
2833           <varlistentry>
2834             <term>
2835               <menuchoice><guibutton>Preserve device and special files</guibutton></menuchoice>
2836             </term>
2837             <listitem>
2838               <para>Option: <option>-D</option>/<option>--devices --specials</option></para>
2839               <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>
2840               <para>Default: selected</para>
2841             </listitem>
2842           </varlistentry>
2843           <varlistentry>
2844             <term>
2845               <menuchoice><guibutton>Preserve times</guibutton></menuchoice>
2846             </term>
2847             <listitem>
2848               <para>Option: <option>-t</option>/<option>--times</option></para>
2849               <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>
2850               <para>Default: selected</para>
2851             </listitem>
2852           </varlistentry>
2853           <varlistentry>
2854             <term>
2855               <menuchoice><guibutton>Omit directories when preserving times</guibutton></menuchoice>
2856             </term>
2857             <listitem>
2858               <para>Option: <option>-O</option>/<option>--omit-dir-times</option></para>
2859               <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>
2860               <para>Default: not selected</para>
2861             </listitem>
2862           </varlistentry>
2863         </variablelist>
2864       </sect3>
2865     </sect2>
2866 
2867 <!-- 
2868       Configuring Smb4K : Synchronization : File Transfer
2869 -->
2870 
2871     <sect2 id="configuration_page_synchronization_file_transfer">
2872       <title>File Transfer</title>
2873 
2874       <sect3 id="configuration_page_synchronization_file_transfer_compression">
2875         <title>Compression</title>
2876 
2877         <variablelist>
2878           <varlistentry>
2879             <term>
2880               <menuchoice><guibutton>Compress data during transfer</guibutton></menuchoice>
2881             </term>
2882             <listitem>
2883               <para>Option: <option>-z</option>/<option>--compress</option></para>
2884               <para>Compress file data during the transfer.</para>
2885               <para>Default: not selected</para>
2886             </listitem>
2887           </varlistentry>
2888           <varlistentry>
2889             <term>
2890               <menuchoice><guibutton>Set compression level</guibutton></menuchoice>
2891             </term>
2892             <listitem>
2893               <para>Explicitly set the compression level to use (--compress-level=NUM). If NUM is non-zero, the --compress argument is implied.</para>
2894             </listitem>
2895           </varlistentry>
2896           <varlistentry>
2897             <term>
2898               <menuchoice><guibutton>Skip compression for following file suffixes</guibutton></menuchoice>
2899             </term>
2900             <listitem>
2901               <para>Overwrite the list of file suffixes that will not be compressed (--skip-compress=LIST). The LIST should be one or more file suffixes (without the dot) separated by slashes. You may specify an empty string to indicate that no file should be skipped. The default list of suffixes will be replaced by this list. For further details, see the manual page of rsync.</para>
2902             </listitem>
2903           </varlistentry>
2904         </variablelist>
2905       </sect3>
2906 
2907       <sect3 id="configuration_page_synchronization_file_transfer_files">
2908         <title>Files</title>
2909 
2910         <variablelist>
2911           <varlistentry>
2912             <term>
2913               <menuchoice><guibutton>Do not transfer any file smaller than</guibutton></menuchoice>
2914             </term>
2915             <listitem>
2916               <para>Option: <option>--min-size=NUM</option></para>
2917               <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>
2918               <para>Default: not selected; NUM: 0 kB</para>
2919             </listitem>
2920           </varlistentry>
2921           <varlistentry>
2922             <term>
2923               <menuchoice><guibutton>Do not transfer any file larger than</guibutton></menuchoice>
2924             </term>
2925             <listitem>
2926               <para>Option: <option>--max-size=NUM</option></para>
2927               <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>
2928               <para>Default: not selected; NUM: 0 kB</para>
2929             </listitem>
2930           </varlistentry>
2931           <varlistentry>
2932             <term>
2933               <menuchoice><guibutton>Keep partially transferred files</guibutton></menuchoice>
2934             </term>
2935             <listitem>
2936               <para>Option: <option>--partial</option></para>
2937               <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>
2938               <para>Default: not selected</para>
2939             </listitem>
2940           </varlistentry>
2941           <varlistentry>
2942             <term>
2943               <menuchoice><guibutton>Put partially transferred files into</guibutton></menuchoice>
2944             </term>
2945             <listitem>
2946               <para>Option: <option>--partial-dir=DIR</option></para>
2947               <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>
2948               <para>Default: not selected; DIR: <filename class="directory">$HOME</filename></para>
2949             </listitem>
2950           </varlistentry>
2951         </variablelist>
2952       </sect3>
2953 
2954       <sect3 id="configuration_page_synchronization_file_transfer_miscellaneous">
2955         <title>Miscellaneous</title>
2956 
2957         <variablelist>
2958           <varlistentry>
2959             <term>
2960               <menuchoice><guibutton>Set bandwidth limit:</guibutton></menuchoice>
2961             </term>
2962             <listitem>
2963               <para>Option: <option>--bwlimit=RATE</option></para>
2964               <para>Set the maximum data transfer rate in kilobytes per second.</para>
2965               <para>Default: not selected; RATE: 0 KiB/s</para>
2966             </listitem>
2967           </varlistentry>
2968         </variablelist>
2969       </sect3>
2970     </sect2>
2971 
2972 <!--
2973       Configuring Smb4K : Synchronization : File Deletion
2974 -->
2975 
2976     <sect2 id="configuration_page_synchronization_file_deletion">
2977       <title>File Deletion</title>
2978 
2979       <sect3 id="configuration_page_synchronization_file_deletion_files_directories">
2980         <title>Files &amp; Directories</title>
2981       
2982         <variablelist>
2983           <varlistentry>
2984             <term>
2985               <menuchoice><guibutton>Remove synchronized source files</guibutton></menuchoice>
2986             </term>
2987             <listitem>
2988               <para>Option: <option>--remove-source-files</option></para>
2989               <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>
2990               <para>Default: not selected</para>
2991             </listitem>
2992           </varlistentry>
2993           <varlistentry>
2994             <term>
2995               <menuchoice><guibutton>Delete extraneous files</guibutton></menuchoice>
2996             </term>
2997             <listitem>
2998               <para>Option: <option>--delete</option></para>
2999               <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>
3000               <para>Default: not selected</para>
3001             </listitem>
3002           </varlistentry>
3003           <varlistentry>
3004             <term>
3005               <menuchoice><guibutton>Delete files before transfer</guibutton></menuchoice>
3006             </term>
3007             <listitem>
3008               <para>Option: <option>--delete-before</option></para>
3009               <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>
3010               <para>Default: not selected</para>
3011             </listitem>
3012           </varlistentry>
3013           <varlistentry>
3014             <term>
3015               <menuchoice><guibutton>Delete files after transfer</guibutton></menuchoice>
3016             </term>
3017             <listitem>
3018               <para>Option: <option>--delete-after</option></para>
3019               <para>Request that the file deletions on the receiving side be done after the transfer has completed.</para>
3020               <para>Default: not selected</para>
3021             </listitem>
3022           </varlistentry>
3023           <varlistentry>
3024             <term>
3025               <menuchoice><guibutton>Delete files during transfer</guibutton></menuchoice>
3026             </term>
3027             <listitem>
3028               <para>Option: <option>--delete-during</option></para>
3029               <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>
3030               <para>Default: not selected</para>
3031             </listitem>
3032           </varlistentry>
3033           <varlistentry>
3034             <term>
3035               <menuchoice><guibutton>Delete excluded files</guibutton></menuchoice>
3036             </term>
3037             <listitem>
3038               <para>Option: <option>--delete-excluded</option></para>
3039               <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>
3040               <para>Default: not selected</para>
3041             </listitem>
3042           </varlistentry>
3043           <varlistentry>
3044             <term>
3045               <menuchoice><guibutton>Delete even if I/O errors occur</guibutton></menuchoice>
3046             </term>
3047             <listitem>
3048               <para>Option: <option>--ignore-errors</option></para>
3049               <para>Tells <option>--delete</option> to go ahead and delete files even when there are I/O errors.</para>
3050               <para>Default: not selected</para>
3051             </listitem>
3052           </varlistentry>
3053           <varlistentry>
3054             <term>
3055               <menuchoice><guibutton>Force deletion of non-void directories</guibutton></menuchoice>
3056             </term>
3057             <listitem>
3058               <para>Option: <option>--force</option></para>
3059               <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>
3060               <para>Default: not selected</para>
3061             </listitem>
3062           </varlistentry>
3063         </variablelist>
3064       </sect3>
3065 
3066       <sect3 id="configuration_page_synchronization_filedel_restrict">
3067         <title>Restrictions</title>
3068 
3069         <variablelist>
3070           <varlistentry>
3071             <term>
3072               <menuchoice><guibutton>Do not delete more than this many files</guibutton></menuchoice>
3073             </term>
3074             <listitem>
3075               <para>Option: <option>--max-delete=NUM</option></para>
3076               <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>
3077               <para>Default: not selected; NUM: 0</para>
3078             </listitem>
3079           </varlistentry>
3080         </variablelist>
3081       </sect3>
3082 
3083     </sect2>
3084 
3085 <!-- 
3086       Configuring Smb4K : Synchronization : Filtering 
3087 -->
3088 
3089     <sect2 id="configuration_page_synchronization_filter">
3090       <title>Filtering</title>   
3091 
3092       <sect3 id="configuration_page_synchronization_filter_general">
3093         <title>General</title>
3094 
3095         <variablelist>
3096           <varlistentry>
3097             <term>
3098               <menuchoice><guibutton>Auto-ignore files in the same way CVS does</guibutton></menuchoice>
3099             </term>
3100             <listitem>
3101               <para>Option: <option>-C</option>/<option>--cvs-exclude</option></para>
3102               <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>
3103               <para>Default: not selected</para>
3104             </listitem>
3105           </varlistentry>
3106           <varlistentry>
3107             <term>
3108               <menuchoice><guibutton>Exclude files matching this pattern</guibutton></menuchoice>
3109             </term>
3110             <listitem>
3111               <para>Option: <option>--exclude=PATTERN</option></para>
3112               <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>
3113               <para>Default: not selected; PATTERN: empty</para>
3114             </listitem>             
3115           </varlistentry>
3116           <varlistentry>
3117             <term>
3118               <menuchoice><guibutton>Read exclude patterns from</guibutton></menuchoice>
3119             </term>
3120             <listitem>
3121               <para>Option: <option>--exclude-from=FILE</option></para>
3122               <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>
3123               <para>Default: not selected; FILE: <filename>$HOME/exclude.txt</filename></para>
3124             </listitem>
3125           </varlistentry>
3126           <varlistentry>
3127             <term>
3128               <menuchoice><guibutton>Include files matching this pattern</guibutton></menuchoice>
3129             </term>
3130             <listitem>
3131               <para>Option: <option>--include=PATTERN</option></para>
3132               <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>
3133               <para>Default: not selected; PATTERN: empty</para>
3134             </listitem>
3135           </varlistentry>
3136           <varlistentry>
3137             <term>
3138               <menuchoice><guibutton>Read include patterns from</guibutton></menuchoice>
3139             </term>
3140             <listitem>
3141               <para>Option: <option>--include-from=FILE</option></para>
3142               <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>
3143               <para>Default: not selected; FILE: <filename>$HOME/include.txt</filename></para>
3144             </listitem>
3145           </varlistentry>
3146         </variablelist>
3147       </sect3>
3148 
3149       <sect3 id="configuration_page_synchronization_filter_rules">
3150         <title>Filter Rules</title>
3151 
3152         <variablelist>
3153           <varlistentry>
3154             <term>
3155               <menuchoice><guibutton>Custom filter rules</guibutton></menuchoice>
3156             </term>
3157             <listitem>
3158               <para>Option: <option>-f</option>/<option>--filter=RULE</option></para>
3159               <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>
3160               <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>
3161               <para>You may use as many <option>--filter</option> options as you like to build up the list of files to exclude.</para>
3162               <para>See  the  FILTER  RULES section of the <ulink url="man:/rsync">manual page</ulink> for detailed information on this option.</para>
3163               <para>Default: empty</para>
3164             </listitem>
3165           </varlistentry>
3166           <varlistentry>
3167             <term>
3168               <menuchoice><guibutton>Use --filter='dir-merge /.rsync-filter' filter rule</guibutton></menuchoice>
3169             </term>
3170             <listitem>
3171               <para>Option: <option>-F</option></para>
3172               <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>
3173               <para>See the FILTER RULES section of the <ulink url="man:/rsync">manual page</ulink> for detailed information on how this option works.</para>
3174               <para>Default: not selected</para>
3175             </listitem>
3176           </varlistentry>
3177           <varlistentry>
3178             <term>
3179               <menuchoice><guibutton>Use --filter='exclude .rsync-filter' filter rule</guibutton></menuchoice>
3180             </term>
3181             <listitem>
3182               <para>Option: <option>-FF</option></para>
3183               <para>This option filters out the <filename>.rsync-filter</filename> files themselves from the transfer.</para>
3184               <para>See the FILTER RULES section of the <ulink url="man:/rsync">manual page</ulink> for detailed information on how this option works.</para>
3185               <para>Default: not selected</para>
3186             </listitem>
3187           </varlistentry>
3188         </variablelist>
3189       </sect3>
3190     </sect2>
3191 
3192 <!-- 
3193       Configuring Smb4K : Synchronization : Miscellaneous
3194 -->
3195 
3196     <sect2 id="configuration_page_synchronization_miscellaneous">
3197       <title>Miscellaneous</title>
3198 
3199       <sect3 id="configuration_page_synchronization_miscellaneous_checksums">
3200         <title>Checksums</title>
3201 
3202         <variablelist>
3203           <varlistentry>
3204             <term>
3205               <menuchoice><guibutton>Force fixed checksum block size</guibutton></menuchoice>
3206             </term>
3207             <listitem>
3208               <para>Option: <option>-B</option>/<option>--block-size=SIZE</option></para>
3209               <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>
3210               <para>Default: not selected; SIZE: 0</para>
3211             </listitem>
3212           </varlistentry>
3213           <varlistentry>
3214             <term>
3215               <menuchoice><guibutton>Set block/file checksum seed</guibutton></menuchoice>
3216             </term>
3217             <listitem>
3218               <para>Option: <option>--checksum-seed=NUM</option></para>
3219               <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>
3220               <para>Default: not selected; NUM: 0</para>
3221             </listitem>
3222           </varlistentry>
3223           <varlistentry>
3224             <term>
3225               <menuchoice><guibutton>Skip files based on checksum</guibutton></menuchoice>
3226             </term>
3227             <listitem>
3228               <para>Option: <option>-c</option>/<option>--checksum</option></para>
3229               <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>
3230               <para>Default: not selected</para>
3231             </listitem>
3232           </varlistentry>
3233         </variablelist>
3234       </sect3>
3235 
3236       <sect3 id="configuration_page_synchronization_miscellaneous_miscellaneous">
3237         <title>General</title>
3238 
3239         <variablelist>
3240           <varlistentry>
3241             <term>
3242               <menuchoice><guibutton>Do not cross file system boundaries</guibutton></menuchoice>
3243             </term>
3244             <listitem>
3245               <para>Option: <option>-x</option>/<option>--one-file-system</option></para>
3246               <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>
3247               <para>Default: not selected</para>
3248             </listitem>
3249           </varlistentry>
3250           <varlistentry>
3251             <term>
3252               <menuchoice><guibutton>Delay updates until the end of transfer</guibutton></menuchoice>
3253             </term>
3254             <listitem>
3255               <para>Option: <option>--delay-updates</option></para>
3256               <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>
3257               <para>It is strongly recommended that you read the <ulink url="man:/rsync">manual page</ulink> before using this option.</para>
3258               <para>Default: not selected</para>
3259             </listitem>
3260           </varlistentry>
3261         </variablelist>
3262       </sect3>
3263 
3264     </sect2>
3265   </sect1>
3266 
3267 
3268 <!-- 
3269       Configuring Smb4K : Custom Options
3270 -->
3271 
3272   <sect1 id="configuration_page_custom_options">
3273     <title>Custom Options</title>
3274 
3275     <para>All servers and shares for which you defined custom options are listed here.</para>
3276 
3277     <screenshot>
3278       <screeninfo>Screenshot of the "Custom Options" configuration tab</screeninfo>
3279       <mediaobject>
3280         <imageobject><imagedata fileref="configuration_page_custom_options.png" format="PNG" /></imageobject>
3281         <textobject><phrase>The "Custom Options" configuration tab</phrase></textobject>
3282       </mediaobject>
3283     </screenshot>
3284 
3285     <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.</para>
3286 
3287     <para>The custom options are accessible through the tabs on the right.</para>
3288     
3289 <!--
3290       Configuring Smb4K : Custom Options : Network Item
3291 -->
3292     
3293     <sect2 id="configuration_page_custom_options_network_item">
3294       <title>Network Item</title>
3295       
3296       <para>This tab mostly serves as resource of information. In the <guilabel>Identification</guilabel> groupbox the workgroup or domain of the network item, its location and IP address are given. The IP address can be edited, in case you might need to adjust it.</para>
3297     </sect2>
3298     
3299 <!--
3300       Configuring Smb4K : Custom Options : Mounting
3301 -->
3302     <sect2 id="configuration_page_custom_options_mounting">
3303       <title>Mounting</title>
3304       
3305       <para>Here you can edit settings used for mounting. Have a look at the <link linkend="configuration_page_mounting">Mounting</link> configuration page to learn more about the present options.</para>
3306     </sect2>
3307 
3308 <!-- 
3309       Configuring Smb4K : Custom Options : Samba
3310 -->
3311 
3312     <sect2 id="configuration_page_custom_options_samba">
3313       <title>Samba</title>
3314     
3315       <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 <link linkend="configuration_page_network_samba">&Samba;</link> settings.</para>
3316     </sect2>
3317 
3318 <!-- 
3319       Configuring Smb4K : Custom Options : Wake-On-LAN 
3320 -->
3321 
3322     <sect2 id="configuration_page_custom_options_wol">
3323       <title>Wake-On-LAN</title>
3324     
3325       <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>
3326     </sect2>
3327   </sect1>
3328 
3329 <!-- 
3330       Configuring Smb4K : Profiles 
3331 -->
3332 
3333   <sect1 id="configuration_page_profiles">
3334     <title>Profiles</title>
3335     
3336     <para>On this page you can enable the use of profiles and manage your profiles.</para>
3337     
3338     <screenshot>
3339       <screeninfo>Screenshot of the "Profiles" configuration tab</screeninfo>
3340       <mediaobject>
3341         <imageobject><imagedata fileref="configuration_page_profiles.png" format="PNG" /></imageobject>
3342         <textobject><phrase>The "Profiles" configuration tab</phrase></textobject>
3343       </mediaobject>
3344     </screenshot>
3345 
3346 <!--
3347       Configuring Smb4K : Profiles : Settings 
3348 -->
3349 
3350     <sect2 id="configuration_page_profiles_settings">
3351       <title>Settings</title>
3352 
3353       <variablelist>
3354         <varlistentry>
3355           <term>
3356             <menuchoice><guibutton>Use profiles</guibutton></menuchoice>
3357           </term>
3358           <listitem>
3359             <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_page_profiles_profiles">profiles list</link> will be the active profile.</para>
3360             <para>Default: not selected</para>
3361           </listitem>
3362         </varlistentry>
3363         <varlistentry>
3364           <term>
3365             <menuchoice><guibutton>Use profile migration assistant</guibutton></menuchoice>
3366           </term>
3367           <listitem>
3368             <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>
3369             <para>Default: not selected</para>
3370           </listitem>
3371         </varlistentry>
3372       </variablelist>
3373     </sect2>
3374 
3375 <!-- 
3376       Configuring Smb4K : Profiles : Profiles 
3377   -->
3378 
3379     <sect2 id="configuration_page_profiles_profiles">
3380       <title>Profiles</title>
3381 
3382       <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>
3383       <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>
3384     </sect2>
3385   </sect1>
3386 </chapter>
3387 
3388 <!-- 
3389       Command Reference 
3390 -->
3391 
3392 <chapter id="command_reference" >
3393   <title>Command Reference</title>
3394 
3395 <!-- 
3396       Command Reference : The File Menu 
3397   -->
3398 
3399   <sect1 id="command_reference_file_menu">
3400     <title>The File Menu</title>
3401 
3402     <variablelist>
3403       <varlistentry>
3404         <term>
3405           <menuchoice>
3406             <guimenu>File</guimenu>
3407             <guisubmenu>Profiles</guisubmenu>
3408           </menuchoice>
3409         </term>
3410         <listitem>
3411           <para>Select the profile to use. This menu entry is disabled if the user did not enabled the use of profiles.</para>
3412           <para>Two profiles are predefined:</para>
3413           <variablelist>
3414             <varlistentry>
3415               <term>
3416                 <menuchoice>
3417                   <guimenu>File</guimenu>
3418                   <guisubmenu>Profiles</guisubmenu>
3419                   <guimenuitem>Home</guimenuitem>
3420                 </menuchoice>
3421               </term>
3422               <listitem>
3423                 <para>A profile for use at home</para>
3424               </listitem>
3425             </varlistentry>
3426             <varlistentry>
3427               <term>
3428                 <menuchoice>
3429                   <guimenu>File</guimenu>
3430                   <guisubmenu>Profiles</guisubmenu>
3431                   <guimenuitem>Work</guimenuitem>
3432                 </menuchoice>
3433               </term>
3434               <listitem>
3435                 <para>A profile for use at work</para>
3436               </listitem>
3437             </varlistentry>
3438           </variablelist>
3439         </listitem>
3440       </varlistentry>
3441       <varlistentry>
3442         <term>
3443           <menuchoice>
3444             <shortcut><keycombo action="simul" >&Ctrl; <keycap>Q</keycap></keycombo></shortcut>
3445             <guimenu>File</guimenu>
3446             <guimenuitem>Quit</guimenuitem>
3447           </menuchoice>
3448         </term>
3449         <listitem>
3450           <para>Quit &smb4k;.</para>
3451         </listitem>
3452       </varlistentry>
3453     </variablelist>
3454   </sect1>
3455   
3456 <!--
3457       Command Reference : The Network Menu
3458   -->
3459 
3460   <sect1 id="command_reference_network_menu">
3461     <title>The Network Menu</title>
3462 
3463     <variablelist>
3464       <varlistentry>
3465         <term>
3466           <menuchoice>
3467             <shortcut><keycap>F5</keycap></shortcut>
3468             <guimenu>Network</guimenu>
3469             <guimenuitem>Scan Network|Workgroup|Computer</guimenuitem>
3470           </menuchoice>
3471         </term>
3472         <listitem>
3473           <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>
3474         </listitem>
3475       </varlistentry>
3476       <varlistentry>
3477         <term>
3478           <menuchoice>
3479             <shortcut><keycombo action="simul">&Ctrl; <keycap>A</keycap></keycombo></shortcut>
3480             <guimenu>Network</guimenu>
3481             <guimenuitem>Abort</guimenuitem>
3482           </menuchoice>
3483         </term>
3484         <listitem>
3485           <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>
3486         </listitem>
3487       </varlistentry>
3488       <varlistentry>
3489         <term>
3490           <menuchoice>
3491             <shortcut><keycombo action="simul">&Ctrl; <keycap>F</keycap></keycombo></shortcut>
3492             <guimenu>Network</guimenu>
3493             <guimenuitem>Search</guimenuitem>
3494           </menuchoice>
3495         </term>
3496         <listitem>
3497           <para>Open the search toolbar in the network neighborhood browser.</para>
3498         </listitem>
3499       </varlistentry> 
3500       <varlistentry>
3501         <term>
3502           <menuchoice>
3503             <guimenu>Network</guimenu>
3504             <guimenuitem>Add Bookmark</guimenuitem>
3505           </menuchoice>
3506         </term>
3507         <listitem>
3508           <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>
3509         </listitem>
3510       </varlistentry>      
3511       <varlistentry>
3512         <term>
3513           <menuchoice>
3514             <shortcut><keycombo action="simul">&Ctrl; <keycap>O</keycap></keycombo></shortcut>
3515             <guimenu>Network</guimenu>
3516             <guimenuitem>Open Mount Dialog</guimenuitem>
3517           </menuchoice>
3518         </term>
3519         <listitem>
3520           <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>
3521         </listitem>
3522       </varlistentry>
3523       <varlistentry>
3524         <term>
3525           <menuchoice>
3526             <shortcut><keycombo action="simul">&Ctrl; <keycap>T</keycap></keycombo></shortcut>
3527             <guimenu>Network</guimenu>
3528             <guimenuitem>Authentication</guimenuitem>
3529           </menuchoice>
3530         </term>
3531         <listitem>
3532           <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>
3533         </listitem>
3534       </varlistentry>
3535       <varlistentry>
3536         <term>
3537           <menuchoice>
3538             <shortcut><keycombo action="simul">&Ctrl; <keycap>C</keycap></keycombo></shortcut>
3539             <guimenu>Network</guimenu>
3540             <guimenuitem>Custom Options</guimenuitem>
3541           </menuchoice>
3542         </term>
3543         <listitem>
3544           <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>
3545         </listitem>
3546       </varlistentry>
3547       <varlistentry>
3548         <term>
3549           <menuchoice>
3550             <shortcut><keycombo action="simul">&Ctrl; <keycap>V</keycap></keycombo></shortcut>
3551             <guimenu>Network</guimenu>
3552             <guimenuitem>Preview</guimenuitem>
3553           </menuchoice>
3554         </term>
3555         <listitem>
3556           <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>
3557         </listitem>
3558       </varlistentry>
3559       <varlistentry>
3560         <term>
3561           <menuchoice>
3562             <shortcut><keycombo action="simul">&Ctrl; <keycap>P</keycap></keycombo></shortcut>
3563             <guimenu>Network</guimenu>
3564             <guimenuitem>Print File</guimenuitem>
3565           </menuchoice>
3566         </term>
3567         <listitem>
3568           <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>
3569         </listitem>
3570       </varlistentry>
3571       <varlistentry>
3572         <term>
3573           <menuchoice>
3574             <shortcut><keycombo action="simul">&Ctrl; <keycap>M</keycap></keycombo></shortcut>
3575             <guimenu>Network</guimenu>
3576             <guimenuitem>Mount</guimenuitem>
3577           </menuchoice>
3578         </term>
3579         <listitem>
3580           <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>
3581         </listitem>
3582       </varlistentry>
3583       <varlistentry>
3584         <term>
3585           <menuchoice>
3586             <shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut>
3587             <guimenu>Network</guimenu>
3588             <guimenuitem>Unmount</guimenuitem>
3589           </menuchoice>
3590         </term>
3591         <listitem>
3592           <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>
3593         </listitem>
3594       </varlistentry>
3595     </variablelist>
3596   </sect1>
3597   
3598 <!--
3599       Command Reference : The Shares Menu
3600   -->
3601 
3602   <sect1 id="command_reference_shares_menu">
3603     <title>The Shares Menu</title>
3604 
3605     <variablelist>
3606       <varlistentry>
3607         <term>
3608           <menuchoice>
3609             <guimenu>Shares</guimenu>
3610             <guisubmenu>View Modes</guisubmenu>
3611           </menuchoice>
3612         </term>
3613         <listitem>
3614           <para>Choose the view mode from the submenu.</para>
3615           <variablelist>
3616             <varlistentry>
3617               <term>
3618                 <menuchoice>
3619                   <guimenu>Shares</guimenu>
3620                   <guisubmenu>View Modes</guisubmenu>
3621                   <guimenuitem>Icon View</guimenuitem>
3622                 </menuchoice>
3623               </term>
3624               <listitem>
3625                 <para>The shares are shown in an icon view.</para>
3626               </listitem>
3627             </varlistentry>
3628             <varlistentry>
3629               <term>
3630                 <menuchoice>
3631                   <guimenu>Shares</guimenu>
3632                   <guisubmenu>View Modes</guisubmenu>
3633                   <guimenuitem>List View</guimenuitem>
3634                 </menuchoice>
3635               </term>
3636               <listitem>
3637                 <para>The shares are shown in a list view.</para>
3638               </listitem>
3639             </varlistentry>
3640           </variablelist>
3641         </listitem>
3642       </varlistentry>
3643       <varlistentry>
3644         <term>
3645           <menuchoice>
3646             <shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut>
3647             <guimenu>Shares</guimenu>
3648             <guimenuitem>Unmount</guimenuitem>
3649           </menuchoice>
3650         </term>
3651         <listitem>
3652           <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_mounting_basic_settings_behavior">settings</link> in the configuration dialog. If no share is selected in the shares view, this button is disabled.</para>
3653             <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_mounting_basic_settings_behavior">settings</link> in the configuration dialog.</para>
3654             <para>Read the <link linkend="shares_view_unmounting">Unmounting Shares</link> section for more details.</para>
3655         </listitem>
3656       </varlistentry>
3657       <varlistentry>
3658         <term>
3659           <menuchoice>
3660             <shortcut><keycombo action="simul">&Ctrl; <keycap>N</keycap></keycombo></shortcut>
3661             <guimenu>Shares</guimenu>
3662             <guimenuitem>Unmount All</guimenuitem>
3663           </menuchoice>
3664         </term>
3665         <listitem>
3666           <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>
3667         </listitem>
3668       </varlistentry>
3669       <varlistentry>
3670         <term>
3671           <menuchoice>
3672             <guimenu>Shares</guimenu>
3673             <guimenuitem>Add Bookmark</guimenuitem>
3674           </menuchoice>
3675         </term>
3676         <listitem>
3677           <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>
3678         </listitem>
3679       </varlistentry>   
3680       <varlistentry>
3681         <term>
3682           <menuchoice>
3683             <shortcut><keycombo action="simul">&Ctrl; <keycap>Y</keycap></keycombo></shortcut>
3684             <guimenu>Shares</guimenu>
3685             <guimenuitem>Synchronize</guimenuitem>
3686           </menuchoice>
3687         </term>
3688         <listitem>
3689           <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>
3690         </listitem>
3691       </varlistentry>
3692       <varlistentry>
3693         <term>
3694           <menuchoice>
3695             <shortcut><keycombo action="simul">&Ctrl; <keycap>L</keycap></keycombo></shortcut>
3696             <guimenu>Shares</guimenu>
3697             <guimenuitem>Open with Konsole</guimenuitem>
3698           </menuchoice>
3699         </term>
3700         <listitem>
3701           <para>Open the base folder of the selected share in &konsole;.</para>
3702         </listitem>
3703       </varlistentry>
3704       <varlistentry>
3705         <term>
3706           <menuchoice>
3707             <shortcut><keycombo action="simul">&Ctrl; <keycap>I</keycap></keycombo></shortcut>
3708             <guimenu>Shares</guimenu>
3709             <guimenuitem>Open with File Manager</guimenuitem>
3710           </menuchoice>
3711         </term>
3712         <listitem>
3713           <para>Open the contents of the selected share in the default file manager (&eg; &dolphin;).</para>
3714         </listitem>
3715       </varlistentry>
3716     </variablelist>
3717   </sect1>
3718   
3719 <!--
3720       Command Reference : The Bookmarks Menu
3721   -->
3722 
3723   <sect1 id="command_reference_bookmarks_menu">
3724     <title>The Bookmarks Menu</title>
3725 
3726     <variablelist>
3727       <varlistentry>
3728         <term>
3729           <menuchoice>
3730             <guimenu>Bookmarks</guimenu>
3731             <guimenuitem>Edit Bookmarks</guimenuitem>
3732           </menuchoice>
3733         </term>
3734         <listitem>
3735           <para>Open the <link linkend="bookmarks_editor">bookmark editor</link>. This action is disabled if there are no bookmarks.</para>
3736         </listitem>
3737       </varlistentry>
3738       <varlistentry>
3739         <term>
3740           <menuchoice>
3741             <shortcut><keycombo action="simul">&Ctrl; <keycap>B</keycap></keycombo></shortcut>
3742             <guimenu>Bookmarks</guimenu>
3743             <guimenuitem>Add Bookmark</guimenuitem>
3744           </menuchoice>
3745         </term>
3746         <listitem>
3747           <para>Add one or several bookmarks. At least one share has to be selected to enable this action.</para>
3748         </listitem>
3749       </varlistentry>
3750       <varlistentry>
3751         <term>
3752           <menuchoice>
3753             <guimenu>Bookmarks</guimenu>
3754             <guimenuitem>Mount All Bookmarks</guimenuitem>
3755           </menuchoice>
3756         </term>
3757         <listitem>
3758           <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>
3759         </listitem>
3760       </varlistentry>
3761     </variablelist>
3762   </sect1>
3763   
3764 <!--
3765       Command Reference : The Settings Menu
3766   -->
3767 
3768   <sect1 id="command_reference_settings_menu">
3769     <title>The Settings Menu</title>
3770 
3771     <variablelist>
3772       <varlistentry>
3773         <term>
3774           <menuchoice>
3775             <guimenu>Settings</guimenu>
3776             <guimenuitem>Toolbars Shown</guimenuitem>
3777           </menuchoice>
3778         </term>
3779         <listitem>
3780           <para>In this submenu you can enable or disable the toolbars.</para>
3781         </listitem>
3782       </varlistentry>
3783       <varlistentry>
3784         <term>
3785           <menuchoice>
3786             <guimenu>Settings</guimenu>
3787             <guimenuitem>Show Statusbar</guimenuitem>
3788           </menuchoice>
3789         </term>
3790         <listitem>
3791           <para>Hide or show the status bar.</para>
3792         </listitem>
3793       </varlistentry>
3794       <varlistentry>
3795         <term>
3796           <menuchoice>
3797             <guimenu>Settings</guimenu>
3798             <guimenuitem>Dock Widgets</guimenuitem>
3799           </menuchoice>
3800         </term>
3801         <listitem>
3802           <para>Hide or show the dock widgets in the main window.</para>
3803         </listitem>
3804       </varlistentry>
3805       <varlistentry>
3806         <term>
3807           <menuchoice>
3808             <guimenu>Settings</guimenu>
3809             <guimenuitem>Configure &smb4k;...</guimenuitem>
3810           </menuchoice>
3811         </term>
3812         <listitem>
3813           <para>Open the configuration dialog.</para>
3814         </listitem>
3815       </varlistentry>
3816     </variablelist>
3817   </sect1>
3818 
3819 <!--
3820       Command Reference : The Help Menu
3821   -->
3822   
3823   <sect1 id="command_reference_help_menu">
3824     <title>The Help Menu</title>
3825 
3826     <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>
3827   </sect1>
3828 </chapter>
3829 
3830 <!-- 
3831       Reporting Bugs 
3832   -->
3833 
3834 <chapter id="reporting_bugs">
3835   <title>Reporting Bugs</title>
3836 
3837   <para>Before filing a bug report, please try the <ulink url="https://sourceforge.net/projects/smb4k/files/">latest version</ulink> of &smb4k;. Maybe your problem has already been fixed.</para>
3838   <para>Follow these directions for your bug report:</para>
3839   <itemizedlist>
3840     <listitem><para>Describe <emphasis>in detail</emphasis> what you did to receive the problem you are reporting.</para></listitem>
3841     <listitem><para>Provide the version of &smb4k; and &kf5;.</para></listitem>
3842     <listitem><para>Mention your operating system (&Linux;, FreeBSD, &etc;) and the distribution that is running on your computer.</para></listitem>
3843     <listitem><para>Include the full error message if an error dialog was displayed.</para></listitem>
3844     <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>
3845     <listitem><para>Add additional data, &eg; send a screen shot if you are reporting a &GUI; related problem.</para></listitem>
3846   </itemizedlist>
3847   <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>
3848 </chapter>
3849 
3850 
3851 <!-- 
3852       Credits and License 
3853   -->
3854 
3855 <chapter id="credits" >
3856   <title>Credits and License</title>
3857 
3858   <para>Copyright &copy; 2003 - 2019, Alexander Reinholdt <email>alexander.reinholdt@kdemail.net</email></para>
3859 
3860 <!-- TRANS:CREDIT_FOR_TRANSLATORS -->
3861   &underFDL;
3862   &underGPL;
3863 
3864   <simplesect>
3865     <title>Developers</title>
3866       
3867     <itemizedlist>
3868       <listitem><para>Alexander Reinholdt <email>alexander.reinholdt@kdemail.net</email></para></listitem>
3869     </itemizedlist>
3870   </simplesect>
3871 
3872   <simplesect>
3873     <title>Translations</title>
3874     
3875     <para>Translations were contributed by the &kde; translators.</para>
3876   </simplesect>
3877 
3878   <simplesect>
3879     <title>Special Thanks</title>
3880     
3881     <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>
3882   </simplesect>
3883 </chapter>
3884 
3885 
3886 <!-- 
3887       Appendix 
3888   -->
3889 
3890 <appendix id="appendix">
3891   <title>Appendix</title>
3892 
3893   <sect1 id="appendix_getting_smb4k" >
3894     <title>How to obtain &smb4k;</title>
3895     
3896     <para>The latest stable release is available at <ulink url="https://sourceforge.net/projects/smb4k/files/">https://sourceforge.net/projects/smb4k/files/</ulink>.</para>
3897   </sect1>
3898   
3899   <sect1 id="appendix_requirements" >
3900     <title>Requirements</title>
3901 
3902     <para>&smb4k; officially supports &Linux;, FreeBSD, NetBSD and DragonFly BSD. Other operating systems might work as well, but haven't been tested.</para>
3903     <para>To compile &smb4k;, you need:</para>
3904     <itemizedlist>
3905       <listitem><para><ulink url="https://www.cmake.org">CMake</ulink> (&ge; 3.2)</para></listitem>
3906       <listitem><para><ulink url="https://gcc.gnu.org">GNU Compiler Collection</ulink> (g++ &ge; 5.0) or <ulink url="https://clang.llvm.org">clang/LLVM</ulink> (&ge; 3.0)</para></listitem>
3907     </itemizedlist>
3908     <para>To be able to use the main application of &smb4k;, you need at least <ulink url="https://www.qt.io">&Qt;</ulink> version 5.6.0 and <ulink url="https://www.kde.org">&kf5;</ulink> version 5.25.0 to be installed. The provided &plasmoid; is known to run with &Qt; version 5.6.1, &kf5; version 5.36 and &plasma; version 5.8.9. Earlier versions of &kf5; and &plasma; might work as well but have not been tested.</para>
3909     <para>&smb4k; build depends on:</para>
3910     <itemizedlist>
3911       <listitem><para>QtCore, QtGui, QtWidgets, QtTest, QtNetwork, QtPrintSupport, QtQml</para></listitem>
3912       <listitem><para>KConfig, KAuth, KDocTools, KIconThemes, KWidgetsAddons, KI18n, KCompletion, KCoreAddons, &solid;, KIO, KNotifications, KXmlGui, KJobWidgets, &kwallet5;, KDBusAddons, KConfigWidgets, KNotifications, KWindowSystem</para></listitem>
3913       <listitem><para>libsmbclient</para></listitem>
3914     </itemizedlist>
3915     <para>It also runtime depends on:</para>
3916     <itemizedlist>
3917       <listitem><para>KPlasma</para></listitem>
3918       <listitem><para><ulink url="https://wiki.samba.org/index.php/LinuxCIFS_utils">LinuxCIFS utils</ulink> (&Linux; only)</para></listitem>
3919     </itemizedlist>
3920     <para>To enable full functionality, you may also want to install these programs:</para>
3921     <itemizedlist>
3922       <listitem><para><ulink url="https://rsync.samba.org">rsync</ulink></para></listitem>
3923     </itemizedlist>
3924     <para>The full list of changes can be found in the Git log at <ulink url="https://cgit.kde.org/smb4k.git">cgit.kde.org</ulink>. A summary can be found in the <filename>ChangeLog</filename> file in the tarball.</para>
3925   </sect1>
3926   
3927 <!-- 
3928       Appendix: Configuration, Compilation and Installation 
3929   -->
3930 
3931   <sect1 id="appendix_compilation">
3932     <title>Configuration, Compilation and Installation</title>
3933 
3934     <para>This section describes the configuration, compilation and installation of &smb4k;. Make sure, you have read the <link linkend="appendix_requirements">Requirements</link> section before you start.</para>
3935     <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>
3936     
3937 <screen>
3938 <prompt>$</prompt> <userinput><command>tar</command> xvfJ smb4k-x.y.z.tar.xz</userinput>
3939 </screen>
3940 
3941     <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>
3942 
3943 <screen>
3944 <prompt>$</prompt> <userinput><command>cd</command> <filename class="directory">smb4k-x.y.z</filename></userinput>
3945 <prompt>$</prompt> <userinput><command>mkdir</command> <filename class="directory">build</filename></userinput>
3946 </screen>
3947 
3948     <para>Change into the <filename class="directory">build</filename> directory and configure the source code:</para>
3949 
3950 <screen>
3951 <prompt>$</prompt> <userinput><command>cd</command> <filename class="directory">build</filename></userinput>
3952 <prompt>$</prompt> <userinput><command>cmake</command> -DCMAKE_INSTALL_PREFIX=`qtpaths --install-prefix` -DCMAKE_BUILD_TYPE=Release <filename class="directory">..</filename></userinput>
3953 </screen>
3954 
3955     <para>If &smb4k; cannot find some shared libraries after the installation (&eg; if you are using Kubuntu 16.04), it may be necessary to add the <option>-DKDE_INSTALL_PLUGINDIR</option> argument to the command line above:</para>
3956 
3957 <screen>
3958 <prompt>$</prompt> <userinput><command>cd</command> <filename class="directory">build</filename></userinput>
3959 <prompt>$</prompt> <userinput><command>cmake</command> -DCMAKE_INSTALL_PREFIX=`qtpaths --install-prefix` \
3960      -DKDE_INSTALL_PLUGINDIR=`qtpaths --plugin-dir` -DCMAKE_BUILD_TYPE=Release <filename class="directory">..</filename></userinput>
3961 </screen>
3962 
3963     <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>
3964     <para>There are also some &smb4k; specific arguments you might be interested in:</para>
3965     <para>
3966       <informaltable frame="all">
3967       <tgroup cols="3" align="left" colsep="1" rowsep="1">
3968         <thead>
3969           <row>
3970             <entry>Argument</entry>
3971             <entry>Since</entry>
3972             <entry>Description</entry>
3973           </row>
3974         </thead>
3975         <tbody>
3976           <row>
3977             <entry>-DINSTALL_HEADER_FILES=ON|OFF</entry>
3978             <entry align="center">1.0.0</entry>
3979             <entry>Install the core header files. This is off by default.</entry>
3980           </row>
3981           <row>
3982             <entry>-DINSTALL_PLASMOID=ON|OFF</entry>
3983             <entry align="center">1.1.0</entry>
3984             <entry>Install the plasmoid. This is on by default.</entry>
3985           </row>
3986         </tbody>
3987       </tgroup>
3988       </informaltable>
3989     </para>
3990     <para>After the configuration, compile and install &smb4k;:</para>
3991 
3992 <screen>
3993 <prompt>$</prompt> <userinput><command>make</command> &amp;&amp; <command>sudo make</command> install</userinput>
3994 </screen>
3995 
3996     <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>
3997 
3998 <screen>
3999 <prompt>$</prompt> <userinput><command>make</command> &amp;&amp; <command>sudo checkinstall</command></userinput>
4000 </screen>
4001 
4002   </sect1>
4003 </appendix>
4004 </book>