~ubuntu-branches/ubuntu/quantal/smb4k/quantal

« back to all changes in this revision

Viewing changes to doc/index.docbook

  • Committer: Package Import Robot
  • Author(s): Fathi Boudra
  • Date: 2012-05-19 18:54:34 UTC
  • mfrom: (1.1.20)
  • Revision ID: package-import@ubuntu.com-20120519185434-duffny2n87214n1n
Tags: 1.0.1-1
* New upstream release.
* Update debian/compat: bump to 9.
* Update debian/control:
  - bump debhelper to 9.
  - bump kdelibs5-dev build dependency to 4:4.4.0.
  - bump Standards-Version to 3.9.3 (no changes needed).
  - Replace smbfs dependency by cifs-utils. (Closes: #638162)
* Update debian/copyright:
  - update upstream URL.
  - update upstream e-mail.
* Update debian/smb4k.lintian-overrides file.
* Update debian/watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "customization/dtd/kdex.dtd"[
 
3
  <!ENTITY smb4k "<application>Smb4K</application>">
 
4
    <!ENTITY kappname "&smb4k;">
 
5
    <!ENTITY % addindex "IGNORE"><!-- do *not* replace kappname -->
 
6
  <!ENTITY % English "INCLUDE"><!-- change language only here -->
 
7
]>
 
8
 
 
9
<book lang="&language;" >
 
10
 
 
11
<bookinfo>
 
12
<title>The &smb4k; Handbook</title>
 
13
<authorgroup>
 
14
<author>
 
15
<firstname>Alexander</firstname>
 
16
<othername></othername>
 
17
<surname>Reinholdt</surname>
 
18
<affiliation>
 
19
<address>
 
20
<email>alexander.reinholdt AT kdemail.net</email>
 
21
</address>
 
22
</affiliation>
 
23
</author>
 
24
<!-- TRANS:ROLES_OF_TRANSLATORS -->
 
25
</authorgroup>
 
26
<copyright>
 
27
<year>2005-2011</year>
 
28
<holder>Alexander Reinholdt</holder>
 
29
</copyright>
 
30
<legalnotice>&underFDL;</legalnotice>
 
31
<date>2011-11-28</date>
 
32
<releaseinfo>4.0.0</releaseinfo>
 
33
<abstract>
 
34
<para>&smb4k; is an advanced network neighborhood browser and a front end to the programs of the Samba software suite.</para>
 
35
</abstract>
 
36
<keywordset>
 
37
<keyword>KDE</keyword>
 
38
<keyword>Smb4K</keyword>
 
39
<keyword>Samba</keyword>
 
40
</keywordset>
 
41
</bookinfo>
 
42
 
 
43
<!-- Introduction -->
 
44
 
 
45
<chapter id="introduction" >
 
46
<title>Introduction</title>
 
47
 
 
48
<para>This handbook describes &smb4k; 1.0.x and to some extent earlier versions.</para>
 
49
 
 
50
<para>&smb4k; is an advanced network neighborhood browser and a front end to the programs of the <ulink url="http://www.samba.org">Samba software suite</ulink>. It provides many handy features that ease your life in a mostly &Windows;-dominated network environment:</para>
 
51
 
 
52
<itemizedlist>
 
53
<listitem><para>Scanning for (active) workgroups, hosts, and shares</para></listitem>
 
54
<listitem><para>Support of the CIFS (&Linux;) and SMBFS (FreeBSD) file system</para></listitem>
 
55
<listitem><para>Mounting and unmounting of shares</para></listitem>
 
56
<listitem><para>Access to the files of a mounted share using a file manager or terminal</para></listitem>
 
57
<listitem><para>Auto-detection of external mounts and unmounts</para></listitem>
 
58
<listitem><para>Remounting of previously used shares on program start</para></listitem>
 
59
<listitem><para>Miscellaneous infos about remote network items and mounted shares</para></listitem>
 
60
<listitem><para>Network search</para></listitem>
 
61
<listitem><para>WINS server support</para></listitem>
 
62
<listitem><para>Preview of the contents of a share</para></listitem>
 
63
<listitem><para>Several methods to look up the initial list of workgroups and domains</para></listitem>
 
64
<listitem><para>Default login</para></listitem>
 
65
<listitem><para>Special handling of homes shares</para></listitem>
 
66
<listitem><para>Ability to bookmark favorite shares</para></listitem>
 
67
<listitem><para>System tray widget</para></listitem>
 
68
<listitem><para>Support of advanced Samba options</para></listitem>
 
69
<listitem><para>Support of printer shares</para></listitem>
 
70
<listitem><para>KWallet support</para></listitem>
 
71
<listitem><para>Synchronization of a remote share with a local copy and vice versa</para></listitem>
 
72
<listitem><para>Ability to define custom options for individual servers and shares</para></listitem>
 
73
</itemizedlist>
 
74
 
 
75
 <para>If you encounter problems while using &smb4k;, please visit our <ulink url="https://sourceforge.net/p/smb4k/wiki/Home/">wiki</ulink> first. If you cannot find your problem described there, please post a help request to our <ulink url="https://sourceforge.net/p/smb4k/discussion/help/">Help</ulink> forum. In case you find a bug, please report it to our <ulink url="https://sourceforge.net/p/smb4k/tickets/">bug tracker</ulink>.</para>
 
76
 <para>For discussions about &smb4k;-related topics there is the <ulink url="https://sourceforge.net/p/smb4k/discussion/general/">General Discussion</ulink> forum and we invited every user to participate.</para>
 
77
</chapter>
 
78
 
 
79
<!-- Using Smb4K -->
 
80
 
 
81
<chapter id="using_smb4k">
 
82
<title>Using &smb4k;</title>
 
83
 
 
84
<!-- Running Smb4K -->
 
85
 
 
86
<sect1 id="running_smb4k" >
 
87
<title>Running &smb4k;</title>
 
88
 
 
89
<para>After the installation, you can run &smb4k; either from the K menu or from the command prompt by typing</para>
 
90
<screen><prompt>$</prompt> <userinput><command>smb4k</command></userinput></screen>
 
91
<para>&smb4k; does not take any arguments, except those that are known to all &kde; programs.</para>
 
92
 
 
93
<para>During start-up, &smb4k; checks for all programs that are required to run the application. If some of them are missing, &smb4k; notifies the user about them.</para>
 
94
 
 
95
<screenshot>
 
96
<screeninfo>Notification listing the missing programs</screeninfo>
 
97
<mediaobject>
 
98
<imageobject>
 
99
<imagedata fileref="notification_programs_missing.png" format="PNG" />
 
100
</imageobject>
 
101
<textobject>
 
102
<phrase>Notification that lists the missing programs</phrase>
 
103
</textobject>
 
104
</mediaobject>
 
105
</screenshot>
 
106
 
 
107
<para>You have to install the listed programs or add their 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) in order to be able to run the application properly.</para>
 
108
 
 
109
<note><para>It is recommended that you configure Samba before using &smb4k;. The <ulink url="man:/swat"><citerefentry><refentrytitle>swat</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> utility can be used for this purpose. It is part of the Samba software suite and provides an easy-to-use web interface. See its manual page for documentation.</para></note>
 
110
</sect1>
 
111
 
 
112
<!-- Main Window -->
 
113
 
 
114
<sect1 id="mainwindow_overview">
 
115
<title>The Main Window</title>
 
116
<para>On the first start-up, the main window of &smb4k; looks similar to the one shown below. The network neighborhood browser (<guilabel>Network Neighborhood</guilabel>), the network search widget (<guilabel>Network Search</guilabel>) and the mounted shares view (<guilabel>Mounted Shares</guilabel>) are arranged in a tab widget. Above them the menubar and toolbars are located. Below them you find the status bar.</para>
 
117
 
 
118
<screenshot id="mainwindow_overview_screenshot">
 
119
<screeninfo>Screenshot of the main window</screeninfo>
 
120
<mediaobject>
 
121
<imageobject>
 
122
<imagedata fileref="main_window.png" format="PNG" />
 
123
</imageobject>
 
124
<textobject>
 
125
<phrase>The main window</phrase>
 
126
</textobject>
 
127
</mediaobject>
 
128
</screenshot>
 
129
 
 
130
<para>There are the following four toolbars defined. They contain the actions needed to interact with the application, the network neighborhood and the mounted shares. They can also be found in the menubar or in the popup menus of the dock widgets. For additional information and some important warnings, please have a look at the sections discussing the <link linkend="network_neighborhood_browser">network neighborhood browser</link>, <link linkend="network_search_dialog">search dialog</link>, and <link linkend="mounted_shares_view">mounted shares view</link>.</para>
 
131
<itemizedlist>
 
132
  <listitem><formalpara><title>Main Toolbar</title><para>This toolbar is located on the leftmost side and contains actions that can be used to add a bookmark, change several settings or to quit the application.</para></formalpara>
 
133
  <screenshot id="mainwindow_main_toolbar">
 
134
  <screeninfo>Screenshot of the Main Toolbar</screeninfo>
 
135
  <mediaobject>
 
136
  <imageobject>
 
137
  <imagedata fileref="toolbar_main_window.png" format="PNG" />
 
138
  </imageobject>
 
139
  <textobject>
 
140
  <phrase>The Main Toolbar</phrase>
 
141
  </textobject>
 
142
  </mediaobject>
 
143
  </screenshot>
 
144
  <para>The actions are (from left to right):</para>
 
145
  <variablelist>
 
146
    <varlistentry>
 
147
      <term>
 
148
        <menuchoice>
 
149
          <shortcut>
 
150
            <keycombo action="simul">&Ctrl;<keycap>B</keycap></keycombo>
 
151
          </shortcut>
 
152
          <guimenuitem>Add Bookmark</guimenuitem>
 
153
        </menuchoice>
 
154
      </term>
 
155
      <listitem>
 
156
        <para>Add a bookmark. This action adds a bookmark to a share either selected in the <link linkend="network_neighborhood_browser">network neighborhood browser</link> or in the <link linkend="mounted_shares_view">mounted shares view</link>. This depends on which of the two windows is activated (has got the focus). The button is disable if neither of the two windows is activated or no share is selected.</para>
 
157
      </listitem>
 
158
    </varlistentry>
 
159
  <varlistentry>
 
160
  <term>
 
161
  <menuchoice>
 
162
  <guimenuitem>Dock Widgets</guimenuitem>
 
163
  </menuchoice>
 
164
  </term>
 
165
  <listitem>
 
166
  <para>Hide or show the <guilabel>Network Neighborhood</guilabel>, <guilabel>Network Search</guilabel>, or <guilabel>Mounted Shares</guilabel> dock widget.</para>
 
167
  </listitem>
 
168
  </varlistentry>
 
169
  <varlistentry>
 
170
  <term>
 
171
  <menuchoice>
 
172
  <guimenuitem>Shares View</guimenuitem>
 
173
  </menuchoice>
 
174
  </term>
 
175
  <listitem>
 
176
  <para>Choose which <link linkend="mounted_shares_view">view</link> you want to use to display the mounted shares. An icon view and a list view are available.</para>
 
177
  </listitem>
 
178
  </varlistentry>
 
179
  <varlistentry>
 
180
  <term>
 
181
  <menuchoice>
 
182
  <guimenuitem>Configure &smb4k;...</guimenuitem>
 
183
  </menuchoice>
 
184
  </term>
 
185
  <listitem>
 
186
  <para>Open the <link linkend="configuration">configuration dialog</link>.</para>
 
187
  </listitem>
 
188
  </varlistentry>
 
189
  <varlistentry>
 
190
    <term>
 
191
      <menuchoice>
 
192
        <guimenuitem>Quit</guimenuitem>
 
193
      </menuchoice>
 
194
    </term>
 
195
    <listitem>
 
196
      <para>Quit &smb4k;.</para>
 
197
    </listitem>
 
198
  </varlistentry>
 
199
  </variablelist>
 
200
  </listitem>
 
201
  <listitem><formalpara><title>Network Toolbar</title><para>In this toolbar all actions are organized (except the <guimenuitem>Add Bookmark</guimenuitem> action) that are defined in the <link linkend="network_neighborhood_browser"><guilabel>Network Neighborhood</guilabel></link> widget.</para></formalpara>
 
202
  <screenshot id="mainwindow_network_toolbar">
 
203
  <screeninfo>Screenshot of the Network Toolbar</screeninfo>
 
204
  <mediaobject>
 
205
  <imageobject>
 
206
  <imagedata fileref="toolbar_network_browser.png" format="PNG" />
 
207
  </imageobject>
 
208
  <textobject>
 
209
  <phrase>The Network Toolbar</phrase>
 
210
  </textobject>
 
211
  </mediaobject>
 
212
  </screenshot>
 
213
  <para>The actions are (from left to right):</para>
 
214
  <variablelist>
 
215
  <varlistentry>
 
216
  <term>
 
217
  <menuchoice>
 
218
    <shortcut>
 
219
      <keycap>F5</keycap>
 
220
    </shortcut>
 
221
  <guimenuitem>Scan Network|Workgroup|Computer</guimenuitem>
 
222
  </menuchoice>
 
223
  </term>
 
224
  <listitem>
 
225
    <para>Scan the network, the highlighted workgroup or computer for new entries. This action is enabled by default and will be disabled if a network scan is running.</para>
 
226
    <note>
 
227
      <para>The old keyboard shortcut <keycombo action="simul">&Ctrl; <keycap>R</keycap></keycombo> is still available as an alternative.</para>
 
228
    </note>
 
229
  </listitem>
 
230
  </varlistentry>
 
231
  <varlistentry>
 
232
  <term>
 
233
  <menuchoice>
 
234
  <shortcut>
 
235
  <keycombo action="simul">
 
236
  &Ctrl; <keycap>A</keycap>
 
237
  </keycombo>
 
238
  </shortcut>
 
239
  <guimenuitem>Abort</guimenuitem>
 
240
  </menuchoice>
 
241
  </term>
 
242
  <listitem>
 
243
  <para>Abort any action performed by the network neighborhood browser. This button is disabled by default and will only be enabled if a network scan is running or a share is being mounted.</para>
 
244
  </listitem>
 
245
  </varlistentry>
 
246
  <varlistentry>
 
247
  <term>
 
248
  <menuchoice>
 
249
  <shortcut>
 
250
  <keycombo action="simul">
 
251
  &Ctrl; <keycap>O</keycap>
 
252
  </keycombo>
 
253
  </shortcut>
 
254
  <guimenuitem>Open Mount Dialog</guimenuitem>
 
255
  </menuchoice>
 
256
  </term>
 
257
  <listitem>
 
258
  <para>Open the <link linkend="mainwindow_network_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>
 
259
  </listitem>
 
260
  </varlistentry>
 
261
  <varlistentry>
 
262
  <term>
 
263
  <menuchoice>
 
264
  <shortcut>
 
265
  <keycombo action="simul">
 
266
  &Ctrl; <keycap>T</keycap>
 
267
  </keycombo>
 
268
  </shortcut>
 
269
  <guimenuitem>Authentication</guimenuitem>
 
270
  </menuchoice>
 
271
  </term>
 
272
  <listitem>
 
273
  <para>Open the <link linkend="mainwindow_network_authentication">authentication dialog</link> for the selected server or share. The button is disabled if a workgroup or no item is selected.</para>
 
274
  </listitem>
 
275
  </varlistentry>
 
276
  <varlistentry>
 
277
  <term>
 
278
  <menuchoice>
 
279
  <shortcut>
 
280
  <keycombo action="simul">
 
281
  &Ctrl; <keycap>C</keycap>
 
282
  </keycombo>
 
283
  </shortcut>
 
284
  <guimenuitem>Custom Options</guimenuitem>
 
285
  </menuchoice>
 
286
  </term>
 
287
  <listitem>
 
288
  <para>Open the <link linkend="network_neighborhood_browser_custom">Custom Options</link> dialog for a selected server or share. The button is disabled if a workgroup or no item is selected.</para>
 
289
  </listitem>
 
290
  </varlistentry>
 
291
  <varlistentry>
 
292
  <term>
 
293
  <menuchoice>
 
294
  <shortcut>
 
295
  <keycombo action="simul">
 
296
  &Ctrl; <keycap>V</keycap>
 
297
  </keycombo>
 
298
  </shortcut>
 
299
  <guimenuitem>Preview</guimenuitem>
 
300
  </menuchoice>
 
301
  </term>
 
302
  <listitem>
 
303
  <para>Open the <link linkend="mainwindow_network_preview">preview dialog</link>. It is only enabled if a share is selected. Printer shares cannot be previewed.</para>
 
304
  </listitem>
 
305
  </varlistentry>
 
306
  <varlistentry>
 
307
  <term>
 
308
  <menuchoice>
 
309
  <shortcut>
 
310
  <keycombo action="simul">
 
311
  &Ctrl; <keycap>P</keycap>
 
312
  </keycombo>
 
313
  </shortcut>
 
314
  <guimenuitem>Print File</guimenuitem>
 
315
  </menuchoice>
 
316
  </term>
 
317
  <listitem>
 
318
  <para>Open the <link linkend="mainwindow_network_printing">print dialog</link>. It is only enabled if a printer share is selected.</para>
 
319
  </listitem>
 
320
  </varlistentry>
 
321
  <varlistentry>
 
322
  <term>
 
323
  <menuchoice>
 
324
  <shortcut>
 
325
  <keycombo action="simul">
 
326
  &Ctrl; <keycap>M</keycap>
 
327
  </keycombo>
 
328
  </shortcut>
 
329
  <guimenuitem>Mount</guimenuitem>
 
330
  </menuchoice>
 
331
  </term>
 
332
  <listitem>
 
333
  <para>Mount the selected share. By default and if a workgroup or server is selected, the button is disabled.</para>
 
334
  </listitem>
 
335
  </varlistentry>
 
336
  </variablelist>
 
337
  </listitem>
 
338
  <listitem><formalpara><title>Search Toolbar</title><para>This toolbar contains all actions that are defined in the <link linkend="network_search_dialog"><guilabel>Network Search</guilabel></link> widget.</para></formalpara>
 
339
  <screenshot id="mainwindow_search_toolbar">
 
340
  <screeninfo>Screenshot of the Search Toolbar</screeninfo>
 
341
  <mediaobject>
 
342
  <imageobject>
 
343
  <imagedata fileref="toolbar_search_dialog.png" format="PNG" />
 
344
  </imageobject>
 
345
  <textobject>
 
346
  <phrase>The Search Toolbar</phrase>
 
347
  </textobject>
 
348
  </mediaobject>
 
349
  </screenshot>
 
350
  <para>The actions are (from left to right):</para>
 
351
  <variablelist>
 
352
  <varlistentry>
 
353
  <term>
 
354
  <menuchoice>
 
355
  <shortcut>
 
356
  <keycombo action="simul">
 
357
  &Ctrl; <keycap>S</keycap>
 
358
  </keycombo>
 
359
  </shortcut>
 
360
  <guimenuitem>Search</guimenuitem>
 
361
  </menuchoice>
 
362
  </term>
 
363
  <listitem>
 
364
  <para>Search for the item that was entered in the search dialog.</para>
 
365
  </listitem>
 
366
  </varlistentry>
 
367
  <varlistentry>
 
368
  <term>
 
369
  <menuchoice>
 
370
  <shortcut>
 
371
  <keycombo action="simul">
 
372
  &Ctrl; <keycap>A</keycap>
 
373
  </keycombo>
 
374
  </shortcut>
 
375
  <guimenuitem>Abort</guimenuitem>
 
376
  </menuchoice>
 
377
  </term>
 
378
  <listitem>
 
379
  <para>Abort the network search.</para>
 
380
  </listitem>
 
381
  </varlistentry>
 
382
  <varlistentry>
 
383
  <term>
 
384
  <menuchoice>
 
385
  <guimenuitem>Clear</guimenuitem>
 
386
  </menuchoice>
 
387
  </term>
 
388
  <listitem>
 
389
  <para>Clear the search dialog.</para>
 
390
  </listitem>
 
391
  </varlistentry>
 
392
  <varlistentry>
 
393
  <term>
 
394
  <menuchoice>
 
395
  <shortcut>
 
396
  <keycombo action="simul">
 
397
  &Ctrl; <keycap>D</keycap>
 
398
  </keycombo>
 
399
  </shortcut>
 
400
  <guimenuitem>Mount</guimenuitem>
 
401
  </menuchoice>
 
402
  </term>
 
403
  <listitem>
 
404
    <para>Mount a remote share from within the <guilabel>Network Search</guilabel> widget.</para>
 
405
  </listitem>
 
406
  </varlistentry>
 
407
  </variablelist>
 
408
  </listitem>
 
409
  <listitem><formalpara><title>Shares Toolbar</title><para>Here you find all actions (except the <guimenuitem>Add Bookmark</guimenuitem> action) that are defined in the <link linkend="mounted_shares_view"><guilabel>Mounted Shares</guilabel></link> widget. They are used to work with the mounted shares or to unmount them.</para></formalpara>
 
410
  <screenshot id="mainwindow_shares_toolbar">
 
411
  <screeninfo>Screenshot of the Shares Toolbar</screeninfo>
 
412
  <mediaobject>
 
413
  <imageobject>
 
414
  <imagedata fileref="toolbar_shares_view.png" format="PNG" />
 
415
  </imageobject>
 
416
  <textobject>
 
417
  <phrase>The Shares Toolbar</phrase>
 
418
  </textobject>
 
419
  </mediaobject>
 
420
  </screenshot>
 
421
  <para>The actions are (from left to right):</para>
 
422
  <variablelist>
 
423
  <varlistentry>
 
424
  <term>
 
425
  <menuchoice>
 
426
  <shortcut>
 
427
  <keycombo action="simul">
 
428
  &Ctrl; <keycap>U</keycap>
 
429
  </keycombo>
 
430
  </shortcut>
 
431
  <guimenuitem>Unmount</guimenuitem>
 
432
  </menuchoice>
 
433
  </term>
 
434
  <listitem>
 
435
  <para><link linkend="mainwindow_shares_unmounting">Unmount</link> the share that is selected in the shares view. Please note that the ability to unmount shares is by default restricted to the ones that are owned by you. You can change this behavior by changing the <link linkend="configuration_shares_mounting">settings</link> in the configuration dialog. If no share is selected in the shares view, this button is disabled.</para>
 
436
  <note>
 
437
    <para>The <guilabel>Force Unmounting</guilabel> action that was present under &Linux; before &smb4k; 1.0.0 has been removed. Instead you can modify the <link linkend="configuration_shares_mounting">settings</link> in the configuration dialog to enable the forced unmounting of <emphasis>inaccessible</emphasis> shares.</para>
 
438
  </note>
 
439
  </listitem>
 
440
  </varlistentry>
 
441
  <varlistentry>
 
442
  <term>
 
443
  <menuchoice>
 
444
  <shortcut>
 
445
  <keycombo action="simul">
 
446
  &Ctrl; <keycap>N</keycap>
 
447
  </keycombo>
 
448
  </shortcut>
 
449
  <guimenuitem>Unmount All</guimenuitem>
 
450
  </menuchoice>
 
451
  </term>
 
452
  <listitem>
 
453
  <para><link linkend="mainwindow_shares_unmounting">Unmount all shares at once</link>. The restrictions noted above also apply here. If you do not have any shares mounted, this button is disabled.</para>
 
454
  </listitem>
 
455
  </varlistentry>
 
456
  <varlistentry>
 
457
  <term>
 
458
  <menuchoice>
 
459
  <shortcut>
 
460
  <keycombo action="simul">
 
461
  &Ctrl; <keycap>Y</keycap>
 
462
  </keycombo>
 
463
  </shortcut>
 
464
  <guimenuitem>Synchronize</guimenuitem>
 
465
  </menuchoice>
 
466
  </term>
 
467
  <listitem>
 
468
  <para>Initiate the <link linkend="mainwindow_shares_synchronization">synchronization</link> of the contents of a selected share.</para>
 
469
  </listitem>
 
470
  </varlistentry>
 
471
  <varlistentry>
 
472
  <term>
 
473
  <menuchoice>
 
474
  <shortcut>
 
475
  <keycombo action="simul">
 
476
  &Ctrl; <keycap>L</keycap>
 
477
  </keycombo>
 
478
  </shortcut>
 
479
  <guimenuitem>Open with Konsole</guimenuitem>
 
480
  </menuchoice>
 
481
  </term>
 
482
  <listitem>
 
483
  <para>Open the contents of the selected share in &konsole;.</para>
 
484
  </listitem>
 
485
  </varlistentry>
 
486
  <varlistentry>
 
487
  <term>
 
488
  <menuchoice>
 
489
  <shortcut>
 
490
  <keycombo action="simul">
 
491
  &Ctrl; <keycap>I</keycap>
 
492
  </keycombo>
 
493
  </shortcut>
 
494
  <guimenuitem>Open with File Manager</guimenuitem>
 
495
  </menuchoice>
 
496
  </term>
 
497
  <listitem>
 
498
  <para>Open the contents of the selected share in the default file manager.</para>
 
499
  </listitem>
 
500
  </varlistentry>
 
501
  </variablelist>
 
502
  </listitem>
 
503
</itemizedlist>
 
504
 
 
505
<para>The status bar gives some information about the current status of &smb4k;. If the application is processing a user request (&eg; mounting a share), a descriptive message is displayed in the leftmost section and a progress bar is shown with a busy indicator. The two icons on the right hand side indicate if there are shares mounted (remote folder icon) and the status of the authentication system (wallet or key icon).</para>
 
506
 
 
507
<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>
 
508
 
 
509
<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</guimenuitem></menuchoice>, respectively.</para>
 
510
</sect1>
 
511
 
 
512
<!-- The network browser -->
 
513
 
 
514
<sect1 id="network_neighborhood_browser">
 
515
<title>The Network Neighborhood Browser</title>
 
516
 
 
517
<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 [+] next to the item name or by executing the item itself.</para>
 
518
<screenshot>
 
519
  <screeninfo>Screenshot of the network neighborhood browser</screeninfo>
 
520
  <mediaobject>
 
521
  <imageobject>
 
522
  <imagedata fileref="network_neighborhood_browser.png" format="PNG" />
 
523
  </imageobject>
 
524
  <textobject>
 
525
  <phrase>The network neighborhood browser</phrase>
 
526
  </textobject>
 
527
  </mediaobject>
 
528
</screenshot>
 
529
 
 
530
<sect2 id="network_neighborhood_browser_browsing">
 
531
<title>Browsing</title>
 
532
<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>
 
533
 
 
534
<para>There are two scan modes available. The traditional one, where initially only workgroups and domains are looked up and scans are only made when necessary &#8212; &ie; when you execute a network item &#8212;, and one, where the network is scanned periodically for <emphasis>all</emphasis> available network items including servers and shares. While the former one is the default, the latter one can be enabled in the <link linkend="configuration_network_periodic_scanning">configuration dialog</link>.</para>
 
535
 
 
536
<para>There are <link linkend="configuration_network_browselist">four methods</link> to retrieve the browse list: The default one is to scan the network neighborhood for all available master browsers. The second and third method directly query a master browser to get the browse list. The difference is that the former is a dynamic one, where the current master browser of your workgroup or domain is looked up and used, and the latter is a static one, where a fixed name or IP address is used. It is recommended that you choose the dynamic method. However, there might be circumstances that make it necessary to use a static name or IP address. The last method searches for all registered IP addresses within a given broadcast area. This might come in handy on poorly performing network neighborhoods.</para>
 
537
 
 
538
<note><para>Under normal circumstances you should not have any trouble browsing the network neighborhood. In case you experience problems, please read our <ulink url="https://sourceforge.net/p/smb4k/wiki/Home/">wiki</ulink> first before thinking about <ulink url="https://sourceforge.net/p/smb4k/tickets/">reporting a bug</ulink>. It lists some common problems and their solutions.</para></note>
 
539
</sect2>
 
540
 
 
541
<sect2 id="mainwindow_network_menu">
 
542
<title>Popup Menu</title>
 
543
<para>Although you can interact with the network using <link linkend="network_menu">keyboard shortcuts</link>, 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>
 
544
<screenshot>
 
545
<screeninfo>Screenshot of the popup menu of the network browser</screeninfo>
 
546
<mediaobject>
 
547
<imageobject>
 
548
<imagedata fileref="popup_menu_browser.png" format="PNG" />
 
549
</imageobject>
 
550
<textobject>
 
551
<phrase>The popup menu of the network browser</phrase>
 
552
</textobject>
 
553
</mediaobject>
 
554
</screenshot>
 
555
<para>The title of the popup menu is set to the name of the network item or displays <guilabel>Network</guilabel> if you clicked on the viewport.</para>
 
556
 
 
557
<para>The following menu entries (actions) are available:</para>
 
558
 
 
559
<variablelist>
 
560
<varlistentry>
 
561
<term>
 
562
<menuchoice>
 
563
<shortcut>
 
564
<keycap>F5</keycap>
 
565
</shortcut>
 
566
<guimenuitem>Scan Network|Workgroup|Computer</guimenuitem>
 
567
</menuchoice>
 
568
</term>
 
569
<listitem>
 
570
<para>Scan the whole network neighborhood, a workgroup/domain, or a server.</para>
 
571
</listitem>
 
572
</varlistentry>
 
573
<varlistentry>
 
574
<term>
 
575
<menuchoice>
 
576
<shortcut>
 
577
<keycombo action="simul">
 
578
&Ctrl; <keycap>A</keycap>
 
579
</keycombo>
 
580
</shortcut>
 
581
<guimenuitem>Abort</guimenuitem>
 
582
</menuchoice>
 
583
</term>
 
584
<listitem>
 
585
<para>Abort any running process of the network neighborhood browser.</para>
 
586
</listitem>
 
587
</varlistentry>
 
588
<varlistentry>
 
589
<term>
 
590
<menuchoice>
 
591
<guimenuitem>Add Bookmark</guimenuitem>
 
592
</menuchoice>
 
593
</term>
 
594
<listitem>
 
595
<para>Add a bookmark to the currently selected remote share. This action is disabled if no share is selected.</para>
 
596
</listitem>
 
597
</varlistentry>
 
598
<varlistentry>
 
599
<term>
 
600
<menuchoice>
 
601
<shortcut>
 
602
<keycombo action="simul">
 
603
&Ctrl; <keycap>O</keycap>
 
604
</keycombo>
 
605
</shortcut>
 
606
<guimenuitem>Open Mount Dialog</guimenuitem>
 
607
</menuchoice>
 
608
</term>
 
609
<listitem>
 
610
<para>Open the <link linkend="mainwindow_network_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>
 
611
</listitem>
 
612
</varlistentry>
 
613
<varlistentry>
 
614
<term>
 
615
<menuchoice>
 
616
<shortcut>
 
617
<keycombo action="simul">
 
618
&Ctrl; <keycap>T</keycap>
 
619
</keycombo>
 
620
</shortcut>
 
621
<guimenuitem>Authentication</guimenuitem>
 
622
</menuchoice>
 
623
</term>
 
624
<listitem>
 
625
<para>The <link linkend="mainwindow_network_authentication">authentication dialog</link> is opened. You can provide the login and password for the selected server or share. If no item or a workgroup is selected, this menu entry is disabled.</para>
 
626
</listitem>
 
627
</varlistentry>
 
628
<varlistentry>
 
629
<term>
 
630
<menuchoice>
 
631
<shortcut>
 
632
<keycombo action="simul">
 
633
&Ctrl; <keycap>C</keycap>
 
634
</keycombo>
 
635
</shortcut>
 
636
<guimenuitem>Custom Options</guimenuitem>
 
637
</menuchoice>
 
638
</term>
 
639
<listitem>
 
640
<para>The <link linkend="network_neighborhood_browser_custom">Custom Options</link> dialog is opened. You can set several custom options for the selected server or share. If no item or a workgroup is selected, this menu entry is disabled.</para>
 
641
</listitem>
 
642
</varlistentry>
 
643
<varlistentry>
 
644
<term>
 
645
<menuchoice>
 
646
<shortcut>
 
647
<keycombo action="simul">
 
648
&Ctrl; <keycap>V</keycap>
 
649
</keycombo>
 
650
</shortcut>
 
651
<guimenuitem>Preview</guimenuitem>
 
652
</menuchoice>
 
653
</term>
 
654
<listitem>
 
655
<para><link linkend="mainwindow_network_preview">Preview</link> the contents of the selected remote share.</para>
 
656
</listitem>
 
657
</varlistentry>
 
658
<varlistentry>
 
659
<term>
 
660
<menuchoice>
 
661
<shortcut>
 
662
<keycombo action="simul">
 
663
&Ctrl; <keycap>P</keycap>
 
664
</keycombo>
 
665
</shortcut>
 
666
<guimenuitem>Print File</guimenuitem>
 
667
</menuchoice>
 
668
</term>
 
669
<listitem>
 
670
<para><link linkend="mainwindow_network_printing">Print</link> a file on a remote printer. This menu item is only available if you selected a printer share.</para>
 
671
</listitem>
 
672
</varlistentry>
 
673
<varlistentry>
 
674
<term>
 
675
<menuchoice>
 
676
<shortcut>
 
677
<keycombo action="simul">
 
678
&Ctrl; <keycap>M</keycap>
 
679
</keycombo>
 
680
</shortcut>
 
681
<guimenuitem>Mount</guimenuitem>
 
682
</menuchoice>
 
683
</term>
 
684
<listitem>
 
685
<para>Mount the selected remote share. This menu entry is disabled if you clicked anything different than a share with type "Disk" or "IPC".</para>
 
686
</listitem>
 
687
</varlistentry>
 
688
</variablelist>
 
689
</sect2>
 
690
 
 
691
<sect2 id="mainwindow_network_tooltips">
 
692
<title>Tooltips</title>
 
693
<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; If a tooltip is requested for a server, it is queried for additional information about the operating system and the server (&eg; Samba).</para>
 
694
<para>The tooltips can be disabled in the <link linkend="configuration_user_interface_network_tooltips">configuration dialog</link>.</para>
 
695
</sect2>
 
696
 
 
697
<sect2 id="mainwindow_network_mounting">
 
698
<title>Mounting a Share</title>
 
699
<para>There are three options available to mount a remote share:</para>
 
700
<orderedlist>
 
701
<listitem>
 
702
<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>
 
703
</listitem>
 
704
<listitem>
 
705
<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>
 
706
</listitem>
 
707
<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>
 
708
<screenshot>
 
709
<screeninfo>Screenshot of the "Mount Share" dialog</screeninfo>
 
710
<mediaobject>
 
711
<imageobject>
 
712
<imagedata fileref="dialog_manual_mount.png" format="PNG" />
 
713
</imageobject>
 
714
<textobject>
 
715
<phrase>The "Mount Share" dialog</phrase>
 
716
</textobject>
 
717
</mediaobject>
 
718
</screenshot>
 
719
<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 <screen>//[USER@]SERVER/SHARE</screen> or <screen>\\[USER@]SERVER\SHARE</screen> or as URL in the form <screen>[smb:]//[user@]server:port/share</screen> 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>
 
720
</listitem>
 
721
</orderedlist>
 
722
<para>Often a share is password protected. In this case, an <link linkend="mainwindow_network_authentication">authentication dialog</link> will appear and you have to enter the correct login (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="mounted_shares_view">mounted shares view</link>. If mounting fails, a notification with the error message that was returned by <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> (&Linux;) or <ulink url="man:/mount_smbfs"><citerefentry><refentrytitle>mount_smbfs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> (FreeBSD) will be shown.</para>
 
723
<para>You can switch off the (purely informatory) mount notifications in the <link linkend="configuration_user_interface_general_notifications">configuration dialog</link>.</para>
 
724
<note><para>With a standard installation of &smb4k;, <emphasis>FreeBSD</emphasis> users might experience problems when they try to mount a share. This is due to misplaced DBUS and/or PolKit-1 config files. The section <link linkend="freebsd_remarks_installation">Remarks for FreeBSD Users : DBUS and PolKit-1</link> explains how to fix these issues.</para></note>
 
725
</sect2>
 
726
 
 
727
<sect2 id="mainwindow_network_printing">
 
728
<title>Printing Files on Remote Printers</title>
 
729
<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>
 
730
<screenshot>
 
731
<screeninfo>Screenshot of the print dialog</screeninfo>
 
732
<mediaobject>
 
733
<imageobject>
 
734
<imagedata fileref="dialog_print_file.png" format="PNG" />
 
735
</imageobject>
 
736
<textobject>
 
737
<phrase>The print dialog</phrase>
 
738
</textobject>
 
739
</mediaobject>
 
740
</screenshot>
 
741
<para>In the <guilabel>Printer</guilabel> section various information about the printer is shown. Under <guilabel>File</guilabel> you have to provide the name of the file you want to print. The number of copies can be defined under <guibutton>Options >></guibutton>. Press <guibutton>Print...</guibutton> to start the print process.</para>
 
742
<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>
 
743
</sect2>
 
744
 
 
745
<sect2 id="mainwindow_network_preview">
 
746
<title>Previewing Shares</title>
 
747
<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>
 
748
<screenshot>
 
749
<screeninfo>Screenshot of the preview dialog</screeninfo>
 
750
<mediaobject>
 
751
<imageobject>
 
752
<imagedata fileref="dialog_preview.png" format="PNG" />
 
753
</imageobject>
 
754
<textobject>
 
755
<phrase>The preview dialog</phrase>
 
756
</textobject>
 
757
</mediaobject>
 
758
</screenshot>
 
759
<para>The preview dialog acts like a simple file manager. You can navigate through the contents of the remote share by clicking the folder icons in the list view and the <guibutton>Up</guibutton>, <guibutton>Back</guibutton>, and <guibutton>Forward</guibutton> button. The current location is displayed in the combo box on the right hand side. The <guibutton>Reload</guibutton> button reloads the contents of the current folder.</para>
 
760
<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_user_interface_preview_hidden">configuration dialog</link>. File transfers or the like are not possible.</para>
 
761
</sect2>
 
762
 
 
763
<sect2 id="mainwindow_network_authentication">
 
764
<title>Providing Authentication Information</title>
 
765
<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>
 
766
<screenshot>
 
767
<screeninfo>Screenshot of the authentication dialog</screeninfo>
 
768
<mediaobject>
 
769
<imageobject>
 
770
<imagedata fileref="dialog_authentication.png" format="PNG" />
 
771
</imageobject>
 
772
<textobject>
 
773
<phrase>The authentication dialog</phrase>
 
774
</textobject>
 
775
</mediaobject>
 
776
</screenshot>
 
777
<para>If a user name has already been provided, it will be shown in the respective field. If it is wrong or no user name was provided, you have to enter one. The password, however, may be left blank. Clicking the <guibutton>OK</guibutton> button will commit the data. Depending on your choice in the <link linkend="configuration_authentication">configuration dialog</link>, the user name and password will be stored permanently in a digital wallet, temporarily until &smb4k; exits or not all. In the latter case you will have to provide them <emphasis>every time</emphasis> they are needed.</para>
 
778
</sect2>
 
779
 
 
780
<sect2 id="network_neighborhood_browser_custom">
 
781
<title>Defining Custom Options</title>
 
782
<para>If you need to define special options for a single server or share that are different from the global ones that are set in the configuration dialog<!-- link comes below -->, you can do this with the <guilabel>Custom Options</guilabel> dialog. It is opened by clicking the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>C</keycap></keycombo></shortcut><guimenuitem>Custom Options</guimenuitem></menuchoice> menu entry.</para>
 
783
<screenshot>
 
784
<screeninfo>Screenshot of the custom options dialog for a share</screeninfo>
 
785
<mediaobject>
 
786
<imageobject>
 
787
<imagedata fileref="dialog_custom_options.png" format="PNG" />
 
788
</imageobject>
 
789
<textobject>
 
790
<phrase>The custom options dialog</phrase>
 
791
</textobject>
 
792
</mediaobject>
 
793
</screenshot>
 
794
<para>Depending on your selection, the settings in the custom options dialog either apply to all shares of a server or to a single share. You can define the SMB port, the file system port (&Linux; only), the write access, the user ID, the group ID and if Kerberos should be used for authentication. For detailed information on the individual settings, please see <link linkend="configuration_samba">here</link>.</para>
 
795
<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 these default ones. 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>
 
796
<note><para>Under FreeBSD, the dialog contains less entries than if you run a different operating system, because several of the options are not supported.</para></note>
 
797
</sect2>
 
798
 
 
799
<sect2 id="mainwindow_network_bookmark">
 
800
<title>Adding Bookmarks</title>
 
801
<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. It will then be accessible through the <guimenu>Bookmarks</guimenu> menu. See the section <link linkend="mainwindow_bookmarks">Handling Bookmarks</link> for more details.</para>
 
802
<para>The bookmarks can be used to mount remote shares.</para>
 
803
</sect2>
 
804
</sect1>
 
805
 
 
806
<!-- The search dialog -->
 
807
 
 
808
<sect1 id="network_search_dialog">
 
809
<title>The Network Search Dialog</title>
 
810
<para>The <guilabel>Network Search</guilabel> dialog consists of the combo box where you can enter the search item and a list view where the search results are shown.</para>
 
811
<screenshot>
 
812
<screeninfo>Screenshot of the network search dialog</screeninfo>
 
813
<mediaobject>
 
814
<imageobject>
 
815
<imagedata fileref="network_search_dialog.png" format="PNG" />
 
816
</imageobject>
 
817
<textobject>
 
818
<phrase>The network search dialog</phrase>
 
819
</textobject>
 
820
</mediaobject>
 
821
</screenshot>
 
822
 
 
823
<sect2 id="network_search_dialog_searching">
 
824
<title>Searching</title>
 
825
<para>&smb4k; searches the network neighborhood for shares that match or contain the search string. To start a search, enter the term and either press the &Enter; key or click the <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>S</keycap></keycombo></shortcut><guimenuitem>Search</guimenuitem></menuchoice> action next to the input box. All network shares that match the search criterion are listed in the list view. If they are already mounted on the system, they are marked accordingly. If the search fails, an error message is displayed in the list view. Starting a new search will clear the list view. If you need to abort a search, click the <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>A</keycap></keycombo></shortcut><guimenuitem>Abort</guimenuitem></menuchoice> action next to the <guimenuitem>Search</guimenuitem> action.</para>
 
826
</sect2>
 
827
 
 
828
<sect2 id="network_search_dialog_menu">
 
829
<title>Popup Menu</title>
 
830
<para>The popup menu contains two of the four actions that are defined for the network search dialog. The <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>S</keycap></keycombo></shortcut><guimenuitem>Search</guimenuitem></menuchoice> action, which does the same like pressing the &Enter; key, and the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>A</keycap></keycombo></shortcut><guimenuitem>Abort</guimenuitem></menuchoice> action are only located in the <link linkend="mainwindow_search_toolbar">Search Toolbar</link>.</para>
 
831
<screenshot>
 
832
<screeninfo>Screenshot of the network search's popup menu</screeninfo>
 
833
<mediaobject>
 
834
<imageobject>
 
835
<imagedata fileref="popup_menu_network_search.png" format="PNG" />
 
836
</imageobject>
 
837
<textobject>
 
838
<phrase>The network search's popup menu</phrase>
 
839
</textobject>
 
840
</mediaobject>
 
841
</screenshot>
 
842
<para>The entries in the popup menu are:</para>
 
843
<variablelist>
 
844
<varlistentry>
 
845
<term>
 
846
<menuchoice>
 
847
<guimenuitem>Clear</guimenuitem>
 
848
</menuchoice>
 
849
</term>
 
850
<listitem>
 
851
<para>Clear the whole network search dialog. This action does not only clear the list view, but also the search item history in the combo box.</para>
 
852
</listitem>
 
853
</varlistentry>
 
854
<varlistentry>
 
855
<term>
 
856
<menuchoice>
 
857
<shortcut>
 
858
<keycombo action="simul">
 
859
&Ctrl; <keycap>D</keycap>
 
860
</keycombo>
 
861
</shortcut>
 
862
<guimenuitem>Mount</guimenuitem>
 
863
</menuchoice>
 
864
</term>
 
865
<listitem>
 
866
<para>Mount a remote share. Alternatively, you can double click the network share in the list view.</para>
 
867
</listitem>
 
868
</varlistentry>
 
869
</variablelist>
 
870
</sect2>
 
871
 
 
872
<sect2 id="network_search_dialog_adding">
 
873
<title>Mounting a Share</title>
 
874
<para>A discovered share can directly be mounted by either double clicking it or by selecting it and choosing the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>D</keycap></keycombo></shortcut><guimenuitem>Mount</guimenuitem></menuchoice> action from the popup menu. Due to a shortcoming of the utility program that does the actual search (the <ulink url="man:/smbtree"><citerefentry><refentrytitle>smbtree</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> command), &smb4k; cannot discriminate between printer and normal shares. Mounting a printer share will fail and an error notification will be shown.</para>
 
875
<note>
 
876
<para>When mounting a homes share, you are ask to provide the user name and a share with that name is mounted. The homes share itself will, thus, not be labeled as mounted afterwards.</para>
 
877
</note>
 
878
</sect2>
 
879
</sect1>
 
880
 
 
881
<!-- The shares view -->
 
882
 
 
883
<sect1 id="mounted_shares_view">
 
884
<title>The Mounted Shares View</title>
 
885
<para>In the shares view, you can interact with the mounted shares on your system.</para>
 
886
 
 
887
<sect2 id="mounted_shares_view_views">
 
888
<title>Different Views</title>
 
889
<para>&smb4k; comes with two alternative views: an icon and a list view. They are both shown below.</para>
 
890
<para>The icon view:</para>
 
891
<screenshot>
 
892
  <screeninfo>Screenshot of the shares icon view</screeninfo>
 
893
  <mediaobject>
 
894
  <imageobject>
 
895
  <imagedata fileref="shares_icon_view.png" format="PNG" />
 
896
  </imageobject>
 
897
  <textobject>
 
898
  <phrase>The shares icon view</phrase>
 
899
  </textobject>
 
900
  </mediaobject>
 
901
</screenshot>
 
902
<para>The list view:</para>
 
903
<screenshot>
 
904
  <screeninfo>Screenshot of the shares list view</screeninfo>
 
905
  <mediaobject>
 
906
  <imageobject>
 
907
  <imagedata fileref="shares_list_view.png" format="PNG" />
 
908
  </imageobject>
 
909
  <textobject>
 
910
  <phrase>The shares list view</phrase>
 
911
  </textobject>
 
912
  </mediaobject>
 
913
</screenshot>
 
914
 
 
915
<para>The default view is the traditional icon view where the shares are displayed as icons along with their name or mount point. In the list view all shares are displayed with their name or mount point, the file system and the disk usage. More information can be included by adjusting the <link linkend="configuration_user_interface_shares_view">settings</link>.</para>
 
916
 
 
917
<para>You can switch between the two views by either selecting an entry from the <link linkend="mainwindow_overview"><guibutton>Shares View</guibutton></link> menu or by changing the settings in the <link linkend="configuration_user_interface_shares_view">configuration dialog</link>.</para>
 
918
<para>By default, you will only see your own mounts in the shares view. However, you can tell &smb4k; to show all mounts by altering the <link linkend="configuration_user_interface_shares_mounted_shares">respective settings</link>.</para>
 
919
</sect2>
 
920
 
 
921
<sect2 id="mounted_shares_view_menu">
 
922
<title>Popup Menu</title>
 
923
<para>The popup menu includes all actions that can be performed on a mounted share. It can be opened by clicking the right mouse button.</para>
 
924
<screenshot>
 
925
  <screeninfo>Screenshot of the popup menu of the shares view</screeninfo>
 
926
  <mediaobject>
 
927
  <imageobject>
 
928
  <imagedata fileref="popup_menu_shares_view.png" format="PNG" />
 
929
  </imageobject>
 
930
  <textobject>
 
931
  <phrase>The popup menu of the shares view</phrase>
 
932
  </textobject>
 
933
  </mediaobject>
 
934
 </screenshot>
 
935
<para>The actions accessible through the popup menu are:</para>
 
936
<variablelist>
 
937
<varlistentry>
 
938
  <term>
 
939
  <menuchoice>
 
940
  <shortcut>
 
941
  <keycombo action="simul">
 
942
  &Ctrl; <keycap>U</keycap>
 
943
  </keycombo>
 
944
  </shortcut>
 
945
  <guimenuitem>Unmount</guimenuitem>
 
946
  </menuchoice>
 
947
  </term>
 
948
  <listitem>
 
949
    <para>Unmount the selected share. Read the <link linkend="mainwindow_shares_unmounting">Unmounting Shares</link> section for details.</para>
 
950
  </listitem>
 
951
</varlistentry>
 
952
<varlistentry>
 
953
  <term>
 
954
  <menuchoice>
 
955
  <shortcut>
 
956
  <keycombo action="simul">
 
957
  &Ctrl; <keycap>N</keycap>
 
958
  </keycombo>
 
959
  </shortcut>
 
960
  <guimenuitem>Unmount All</guimenuitem>
 
961
  </menuchoice>
 
962
  </term>
 
963
  <listitem>
 
964
  <para>Unmount all mounted shares at once. Read the <link linkend="mainwindow_shares_unmounting">Unmounting Shares</link> section for details.</para>
 
965
  </listitem>
 
966
</varlistentry>
 
967
<varlistentry>
 
968
<term>
 
969
<menuchoice>
 
970
<guimenuitem>Add Bookmark</guimenuitem>
 
971
</menuchoice>
 
972
</term>
 
973
<listitem>
 
974
<para>Add a bookmark to the currently selected mounted share. This action is disabled if no share is selected.</para>
 
975
</listitem>
 
976
</varlistentry>
 
977
<varlistentry>
 
978
  <term>
 
979
  <menuchoice>
 
980
  <shortcut>
 
981
  <keycombo action="simul">
 
982
  &Ctrl; <keycap>Y</keycap>
 
983
  </keycombo>
 
984
  </shortcut>
 
985
  <guimenuitem>Synchronize</guimenuitem>
 
986
  </menuchoice>
 
987
  </term>
 
988
  <listitem>
 
989
  <para>Start the synchronization 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>.</para>
 
990
  </listitem>
 
991
</varlistentry>
 
992
<varlistentry>
 
993
  <term>
 
994
  <menuchoice>
 
995
  <shortcut>
 
996
  <keycombo action="simul">
 
997
  &Ctrl; <keycap>L</keycap>
 
998
  </keycombo>
 
999
  </shortcut>
 
1000
  <guimenuitem>Open with Konsole</guimenuitem>
 
1001
  </menuchoice>
 
1002
  </term>
 
1003
  <listitem>
 
1004
  <para>Open the base folder of a share in &konsole;. This menu item is useful if you need to run shell scripts, &etc;</para>
 
1005
  </listitem>
 
1006
</varlistentry>
 
1007
<varlistentry>
 
1008
  <term>
 
1009
  <menuchoice>
 
1010
  <shortcut>
 
1011
  <keycombo action="simul">
 
1012
  &Ctrl; <keycap>I</keycap>
 
1013
  </keycombo>
 
1014
  </shortcut>
 
1015
  <guimenuitem>Open with File Manager</guimenuitem>
 
1016
  </menuchoice>
 
1017
  </term>
 
1018
  <listitem>
 
1019
  <para>Open the contents of a share in the default file manager.</para>
 
1020
  <note><para>Since &smb4k; 0.10.0 the shortcut for this action has changed.</para></note>
 
1021
  </listitem>
 
1022
</varlistentry>
 
1023
</variablelist>
 
1024
</sect2>
 
1025
 
 
1026
<sect2 id="mounted_shares_view_tooltips">
 
1027
<title>Tooltips</title>
 
1028
<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="mounted_shares_view_inaccessible_shares">inaccessible</link>, these values are marked as unknown.</para>
 
1029
<para>Tooltips are enabled by default. You can deactivate them in the <link linkend="configuration_user_interface_shares_tooltips">configuration dialog</link>.</para>
 
1030
</sect2>
 
1031
 
 
1032
<sect2 id="mounted_shares_view_inaccessible_shares">
 
1033
<title>Inaccessible Shares</title>
 
1034
<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="mounted_shares_view_icons">modified icon</link> and you will not be able to open or synchronize it anymore. Unmounting and adding a bookmark is still possible.</para>
 
1035
<note><para>The program might freeze for a short period of time due to an inaccessible share. It will recover afterwards.</para></note>
 
1036
</sect2>
 
1037
 
 
1038
<sect2 id="mounted_shares_view_icons">
 
1039
<title>Icons</title>
 
1040
<para>The shares views know three different icons that may be presented to the user:</para>
 
1041
<screenshot>
 
1042
  <screeninfo>Screenshot of three different icons</screeninfo>
 
1043
  <mediaobject>
 
1044
  <imageobject>
 
1045
  <imagedata fileref="shares_view_icons.png" format="PNG" />
 
1046
  </imageobject>
 
1047
  <textobject>
 
1048
  <phrase>Three different icons</phrase>
 
1049
  </textobject>
 
1050
  </mediaobject>
 
1051
</screenshot>
 
1052
<itemizedlist>
 
1053
<listitem><para>The icon on the left hand side indicates that this share is not accessible. &smb4k; won't allow you to open it or to do synchronization with it. You will only be able to unmount or add a bookmark to it.</para></listitem>
 
1054
<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>
 
1055
<listitem><para>All shares marked with a red flag like the one on the right hand side are owned by another user. They are only shown if you adjusted the <link linkend="configuration_user_interface_shares_mounted_shares">settings</link> to display them. In the default configuration, you are not allowed to unmount these shares, but you can <link linkend="configuration_shares_mounting">change this behavior</link>, too.</para></listitem>
 
1056
</itemizedlist>
 
1057
</sect2>
 
1058
 
 
1059
<sect2 id="mainwindow_shares_dnd">
 
1060
<title>Drag-and-Drop</title>
 
1061
<para>&smb4k; supports drag-and-drop in the shares views:</para>
 
1062
<para>You can drag a share icon from within the shares view onto the desktop or into another application (&eg; &dolphin;) and drop it there. You will then maybe get a popup menu asking you if you want to copy, link or move the contents of the share. When choosing the appropriate operation please remember that under most circumstances moving and linking the share might not be a good idea. The popup menu can be avoided if you hold down the &Ctrl; key while you are dragging and dropping the share.</para>
 
1063
<para>Files and directories can be transferred to a mounted share by dragging them over its icon in the view and drop them there. By default the data will be moved to the share. To copy it, hold down the &Ctrl; key while you are dragging and dropping it. The transfer will only be successful if the share was mounted with read and write permissions.</para>
 
1064
</sect2>
 
1065
 
 
1066
<sect2 id="mainwindow_shares_unmounting">
 
1067
<title>Unmounting Shares</title>
 
1068
<para>A share may be unmounted by either clicking the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut><guimenuitem>Unmount</guimenuitem></menuchoice> menu item 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_shares">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>
 
1069
<screenshot>
 
1070
<screeninfo>Screenshot of the warning dialog that is shown when a foreign share is to be unmounted</screeninfo>
 
1071
<mediaobject>
 
1072
<imageobject>
 
1073
<imagedata fileref="dialog_warning_unmount_foreign_share.png" format="PNG" />
 
1074
</imageobject>
 
1075
<textobject>
 
1076
<phrase>The warning dialog that is shown when unmounting foreign shares</phrase>
 
1077
</textobject>
 
1078
</mediaobject>
 
1079
</screenshot>
 
1080
<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>
 
1081
<para>Inaccessible shares are unmounted with a "normal" unmount by default. If this should fail, you can <link linkend="configuration_shares">configure</link> &smb4k; so as to perform a <ulink url="man:/umount">lazy unmount</ulink> on inaccessible shares (&Linux; only).</para>
 
1082
<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> menu item. Depending on your settings, this action will also unmount foreign and inaccessible shares.</para>
 
1083
<para>After a successful unmount process, the user is notified. You can switch off this kind of purely informatory notifications in the <link linkend="configuration_user_interface_general_notifications">configuration dialog</link>. If unmounting fails, a notification with the error message that was returned by <ulink url="man:/umount"><citerefentry><refentrytitle>umount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> will be shown.</para>
 
1084
</sect2>
 
1085
 
 
1086
<sect2 id="mainwindow_shares_synchronization">
 
1087
<title>Synchronization</title>
 
1088
<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_sync_copying_defdest">synchronization prefix</link> as destination. To update the data on the share, you can swap the destination with the source by clicking the <guibutton>Swap Paths</guibutton> button.</para>
 
1089
<screenshot>
 
1090
<screeninfo>Screenshot of the synchronization input dialog</screeninfo>
 
1091
<mediaobject>
 
1092
<imageobject>
 
1093
<imagedata fileref="dialog_synchronization_input.png" format="PNG" />
 
1094
</imageobject>
 
1095
<textobject>
 
1096
<phrase>&URL; requester for sync'ing</phrase>
 
1097
</textobject>
 
1098
</mediaobject>
 
1099
</screenshot>
 
1100
<para>Clicking the <guibutton>Synchronize</guibutton> button starts the synchronization and a progress bar is shown.</para>
 
1101
<screenshot>
 
1102
<screeninfo>Screenshot of the synchronization progress bar</screeninfo>
 
1103
<mediaobject>
 
1104
<imageobject>
 
1105
<imagedata fileref="dialog_synchronization_progress1.png" format="PNG" />
 
1106
</imageobject>
 
1107
<textobject>
 
1108
<phrase>Progress bar</phrase>
 
1109
</textobject>
 
1110
</mediaobject>
 
1111
</screenshot>
 
1112
<para>You can open the progress dialog by clicking the <guibutton>Notifications and jobs</guibutton> button in the taskbar.</para>
 
1113
<screenshot>
 
1114
<screeninfo>Screenshot of the synchronization progress dialog</screeninfo>
 
1115
<mediaobject>
 
1116
<imageobject>
 
1117
<imagedata fileref="dialog_synchronization_progress2.png" format="PNG" />
 
1118
</imageobject>
 
1119
<textobject>
 
1120
<phrase>Progress dialog</phrase>
 
1121
</textobject>
 
1122
</mediaobject>
 
1123
</screenshot>
 
1124
<para>In the default, collapsed version it displays the file that is currently transfered and the overall progress. More information like the files transferred and the transfer rate can be seen by clicking the <guibutton>More</guibutton> button next to the progress bar. Please note that the total number of files that is shown 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>
 
1125
<para>The synchronization can be canceled at any time by pressing the <guibutton>Cancel job</guibutton> button in the upper right corner of the dialog.</para>
 
1126
</sect2>
 
1127
 
 
1128
<sect2 id="mainwindow_shares_konqueror">
 
1129
<title>Opening a Share</title>
 
1130
<para>&smb4k; provides two possibilities to open a mounted share:</para>
 
1131
<itemizedlist>
 
1132
<listitem><formalpara><title>Open a share with &konsole;</title>
 
1133
<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> menu entry. This is useful if you need to run shell scripts on the share or similar.</para>
 
1134
</formalpara></listitem>
 
1135
<listitem><formalpara><title>Open a share with the default file manager</title>
 
1136
<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> menu item.</para>
 
1137
</formalpara></listitem>
 
1138
</itemizedlist>
 
1139
<note><para>If a share is marked as inaccessible, it cannot be opened.</para></note>
 
1140
</sect2>
 
1141
</sect1>
 
1142
 
 
1143
<!-- Bookmarks -->
 
1144
 
 
1145
<sect1 id="mainwindow_bookmarks">
 
1146
<title>Handling Bookmarks</title>
 
1147
 
 
1148
<sect2 id="mainwindow_add_bookmarks">
 
1149
<title>Adding Bookmarks</title>
 
1150
<para>You can add bookmarks to your favorite shares from within the <link linkend="network_neighborhood_browser">network neighborhood browser</link> or the <link linkend="mounted_shares_view">shares view</link> by selecting a share and clicking the <menuchoice><guimenuitem>Add Bookmark</guimenuitem></menuchoice> menu item. A dialog will then pop up where you can add a label and/or assign a group to the bookmark.</para>
 
1151
<screenshot>
 
1152
<screeninfo>Screenshot of the bookmarks addition dialog</screeninfo>
 
1153
<mediaobject>
 
1154
<imageobject>
 
1155
<imagedata fileref="dialog_bookmark_addition.png" format="PNG" />
 
1156
</imageobject>
 
1157
<textobject>
 
1158
<phrase>Bookmarks addition dialog</phrase>
 
1159
</textobject>
 
1160
</mediaobject>
 
1161
</screenshot>
 
1162
<para>Especially adding a group may help you to organize the bookmarks. In the bookmark menu, all bookmarks belonging to one group will be arranged in a submenu with the group entry as parent (see <link linkend="mainwindow_bookmarks_menu">below</link>).</para>
 
1163
<para>The label can be any text describing the share. In case you define a label, it will be displayed in the bookmarks menu instead of the UNC by default. If you want to change this behavior, you can do so in the <link linkend="configuration_user_interface_general_bookmarks">configuration dialog</link>.</para>
 
1164
</sect2>
 
1165
 
 
1166
<sect2 id="mainwindow_bookmarks_menu">
 
1167
<title>Bookmarks Menu</title>
 
1168
<para>The bookmarks can be accessed and managed through the <guilabel>Bookmarks</guilabel> menu:</para>
 
1169
<screenshot>
 
1170
<screeninfo>Screenshot of the bookmark popup menu</screeninfo>
 
1171
<mediaobject>
 
1172
<imageobject>
 
1173
<imagedata fileref="popup_menu_bookmarks.png" format="PNG" />
 
1174
</imageobject>
 
1175
<textobject>
 
1176
<phrase>Bookmark popup menu</phrase>
 
1177
</textobject>
 
1178
</mediaobject>
 
1179
</screenshot>
 
1180
<para>In the menu there are two static items available:</para>
 
1181
<variablelist>
 
1182
<varlistentry>
 
1183
<term>
 
1184
<menuchoice>
 
1185
<guimenuitem>Edit Bookmarks</guimenuitem>
 
1186
</menuchoice>
 
1187
</term>
 
1188
<listitem>
 
1189
<para>Open the <link linkend="mainwindow_bookmarks_editor">bookmark editor</link>. This action is disabled if there are no bookmarks.</para>
 
1190
</listitem>
 
1191
</varlistentry>
 
1192
<varlistentry>
 
1193
<term>
 
1194
<menuchoice>
 
1195
<shortcut>
 
1196
<keycombo action="simul">
 
1197
&Ctrl; <keycap>B</keycap>
 
1198
</keycombo>
 
1199
</shortcut>
 
1200
<guimenuitem>Add Bookmark</guimenuitem>
 
1201
</menuchoice>
 
1202
</term>
 
1203
<listitem>
 
1204
<para>Add a bookmark. A share has to be selected to enable this action.</para>
 
1205
</listitem>
 
1206
</varlistentry>
 
1207
</variablelist>
 
1208
<para>In case you have not defined any groups, there is a third item:</para>
 
1209
<variablelist>
 
1210
<varlistentry>
 
1211
<term>
 
1212
<menuchoice>
 
1213
<guimenuitem>Mount All Bookmarks</guimenuitem>
 
1214
</menuchoice>
 
1215
</term>
 
1216
<listitem>
 
1217
<para>Mount all top-level bookmarks at once. It is disabled if all bookmarked shares are mounted.</para>
 
1218
</listitem>
 
1219
</varlistentry>
 
1220
</variablelist>
 
1221
<para>All other entries are either group submenus or shares that do not belong to a group. All entries are listed alphabetically and the bookmarks may either appear with their UNC address or descriptive label. By clicking a bookmark, the respective share is mounted. If a bookmarked share is mounted on the system, the bookmark entry is disabled.</para>
 
1222
<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>
 
1223
</sect2>
 
1224
 
 
1225
<sect2 id="mainwindow_bookmarks_editor">
 
1226
<title>Bookmark Editor</title>
 
1227
<para>The bookmarks may be edited or removed via the bookmark editor. It can be opened by clicking the <menuchoice><guimenuitem>Edit Bookmarks</guimenuitem></menuchoice> menu item.</para>
 
1228
<screenshot>
 
1229
<screeninfo>Screenshot of the bookmark editor</screeninfo>
 
1230
<mediaobject>
 
1231
<imageobject>
 
1232
<imagedata fileref="dialog_bookmark_editor.png" format="PNG" />
 
1233
</imageobject>
 
1234
<textobject>
 
1235
<phrase>Bookmark editor</phrase>
 
1236
</textobject>
 
1237
</mediaobject>
 
1238
</screenshot>
 
1239
<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>
 
1240
<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 <emphasis>instead</emphasis> of the UNC address in the case this feature is enabled in the <link linkend="configuration_user_interface_general_bookmarks">configuration dialog</link>. The group entry, finally, helps you to organize your bookmarks. Especially if you use &eg; your notebook at home and at work, it might be a good idea to create two groups "Home" and "Work" and save the bookmarks accordingly.</para>
 
1241
<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>
 
1242
<screenshot>
 
1243
<screeninfo>Screenshot of the popup menu of the bookmark editor</screeninfo>
 
1244
<mediaobject>
 
1245
<imageobject>
 
1246
<imagedata fileref="popup_menu_bookmark_editor.png" format="PNG" />
 
1247
</imageobject>
 
1248
<textobject>
 
1249
<phrase>Popup menu of the bookmark editor</phrase>
 
1250
</textobject>
 
1251
</mediaobject>
 
1252
</screenshot>
 
1253
<variablelist>
 
1254
<varlistentry>
 
1255
<term>
 
1256
<menuchoice>
 
1257
<guimenuitem>Add Group</guimenuitem>
 
1258
</menuchoice>
 
1259
</term>
 
1260
<listitem>
 
1261
<para>Add a bookmark group. After you created a group, you can move bookmarks to it.</para>
 
1262
</listitem>
 
1263
</varlistentry>
 
1264
<varlistentry>
 
1265
<term>
 
1266
<menuchoice>
 
1267
<guimenuitem>Remove</guimenuitem>
 
1268
</menuchoice>
 
1269
</term>
 
1270
<listitem>
 
1271
<para>Remove a selected bookmark. This action is disabled if no bookmark is selected.</para>
 
1272
</listitem>
 
1273
</varlistentry>
 
1274
<varlistentry>
 
1275
<term>
 
1276
<menuchoice>
 
1277
<guimenuitem>Clear Bookmarks</guimenuitem>
 
1278
</menuchoice>
 
1279
</term>
 
1280
<listitem>
 
1281
<para>Remove all bookmarks from the tree view including all groups.</para>
 
1282
</listitem>
 
1283
</varlistentry>
 
1284
</variablelist>
 
1285
<para>After you finished editing, the changes can be committed by clicking the <guibutton>OK</guibutton> button.</para>
 
1286
</sect2>
 
1287
</sect1>
 
1288
 
 
1289
<!-- System tray -->
 
1290
 
 
1291
<sect1 id="systemtray">
 
1292
<title>The System Tray Widget</title>
 
1293
 
 
1294
<sect2 id="systemtray_location_usage">
 
1295
<title>Location and Usage</title>
 
1296
<para>When &smb4k; is started, an icon appears in your system tray.</para>
 
1297
<screenshot>
 
1298
<screeninfo>Screenshot of the system tray widget</screeninfo>
 
1299
<mediaobject>
 
1300
<imageobject>
 
1301
<imagedata fileref="system_tray_icon.png" format="PNG" />
 
1302
</imageobject>
 
1303
<textobject>
 
1304
<phrase>System tray widget</phrase>
 
1305
</textobject>
 
1306
</mediaobject>
 
1307
</screenshot>
 
1308
<para>By left clicking the icon, you can minimize or restore the main window. A right click brings up a popup menu that contains several menu items allowing you to work with the mounted shares, manage or mount your bookmarks and to configure &smb4k; without the need to open the main window.</para>
 
1309
</sect2>
 
1310
 
 
1311
<sect2 id="systemtray_menus">
 
1312
<title>Menus and Menu Items</title>
 
1313
<para>The <guimenuitem>Mounted Shares</guimenuitem> menu lists all mounted shares and some actions that can be performed on them.</para>
 
1314
<screenshot>
 
1315
<screeninfo>Screenshot 1 of the popup menu of the system tray icon</screeninfo>
 
1316
<mediaobject>
 
1317
<imageobject>
 
1318
<imagedata fileref="system_tray_icon_popup_menu1.png" format="PNG" />
 
1319
</imageobject>
 
1320
<textobject>
 
1321
<phrase>System tray icon's popup menu 1</phrase>
 
1322
</textobject>
 
1323
</mediaobject>
 
1324
</screenshot>
 
1325
 
 
1326
<variablelist>
 
1327
<varlistentry>
 
1328
<term>
 
1329
<menuchoice>
 
1330
<guimenuitem>Unmount All</guimenuitem>
 
1331
</menuchoice>
 
1332
</term>
 
1333
<listitem>
 
1334
<para>Unmount all shares at once. Depending on your <link linkend="configuration_shares_mounting">settings</link>, &smb4k; attempts to unmount either only those shares that are owned by you or all that are listed.</para>
 
1335
</listitem>
 
1336
</varlistentry>
 
1337
</variablelist>
 
1338
<para>For each mounted share you can open a submenu that contains the following entries. For further information read <link linkend="mounted_shares_view_menu">here</link>.</para>
 
1339
<variablelist>
 
1340
<varlistentry>
 
1341
<term>
 
1342
<menuchoice>
 
1343
<guimenuitem>Unmount</guimenuitem>
 
1344
</menuchoice>
 
1345
</term>
 
1346
<listitem>
 
1347
<para>Unmount the share.</para>
 
1348
</listitem>
 
1349
</varlistentry>
 
1350
<varlistentry>
 
1351
<term>
 
1352
<menuchoice>
 
1353
<guimenuitem>Add Bookmark</guimenuitem>
 
1354
</menuchoice>
 
1355
</term>
 
1356
<listitem>
 
1357
<para>
 
1358
<action>Add the selected share to the bookmarks.</action>
 
1359
</para>
 
1360
</listitem>
 
1361
</varlistentry>
 
1362
<varlistentry>
 
1363
<term>
 
1364
<menuchoice>
 
1365
<guimenuitem>Synchronize</guimenuitem>
 
1366
</menuchoice>
 
1367
</term>
 
1368
<listitem>
 
1369
<para>Synchronize the mounted share with a local copy or vice versa. For further information read <link linkend="mounted_shares_view_menu">here</link> and <link linkend="mainwindow_shares_synchronization">here</link>.</para>
 
1370
</listitem>
 
1371
</varlistentry>
 
1372
<varlistentry>
 
1373
<term>
 
1374
<menuchoice>
 
1375
<guimenuitem>Open with &konsole;</guimenuitem>
 
1376
</menuchoice>
 
1377
</term>
 
1378
<listitem>
 
1379
<para>Open the base folder of the share in &konsole;.</para>
 
1380
</listitem>
 
1381
</varlistentry>
 
1382
<varlistentry>
 
1383
<term>
 
1384
<menuchoice>
 
1385
<guimenuitem>Open with File Manager</guimenuitem>
 
1386
</menuchoice>
 
1387
</term>
 
1388
<listitem>
 
1389
<para>Open the contents of the share in the default file manager (&eg; &dolphin;).</para>
 
1390
</listitem>
 
1391
</varlistentry>
 
1392
</variablelist>
 
1393
 
 
1394
<para>The <guimenuitem>Bookmarks</guimenuitem> menu contains all your bookmarks organized according to the structure you gave them (see also <link linkend="mainwindow_add_bookmarks">here</link> and <link linkend="mainwindow_bookmarks_editor">here</link>)</para>
 
1395
<screenshot>
 
1396
<screeninfo>Screenshot 2 of the popup menu of the system tray icon</screeninfo>
 
1397
<mediaobject>
 
1398
<imageobject>
 
1399
<imagedata fileref="system_tray_icon_popup_menu2.png" format="PNG" />
 
1400
</imageobject>
 
1401
<textobject>
 
1402
<phrase>System tray icon's popup menu 2</phrase>
 
1403
</textobject>
 
1404
</mediaobject>
 
1405
</screenshot>
 
1406
 
 
1407
<para>Its layout is as described <link linkend="mainwindow_bookmarks_menu">here</link> except that the <guimenuitem>Add Bookmark</guimenuitem> menu item is not present.</para>
 
1408
 
 
1409
<para>The other menu entries are:</para>
 
1410
 
 
1411
<variablelist>
 
1412
<varlistentry>
 
1413
<term>
 
1414
<menuchoice>
 
1415
<guimenuitem>Open Mount Dialog</guimenuitem>
 
1416
</menuchoice>
 
1417
</term>
 
1418
<listitem>
 
1419
<para>Open the <link linkend="mainwindow_network_mounting">dialog</link> for "manual" mounts.</para>
 
1420
</listitem>
 
1421
</varlistentry>
 
1422
<varlistentry>
 
1423
<term>
 
1424
<menuchoice>
 
1425
<guimenuitem>Configure &smb4k;...</guimenuitem>
 
1426
</menuchoice>
 
1427
</term>
 
1428
<listitem>
 
1429
<para>Open the configuration dialog. See <link linkend="configuration">here</link> for a full list of available settings.</para>
 
1430
</listitem>
 
1431
</varlistentry>
 
1432
<varlistentry>
 
1433
<term>
 
1434
<menuchoice>
 
1435
<guimenuitem>Minimize | Restore</guimenuitem>
 
1436
</menuchoice>
 
1437
</term>
 
1438
<listitem>
 
1439
<para>Hide (minimize) or show (restore) the main window. Which text is shown depends on the state of the main window.</para>
 
1440
</listitem>
 
1441
</varlistentry>
 
1442
<varlistentry>
 
1443
<term>
 
1444
<menuchoice>
 
1445
<shortcut>
 
1446
<keycombo action="simul">
 
1447
&Ctrl; <keycap>Q</keycap>
 
1448
</keycombo>
 
1449
</shortcut>
 
1450
<guimenuitem>Quit</guimenuitem>
 
1451
</menuchoice>
 
1452
</term>
 
1453
<listitem>
 
1454
<para>Quit the application.</para>
 
1455
</listitem>
 
1456
</varlistentry>
 
1457
</variablelist>
 
1458
</sect2>
 
1459
</sect1>
 
1460
 
 
1461
<sect1 id="freebsd_remarks">
 
1462
<title>Remarks for FreeBSD Users</title>
 
1463
 
 
1464
<sect2 id="freebsd_remarks_installation">
 
1465
<title>DBUS and PolKit-1</title>
 
1466
<para>&smb4k; makes use of the &kde; authorization API (KAuth) to enable mounting of remote shares. KAuth uses DBUS and PolKit-1 (or PolicyKit) for privilege escalation, so it is necessary that &smb4k; is set up properly. When installing &smb4k; under FreeBSD, it might be necessary to manually adjust some things to achieve this (With version 1.0.10 of package <application>kdehier4</application> this seems to be fixed!):</para>
 
1467
<itemizedlist>
 
1468
<listitem>
 
1469
<para>Check that the file <filename>de.berlios.smb4k.mounthelper.policy</filename> exists in the directory <filename class="directory">/usr/local/share/polkit-1/actions/</filename>. If it is not present, you need to link (or copy) it to that location:
 
1470
<screen><userinput><prompt>$</prompt> <command>cd</command> <filename class="directory">/usr/local/share/polkit-1/actions/</filename></userinput>
 
1471
<userinput><prompt>$</prompt> <command>sudo ln</command> -s \
 
1472
<filename>/usr/local/kde4/share/polkit-1/actions/de.berlios.smb4k.mounthelper.policy</filename> .</userinput></screen></para>
 
1473
</listitem>
 
1474
<listitem>
 
1475
<para>The installation most likely put the DBUS files into the wrong location, so you have to link (or copy) them to the right one:
 
1476
<screen><userinput><prompt>$</prompt> <command>cd</command> <filename class="directory">/usr/local/share/dbus-1/system-services</filename></userinput>
 
1477
<userinput><prompt>$</prompt> <command>sudo ln</command> -s \
 
1478
<filename>/usr/local/kde4/share/dbus-1/system-services/de.berlios.smb4k.mounthelper.service</filename> .</userinput></screen></para>
 
1479
</listitem>
 
1480
</itemizedlist>
 
1481
</sect2>
 
1482
 
 
1483
<sect2 id="freebsd_remarks_mounting">
 
1484
<title>Mounting</title>
 
1485
<para>Under FreeBSD, the SMB protocol is implemented in a different way than with other *NIX operating systems, and, thus, mounting of remote shares works differently. The major difference is the way the logon information is passed during the mount process. While under &Linux; and other operating systems that use Samba's <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> program you may specify the user name and password within the command options or by setting the <envar>USER</envar> and <envar>PASSWD</envar> environment variables, under FreeBSD, all logon information is stored in the credentials file <filename>~/.nsmbrc</filename>. If the logon information is not available there, you will not be able to mount a password protected share.</para>
 
1486
<para>&smb4k; writes new logon information to the credentials file on the fly, so that it can be used immediately. If you use a WINS server, this one and a few more global things will be considered, too. However, the information &smb4k; writes to <filename>~/.nsmbrc</filename> is limited: Only the name of the remote share, its workgroup, the login name (user name) and the encrypted password are provided. If you experience problems due to missing entries, you need to add them manually.</para>
 
1487
</sect2>
 
1488
</sect1>
 
1489
 
 
1490
</chapter>
 
1491
 
 
1492
 
 
1493
<!-- Configuring Smb4K -->
 
1494
 
 
1495
<chapter id="configuration">
 
1496
<title>Configuring &smb4k;</title>
 
1497
 
 
1498
<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>
 
1499
 
 
1500
<!-- Configuration: User Interface -->
 
1501
 
 
1502
<sect1 id="configuration_user_interface">
 
1503
<title>User Interface</title>
 
1504
 
 
1505
<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">menu bar</link>.</para>
 
1506
 
 
1507
<screenshot>
 
1508
<screeninfo>Screenshot of the "User Interface" configuration tab</screeninfo>
 
1509
<mediaobject>
 
1510
<imageobject>
 
1511
<imagedata fileref="configuration_user_interface.png" format="PNG" />
 
1512
</imageobject>
 
1513
<textobject>
 
1514
<phrase>The "Appearance" configuration tab</phrase>
 
1515
</textobject>
 
1516
</mediaobject>
 
1517
</screenshot>
 
1518
 
 
1519
<sect2 id="configuration_user_interface_general">
 
1520
<title>General Settings</title>
 
1521
 
 
1522
<sect3 id="configuration_user_interface_general_notifications">
 
1523
<title>Notifications</title>
 
1524
<variablelist>
 
1525
<varlistentry>
 
1526
<term>
 
1527
<menuchoice>
 
1528
<guibutton>Show notifications</guibutton>
 
1529
</menuchoice>
 
1530
</term>
 
1531
<listitem>
 
1532
<para>
 
1533
The user is notified about actions that were performed, &ie; the mounting or unmounting of a share. If you do not want to be disturbed too often, you might want to switch this option off. Warnings and error messages are not affected by this option.
 
1534
</para>
 
1535
<para>
 
1536
Default: selected
 
1537
</para>
 
1538
</listitem>
 
1539
</varlistentry>
 
1540
</variablelist>
 
1541
</sect3>
 
1542
 
 
1543
<sect3 id="configuration_user_interface_general_bookmarks">
 
1544
<title>Bookmarks</title>
 
1545
<variablelist>
 
1546
<varlistentry>
 
1547
<term>
 
1548
<menuchoice>
 
1549
<guibutton>Show custom bookmark label if available</guibutton>
 
1550
</menuchoice>
 
1551
</term>
 
1552
<listitem>
 
1553
<para>
 
1554
The custom description (label) of the bookmark is shown. It can be defined in the <link linkend="mainwindow_bookmarks_editor">bookmark editor</link>.
 
1555
</para>
 
1556
<para>
 
1557
Default: selected
 
1558
</para>
 
1559
</listitem>
 
1560
</varlistentry>
 
1561
</variablelist>
 
1562
</sect3>
 
1563
</sect2>
 
1564
 
 
1565
<sect2 id="configuration_user_interface_network">
 
1566
<title>Network Neighborhood</title>
 
1567
 
 
1568
<sect3 id="configuration_user_interface_network_behavior">
 
1569
<title>Behavior</title>
 
1570
<variablelist>
 
1571
<varlistentry>
 
1572
<term>
 
1573
<menuchoice>
 
1574
<guibutton>Automatically expand domains and hosts</guibutton>
 
1575
</menuchoice>
 
1576
</term>
 
1577
<listitem>
 
1578
<para>
 
1579
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.
 
1580
</para>
 
1581
<para>
 
1582
Default: selected
 
1583
</para>
 
1584
</listitem>
 
1585
</varlistentry>
 
1586
</variablelist>
 
1587
</sect3>
 
1588
 
 
1589
<sect3 id="configuration_user_interface_network_remote_shares">
 
1590
<title>Remote Shares</title>
 
1591
<variablelist>
 
1592
<varlistentry>
 
1593
<term>
 
1594
<menuchoice>
 
1595
<guibutton>Show printer shares</guibutton>
 
1596
</menuchoice>
 
1597
</term>
 
1598
<listitem>
 
1599
<para>
 
1600
Printer shares are shown.
 
1601
</para>
 
1602
<para>
 
1603
Default: selected
 
1604
</para>
 
1605
</listitem>
 
1606
</varlistentry>
 
1607
<varlistentry>
 
1608
<term>
 
1609
<menuchoice>
 
1610
<guibutton>Show hidden shares</guibutton>
 
1611
</menuchoice>
 
1612
</term>
 
1613
<listitem>
 
1614
<para>
 
1615
All hidden shares except those of type ADMIN$ and IPC$ are shown in the network browser.
 
1616
</para>
 
1617
<para>
 
1618
Default: selected
 
1619
</para>
 
1620
</listitem>
 
1621
</varlistentry>
 
1622
<varlistentry>
 
1623
<term>
 
1624
<menuchoice>
 
1625
<guibutton>Show hidden IPC$ shares</guibutton>
 
1626
</menuchoice>
 
1627
</term>
 
1628
<listitem>
 
1629
<para>
 
1630
Hidden IPC$ shares are shown. This option can only be chosen if you also ticked the <guibutton>Show hidden shares</guibutton> check box.
 
1631
</para>
 
1632
<para>
 
1633
Default: not selected
 
1634
</para>
 
1635
</listitem>
 
1636
</varlistentry>
 
1637
<varlistentry>
 
1638
<term>
 
1639
<menuchoice>
 
1640
<guibutton>Show hidden ADMIN$ shares</guibutton>
 
1641
</menuchoice>
 
1642
</term>
 
1643
<listitem>
 
1644
<para>
 
1645
Hidden ADMIN$ shares are shown. This option can only be chosen if you also ticked the <guibutton>Show hidden shares</guibutton> check box.
 
1646
</para>
 
1647
<para>
 
1648
Default: not selected
 
1649
</para>
 
1650
</listitem>
 
1651
</varlistentry>
 
1652
</variablelist>
 
1653
</sect3>
 
1654
 
 
1655
<sect3 id="configuration_user_interface_network_columns">
 
1656
<title>Columns</title>
 
1657
<variablelist>
 
1658
<varlistentry>
 
1659
<term>
 
1660
<menuchoice>
 
1661
<guibutton>Show the type of the share</guibutton>
 
1662
</menuchoice>
 
1663
</term>
 
1664
<listitem>
 
1665
<para>
 
1666
The type of the shares is shown (i. e. Disk, Printer, or IPC).
 
1667
</para>
 
1668
<para>
 
1669
Default: selected
 
1670
</para>
 
1671
</listitem>
 
1672
</varlistentry>
 
1673
<varlistentry>
 
1674
<term>
 
1675
<menuchoice>
 
1676
<guibutton>Show the IP address of the server</guibutton>
 
1677
</menuchoice>
 
1678
</term>
 
1679
<listitem>
 
1680
<para>
 
1681
The IP address of the remote servers is shown.
 
1682
</para>
 
1683
<para>
 
1684
Default: selected
 
1685
</para>
 
1686
</listitem>
 
1687
</varlistentry>
 
1688
<varlistentry>
 
1689
<term>
 
1690
<menuchoice>
 
1691
<guibutton>Show the comment</guibutton>
 
1692
</menuchoice>
 
1693
</term>
 
1694
<listitem>
 
1695
<para>
 
1696
The comment of a remote server or share is shown.
 
1697
</para>
 
1698
<para>
 
1699
Default: selected
 
1700
</para>
 
1701
</listitem>
 
1702
</varlistentry>
 
1703
</variablelist>
 
1704
</sect3>
 
1705
 
 
1706
<sect3 id="configuration_user_interface_network_tooltips">
 
1707
<title>Tooltips</title>
 
1708
<variablelist>
 
1709
<varlistentry>
 
1710
<term>
 
1711
<menuchoice>
 
1712
<guibutton>Show a tooltip with information about the network item</guibutton>
 
1713
</menuchoice>
 
1714
</term>
 
1715
<listitem>
 
1716
<para>
 
1717
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;
 
1718
</para>
 
1719
<para>
 
1720
Default: selected
 
1721
</para>
 
1722
</listitem>
 
1723
</varlistentry>
 
1724
</variablelist>
 
1725
</sect3>
 
1726
</sect2>
 
1727
 
 
1728
<sect2 id="configuration_user_interface_shares">
 
1729
<title>Mounted Shares</title>
 
1730
   
 
1731
<sect3 id="configuration_user_interface_shares_view">
 
1732
<title>View</title>
 
1733
<variablelist>
 
1734
<varlistentry>
 
1735
<term>
 
1736
<menuchoice>
 
1737
<guibutton>Show mounted shares in an icon view</guibutton>
 
1738
</menuchoice>
 
1739
</term>
 
1740
<listitem>
 
1741
<para>
 
1742
An icon view will be used to show the mounted shares.
 
1743
</para>
 
1744
<para>
 
1745
Default: selected
 
1746
</para>
 
1747
</listitem>
 
1748
</varlistentry>
 
1749
<varlistentry>
 
1750
<term>
 
1751
<menuchoice>
 
1752
<guibutton>Show mounted shares in a list view</guibutton>
 
1753
</menuchoice>
 
1754
</term>
 
1755
<listitem>
 
1756
<para>
 
1757
A list view will be used to show the mounted shares.
 
1758
</para>
 
1759
<para>
 
1760
Default: not selected
 
1761
</para>
 
1762
</listitem>
 
1763
</varlistentry>
 
1764
</variablelist>
 
1765
<para>The following settings are specifically defined for the list view:</para>
 
1766
<variablelist>
 
1767
<varlistentry>
 
1768
<term>
 
1769
<menuchoice>
 
1770
<guibutton>Show the owner and group</guibutton>
 
1771
</menuchoice>
 
1772
</term>
 
1773
<listitem>
 
1774
<para>
 
1775
Show the UID and GID that owns the share in the list view.
 
1776
</para>
 
1777
<para>
 
1778
Default: not selected
 
1779
</para>
 
1780
</listitem>
 
1781
</varlistentry>
 
1782
<varlistentry>
 
1783
<term>
 
1784
<menuchoice>
 
1785
<guibutton>Show the login name</guibutton>
 
1786
</menuchoice>
 
1787
</term>
 
1788
<listitem>
 
1789
<para>
 
1790
Show the login name that was used for mounting. An entry will only be shown if the share was mounted with the CIFS file system. The column will be empty otherwise.
 
1791
</para>
 
1792
<para>
 
1793
Default: not selected
 
1794
</para>
 
1795
</listitem>
 
1796
</varlistentry>
 
1797
<varlistentry>
 
1798
<term>
 
1799
<menuchoice>
 
1800
<guibutton>Show the file system</guibutton>
 
1801
</menuchoice>
 
1802
</term>
 
1803
<listitem>
 
1804
<para>
 
1805
Show the file system that is used by the share.
 
1806
</para>
 
1807
<para>
 
1808
Default: selected
 
1809
</para>
 
1810
</listitem>
 
1811
</varlistentry>
 
1812
<varlistentry>
 
1813
<term>
 
1814
<menuchoice>
 
1815
<guibutton>Show the free disk space</guibutton>
 
1816
</menuchoice>
 
1817
</term>
 
1818
<listitem>
 
1819
<para>
 
1820
Show the free disk space that is available on the share.
 
1821
</para>
 
1822
<para>
 
1823
Default: not selected
 
1824
</para>
 
1825
</listitem>
 
1826
</varlistentry>
 
1827
<varlistentry>
 
1828
<term>
 
1829
<menuchoice>
 
1830
<guibutton>Show the used disk space</guibutton>
 
1831
</menuchoice>
 
1832
</term>
 
1833
<listitem>
 
1834
<para>
 
1835
Show the disk space that is in use on the share.
 
1836
</para>
 
1837
<para>
 
1838
Default: not selected
 
1839
</para>
 
1840
</listitem>
 
1841
</varlistentry>
 
1842
<varlistentry>
 
1843
<term>
 
1844
<menuchoice>
 
1845
<guibutton>Show the total disk space</guibutton>
 
1846
</menuchoice>
 
1847
</term>
 
1848
<listitem>
 
1849
<para>
 
1850
Show the total disk space that the share offers.
 
1851
</para>
 
1852
<para>
 
1853
Default: not selected
 
1854
</para>
 
1855
</listitem>
 
1856
</varlistentry>
 
1857
<varlistentry>
 
1858
<term>
 
1859
<menuchoice>
 
1860
<guibutton>Show the disk usage</guibutton>
 
1861
</menuchoice>
 
1862
</term>
 
1863
<listitem>
 
1864
<para>
 
1865
Show the disk usage in percent.
 
1866
</para>
 
1867
<para>
 
1868
Default: selected
 
1869
</para>
 
1870
</listitem>
 
1871
</varlistentry>
 
1872
</variablelist>
 
1873
</sect3>
 
1874
 
 
1875
<sect3 id="configuration_user_interface_shares_mounted_shares">
 
1876
<title>Mounted Shares</title>
 
1877
<variablelist>
 
1878
<varlistentry>
 
1879
<term>
 
1880
<menuchoice>
 
1881
<guibutton>Show the mount point instead of the share name</guibutton>
 
1882
</menuchoice>
 
1883
</term>
 
1884
<listitem>
 
1885
<para>
 
1886
The mount point is shown instead of the share name.
 
1887
</para>
 
1888
<para>
 
1889
Default: not selected
 
1890
</para>
 
1891
</listitem>
 
1892
</varlistentry>
 
1893
<varlistentry>
 
1894
<term>
 
1895
<menuchoice>
 
1896
<guibutton>Show all shares that are mounted on the system</guibutton>
 
1897
</menuchoice>
 
1898
</term>
 
1899
<listitem>
 
1900
<para>
 
1901
<emphasis>All</emphasis> mounts that are using either the CIFS (&Linux;) or SMBFS (FreeBSD) file system are shown. By default, only the shares owned by you are displayed.
 
1902
</para>
 
1903
<para>
 
1904
Default: not selected
 
1905
</para>
 
1906
</listitem>
 
1907
</varlistentry>
 
1908
</variablelist>
 
1909
</sect3>
 
1910
 
 
1911
<sect3 id="configuration_user_interface_shares_tooltips">
 
1912
<title>Tooltips</title>
 
1913
<variablelist>
 
1914
<varlistentry>
 
1915
<term>
 
1916
<menuchoice>
 
1917
<guibutton>Show a tooltip with information about the share</guibutton>
 
1918
</menuchoice>
 
1919
</term>
 
1920
<listitem>
 
1921
<para>
 
1922
A tooltip will be shown if you move the mouse pointer over an item in the shares view. It contains information about the underlying item such as the share name, UNC address, mount point, owner and group, login (CIFS file system, &Linux; only), disk usage, &etc;
 
1923
</para>
 
1924
<para>
 
1925
Default: selected
 
1926
</para>
 
1927
</listitem>
 
1928
</varlistentry>
 
1929
</variablelist>
 
1930
</sect3>
 
1931
</sect2>
 
1932
 
 
1933
<sect2 id="configuration_user_interface_preview">
 
1934
<title>Preview Dialog</title>
 
1935
 
 
1936
<sect3 id="configuration_user_interface_preview_hidden">
 
1937
<title>Hidden Files &amp; Directories</title>
 
1938
<variablelist>
 
1939
<varlistentry>
 
1940
<term>
 
1941
<menuchoice>
 
1942
<guibutton>Preview hidden files and directories</guibutton>
 
1943
</menuchoice>
 
1944
</term>
 
1945
<listitem>
 
1946
<para>
 
1947
Show all files and directories including the hidden ones when opening a share's contents in the preview dialog. By default, this feature is deselected.
 
1948
</para>
 
1949
<para>
 
1950
Default: not selected
 
1951
</para>
 
1952
</listitem>
 
1953
</varlistentry>
 
1954
</variablelist>
 
1955
</sect3>
 
1956
</sect2>
 
1957
</sect1>
 
1958
 
 
1959
<!-- Configuration: Network -->
 
1960
 
 
1961
<sect1 id="configuration_network">
 
1962
<title>Network</title>
 
1963
 
 
1964
<para>The options in the <guilabel>Network</guilabel> configuration tab can be used to change the lookup method for the browse list, to make &smb4k; send authentication information when querying the workgroup master browsers, and to enable periodic scanning. If you want to adjust the behavior of Samba programs (such as <ulink url="man:/nmblookup"><citerefentry><refentrytitle>nmblookup</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>, <ulink url="man:/net"><citerefentry><refentrytitle>net</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>, or <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>), see the <link linkend="configuration_samba">Samba</link> section.</para>
 
1965
 
 
1966
<screenshot>
 
1967
<screeninfo>Screenshot of the "Network" configuration tab</screeninfo>
 
1968
<mediaobject>
 
1969
<imageobject>
 
1970
<imagedata fileref="configuration_network.png" format="PNG" />
 
1971
</imageobject>
 
1972
<textobject>
 
1973
<phrase>The "Network" configuration tab</phrase>
 
1974
</textobject>
 
1975
</mediaobject>
 
1976
</screenshot>
 
1977
 
 
1978
<sect2 id="configuration_network_browselist">
 
1979
<title>Browse List</title>
 
1980
<variablelist>
 
1981
<varlistentry>
 
1982
<term>
 
1983
<menuchoice>
 
1984
<guibutton>Scan the network neighborhood for available workgroups and domains</guibutton>
 
1985
</menuchoice>
 
1986
</term>
 
1987
<listitem>
 
1988
<para>
 
1989
&smb4k; will search for all available master browsers on the network by using <ulink url="man:/nmblookup"><citerefentry><refentrytitle>nmblookup</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>. This is the default method and it is very reliable in finding all workgroups and domains of your network neighborhood. However, it suffers a few shortcomings like poor unicode support (&eg; umlauts might be replaced by dots).
 
1990
</para>
 
1991
<para>
 
1992
Default: selected
 
1993
</para>
 
1994
</listitem>
 
1995
</varlistentry>
 
1996
<varlistentry>
 
1997
<term>
 
1998
<menuchoice>
 
1999
<guibutton>Query the current workgroup master browser</guibutton>
 
2000
</menuchoice>
 
2001
</term>
 
2002
<listitem>
 
2003
<para>
 
2004
The current master browser of your workgroup or domain is looked up and queried for the browse list. If some of the workgroup names of your network neighborhood contain umlauts or other special characters, you might want to try this method, since unicode is supported. However, sometimes outdated workgroup master browsers might be returned.
 
2005
</para>
 
2006
<para>
 
2007
Default: not selected
 
2008
</para>
 
2009
</listitem>
 
2010
</varlistentry>
 
2011
<varlistentry>
 
2012
<term>
 
2013
<menuchoice>
 
2014
<guibutton>Query this custom master browser</guibutton>
 
2015
</menuchoice>
 
2016
</term>
 
2017
<listitem>
 
2018
<para>
 
2019
The master browser entered in the text box will be queried to retrieve the browse list. It can be specified by using either its NetBIOS name or its IP address. This option might be of use if you have an uncommonly configured network neighborhood.
 
2020
</para>
 
2021
<para>
 
2022
Default: not selected
 
2023
</para>
 
2024
</listitem>
 
2025
</varlistentry>
 
2026
<varlistentry>
 
2027
<term>
 
2028
<menuchoice>
 
2029
<guibutton>Scan these broadcast areas</guibutton>
 
2030
</menuchoice>
 
2031
</term>
 
2032
<listitem>
 
2033
<para>
 
2034
&smb4k; will scan for and return all IP addresses that are registered within the given broadcast area(s). Please note that this is not a "real" IP address scan, because that would take ages. The broadcast areas have to be given in a comma-separated list and in the form x.y.z.255:
 
2035
<screen>192.168.1.255, 192.168.2.255, 10.0.0.255</screen>
 
2036
The IP address/mask pair (192.168.1.1/24) does not work.
 
2037
</para>
 
2038
<para>
 
2039
Default: not selected
 
2040
</para>
 
2041
</listitem>
 
2042
</varlistentry>
 
2043
</variablelist>
 
2044
</sect2>
 
2045
 
 
2046
<sect2 id="configuration_network_master_authentication">
 
2047
<title>Authentication</title>
 
2048
<variablelist>
 
2049
<varlistentry>
 
2050
<term>
 
2051
<menuchoice>
 
2052
<guibutton>The master browsers require authentication to return the browse list</guibutton>
 
2053
</menuchoice>
 
2054
</term>
 
2055
<listitem>
 
2056
<para>
 
2057
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. It will not have any effect when you let &smb4k; scan broadcast areas.
 
2058
</para>
 
2059
<para>
 
2060
Default: not selected
 
2061
</para>
 
2062
</listitem>
 
2063
</varlistentry>
 
2064
</variablelist>
 
2065
</sect2>
 
2066
 
 
2067
<sect2 id="configuration_network_periodic_scanning">
 
2068
<title>Periodic Scanning</title>
 
2069
<variablelist>
 
2070
<varlistentry>
 
2071
<term>
 
2072
<menuchoice>
 
2073
<guibutton>Scan the network neighborhood periodically</guibutton>
 
2074
</menuchoice>
 
2075
</term>
 
2076
<listitem>
 
2077
<para>
 
2078
If you want to enable periodic scanning of the network neighborhood, you need to check this button. With this method, all available network items are looked up, &ie; workgroups and domains, servers and shares.
 
2079
</para>
 
2080
<para>
 
2081
Default: not selected
 
2082
</para>
 
2083
</listitem>
 
2084
</varlistentry>
 
2085
<varlistentry>
 
2086
<term>
 
2087
<menuchoice>
 
2088
<guibutton>Interval between scans</guibutton>
 
2089
</menuchoice>
 
2090
</term>
 
2091
<listitem>
 
2092
<para>
 
2093
If periodic scanning is enabled, this is the time in minutes that elapses until a new scan is triggered.
 
2094
</para>
 
2095
<para>Default: 5 min</para>
 
2096
</listitem>
 
2097
</varlistentry>
 
2098
</variablelist>
 
2099
</sect2>
 
2100
</sect1>
 
2101
 
 
2102
<!-- Configuration: Shares -->
 
2103
 
 
2104
<sect1 id="configuration_shares">
 
2105
<title>Shares</title>
 
2106
 
 
2107
<para>These options determine where &smb4k; will mount the remote shares and how it behaves on start-up and exit regarding mounted or recently used shares. If you want to configure the mount options, please see the <link linkend="configuration_samba">Samba</link> section.</para>
 
2108
 
 
2109
<screenshot>
 
2110
<screeninfo>Screenshot of the "Shares" configuration tab</screeninfo>
 
2111
<mediaobject>
 
2112
<imageobject>
 
2113
<imagedata fileref="configuration_shares.png" format="PNG" />
 
2114
</imageobject>
 
2115
<textobject>
 
2116
<phrase>The "Shares" configuration tab</phrase>
 
2117
</textobject>
 
2118
</mediaobject>
 
2119
</screenshot>
 
2120
 
 
2121
<sect2 id="configuration_shares_directories">
 
2122
<title>Directories</title>
 
2123
 
 
2124
<variablelist>
 
2125
<varlistentry>
 
2126
<term>
 
2127
<menuchoice>
 
2128
<guibutton>Mount prefix</guibutton>
 
2129
</menuchoice>
 
2130
</term>
 
2131
<listitem>
 
2132
<para>
 
2133
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.
 
2134
</para>
 
2135
<para>
 
2136
Default: <filename class="directory">$HOME/smb4k/</filename>
 
2137
</para>
 
2138
</listitem>
 
2139
</varlistentry>
 
2140
<varlistentry>
 
2141
<term>
 
2142
<menuchoice>
 
2143
<guibutton>Force generated subdirectories to be lower case</guibutton>
 
2144
</menuchoice>
 
2145
</term>
 
2146
<listitem>
 
2147
<para>
 
2148
All subdirectories that are created by &smb4k; below the mount prefix will be lower case.
 
2149
</para>
 
2150
<para>
 
2151
Default: not selected
 
2152
</para>
 
2153
</listitem>
 
2154
</varlistentry>
 
2155
</variablelist>
 
2156
</sect2>
 
2157
 
 
2158
<sect2 id="configuration_shares_mounting">
 
2159
<title>Mounting &amp; Unmounting</title>
 
2160
 
 
2161
<variablelist>
 
2162
<varlistentry>
 
2163
<term>
 
2164
<menuchoice>
 
2165
<guibutton>Remount recently used shares on program start</guibutton>
 
2166
</menuchoice>
 
2167
</term>
 
2168
<listitem>
 
2169
<para>
 
2170
All shares that were mounted at the time &smb4k; was shut down will be remounted on program restart. This option affects only the shares that were mounted by you.
 
2171
</para>
 
2172
<para>
 
2173
Default: not selected
 
2174
</para>
 
2175
</listitem>
 
2176
</varlistentry>
 
2177
<varlistentry>
 
2178
<term>
 
2179
<menuchoice>
 
2180
<guibutton>Unmount all personal shares on exit</guibutton>
 
2181
</menuchoice>
 
2182
</term>
 
2183
<listitem>
 
2184
<para>
 
2185
All mounted shares that are owned by you will be unmounted on program exit.
 
2186
</para>
 
2187
<para>
 
2188
Default: not selected
 
2189
</para>
 
2190
</listitem>
 
2191
</varlistentry>
 
2192
<varlistentry>
 
2193
<term>
 
2194
<menuchoice>
 
2195
<guibutton>Force the unmounting of inaccessible shares</guibutton>
 
2196
</menuchoice>
 
2197
</term>
 
2198
<listitem>
 
2199
<para>
 
2200
Force the unmounting of inaccessible shares (&Linux; only). In case a share is inaccessible, a lazy unmount is performed. Before the actual unmount is performed, a warning dialog is shown asking to approve the unmount.
 
2201
</para>
 
2202
<para>
 
2203
Default: not selected
 
2204
</para>
 
2205
</listitem>
 
2206
</varlistentry>
 
2207
<varlistentry>
 
2208
<term>
 
2209
<menuchoice>
 
2210
<guibutton>Allow the unmounting of shares that are owned by other users</guibutton>
 
2211
</menuchoice>
 
2212
</term>
 
2213
<listitem>
 
2214
<para>
 
2215
This option will allow you to unmount shares that were mounted by other users.</para>
 
2216
<para>USE WITH EXTREME CAUTION!</para>
 
2217
<para>
 
2218
Default: not selected
 
2219
</para>
 
2220
</listitem>
 
2221
</varlistentry>
 
2222
</variablelist>
 
2223
</sect2>
 
2224
 
 
2225
<sect2 id="configuration_shares_checks">
 
2226
<title>Checks</title>
 
2227
<variablelist>
 
2228
<varlistentry>
 
2229
<term>
 
2230
<menuchoice>
 
2231
<guibutton>Interval between checks</guibutton>
 
2232
</menuchoice>
 
2233
</term>
 
2234
<listitem>
 
2235
<para>&smb4k; periodically checks for newly mounted and inaccessable shares with an interval that can be defined here. Under normal circumstances, you do not need to change it. But if the server you connected to suffers from high load, you should increase the interval to ease it's situation. The effect on your system's load is generally rather small unless you set the interval below 1000 ms (not recommended).</para>
 
2236
<para>Default: 2500 ms</para>
 
2237
</listitem>
 
2238
</varlistentry>
 
2239
</variablelist>
 
2240
</sect2>
 
2241
</sect1>
 
2242
 
 
2243
<!-- Configuration: Authentication -->
 
2244
 
 
2245
<sect1 id="configuration_authentication">
 
2246
<title>Authentication</title>
 
2247
 
 
2248
<para>Here you can change the settings affecting the authentication.</para>
 
2249
 
 
2250
<screenshot>
 
2251
<screeninfo>Screenshot of the "Authentication" configuration tab</screeninfo>
 
2252
<mediaobject>
 
2253
<imageobject>
 
2254
<imagedata fileref="configuration_authentication.png" format="PNG" />
 
2255
</imageobject>
 
2256
<textobject>
 
2257
<phrase>The "Authentication" configuration tab</phrase>
 
2258
</textobject>
 
2259
</mediaobject>
 
2260
</screenshot>
 
2261
 
 
2262
<sect2 id="configuration_authentication_general">
 
2263
<title>General Settings</title>
 
2264
  
 
2265
<sect3 id="configuration_authentication_general_storage">
 
2266
<title>Password Storage</title>
 
2267
<variablelist>
 
2268
<varlistentry>
 
2269
<term>
 
2270
<menuchoice>
 
2271
<guibutton>Save logins in a wallet</guibutton>
 
2272
</menuchoice>
 
2273
</term>
 
2274
<listitem>
 
2275
<para>
 
2276
The login names and passwords are stored in a subfolder named "Smb4K" 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 will either be stored temporarily or not at all (see below).
 
2277
</para>
 
2278
<para>
 
2279
Default: selected
 
2280
</para>
 
2281
</listitem>
 
2282
</varlistentry>
 
2283
<varlistentry>
 
2284
<term>
 
2285
<menuchoice>
 
2286
<guibutton>Remember logins during program run</guibutton>
 
2287
</menuchoice>
 
2288
</term>
 
2289
<listitem>
 
2290
<para>
 
2291
If you do not want &smb4k; to store the authentication data in a wallet, you can decide whether it should be stored temporarily or not. If you uncheck this check box, &smb4k; will immediately forget the authentication data you provided and you will have to enter it everytime it is needed. This option has no effect if you chose to store the passwords in a wallet (see above).
 
2292
</para>
 
2293
<para>
 
2294
Default: selected
 
2295
</para>
 
2296
</listitem>
 
2297
</varlistentry>
 
2298
</variablelist>
 
2299
</sect3>
 
2300
 
 
2301
<sect3 id="configuration_authentication_general_default">
 
2302
<title>Default Login</title>
 
2303
<variablelist>
 
2304
<varlistentry>
 
2305
<term>
 
2306
<menuchoice>
 
2307
<guibutton>Use a default login</guibutton>
 
2308
</menuchoice>
 
2309
</term>
 
2310
<listitem>
 
2311
<para>The default login is used by default to authenticate to a server. If you enable this feature, a password dialog pops up, where you can provide the default login information.</para>
 
2312
<screenshot>
 
2313
<screeninfo>Screenshot of the default login input dialog</screeninfo>
 
2314
<mediaobject>
 
2315
<imageobject>
 
2316
<imagedata fileref="dialog_default_login.png" format="PNG" />
 
2317
</imageobject>
 
2318
<textobject>
 
2319
<phrase>The default login input dialog</phrase>
 
2320
</textobject>
 
2321
</mediaobject>
 
2322
</screenshot>
 
2323
<para>You have to fill in at least the user name. Empty passwords are supported.</para>
 
2324
<para>
 
2325
Default: not selected
 
2326
</para>
 
2327
</listitem>
 
2328
</varlistentry>
 
2329
</variablelist>
 
2330
</sect3>
 
2331
</sect2>
 
2332
 
 
2333
<sect2 id="configuration_authentication_wallet_entries">
 
2334
<title>Wallet Entries</title>
 
2335
<para>The <guilabel>Wallet Entries</guilabel> tab contains an editor with that you can modify or remove existing wallet entries.</para>
 
2336
<screenshot>
 
2337
<screeninfo>Screenshot of the wallet entries editor</screeninfo>
 
2338
<mediaobject>
 
2339
<imageobject>
 
2340
<imagedata fileref="configuration_wallet_entries.png" format="PNG" />
 
2341
</imageobject>
 
2342
<textobject>
 
2343
<phrase>The wallet entries editor</phrase>
 
2344
</textobject>
 
2345
</mediaobject>
 
2346
</screenshot>
 
2347
<para>Before you can edit the wallet entries, you have to load them from the wallet by pressing the <guibutton>Load</guibutton> button. The list of entries appears then on the left. An entry can be edited by selecting it and checking the <guibutton>Show details</guibutton> button. The details are then shown on the right and can be modified.</para>
 
2348
<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>
 
2349
<para>Changes can be reset by choosing the <guimenuitem>Undo</guimenuitem> item from the popup menu either in the wallet entries list widget or in the details widget.</para>
 
2350
<para>After you finished editing, the changes have to be committed to the wallet by pressing the <guibutton>Save</guibutton>.</para>
 
2351
</sect2>
 
2352
</sect1>
 
2353
 
 
2354
<!-- Configuration: Samba -->
 
2355
 
 
2356
<sect1 id="configuration_samba">
 
2357
<title>Samba</title>
 
2358
 
 
2359
<para>Here you can directly influence the command line arguments that are passed to the Samba programs and also manage the custom settings you defined for single shares. Please note, that the settings will have no effect outside &smb4k; and that no changes will be applied to the <filename>smb.conf</filename> configuration file. For further information, please refer to the manual pages of the Samba software suite.</para>
 
2360
 
 
2361
<screenshot>
 
2362
<screeninfo>Screenshot of the "Samba" configuration page</screeninfo>
 
2363
<mediaobject>
 
2364
<imageobject>
 
2365
<imagedata fileref="configuration_samba.png" format="PNG" />
 
2366
</imageobject>
 
2367
<textobject>
 
2368
<phrase>The "Samba" configuration page</phrase>
 
2369
</textobject>
 
2370
</mediaobject>
 
2371
</screenshot>
 
2372
 
 
2373
<sect2 id="configuration_samba_general">
 
2374
<title>General Settings</title>
 
2375
   
 
2376
<sect3 id="configuration_samba_general_general">
 
2377
<title>General Options</title>
 
2378
<variablelist>
 
2379
<varlistentry>
 
2380
<term>
 
2381
<menuchoice>
 
2382
<guibutton>NetBIOS name</guibutton>
 
2383
</menuchoice>
 
2384
</term>
 
2385
<listitem>
 
2386
<para>
 
2387
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.
 
2388
</para>
 
2389
<para>
 
2390
Default: NetBIOS name defined in <filename>smb.conf</filename> or the hostname
 
2391
</para>
 
2392
</listitem>
 
2393
</varlistentry>
 
2394
<varlistentry>
 
2395
<term>
 
2396
<menuchoice>
 
2397
<guibutton>Domain</guibutton>
 
2398
</menuchoice>
 
2399
</term>
 
2400
<listitem>
 
2401
<para>
 
2402
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.
 
2403
</para>
 
2404
<para>
 
2405
Default: domain name defined in <filename>smb.conf</filename>
 
2406
</para>
 
2407
</listitem>
 
2408
</varlistentry>
 
2409
<varlistentry>
 
2410
<term>
 
2411
<menuchoice>
 
2412
<guibutton>Socket options</guibutton>
 
2413
</menuchoice>
 
2414
</term>
 
2415
<listitem>
 
2416
<para>
 
2417
Set the TCP socket options. Please refer to the <ulink url="man:/smb.conf"><citerefentry><refentrytitle>smb.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink> manual page to learn more.
 
2418
</para>
 
2419
<para>
 
2420
Default: socket options defined in <filename>smb.conf</filename>
 
2421
</para>
 
2422
</listitem>
 
2423
</varlistentry>
 
2424
<varlistentry>
 
2425
<term>
 
2426
<menuchoice>
 
2427
<guibutton>NetBIOS scope</guibutton>
 
2428
</menuchoice>
 
2429
</term>
 
2430
<listitem>
 
2431
<para>
 
2432
Set the NetBIOS scope. It is recommended that you read the <ulink url="man:/smb.conf"><citerefentry><refentrytitle>smb.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink> manual page before entering anything here.
 
2433
</para>
 
2434
<para>
 
2435
Default: NetBIOS scope defined in <filename>smb.conf</filename>
 
2436
</para>
 
2437
</listitem>
 
2438
</varlistentry>
 
2439
</variablelist>
 
2440
</sect3>
 
2441
 
 
2442
<sect3 id="configuration_samba_general_ports">
 
2443
<title>Remote Ports</title>
 
2444
<variablelist>
 
2445
<varlistentry>
 
2446
<term>
 
2447
<menuchoice>
 
2448
<guibutton>SMB port</guibutton>
 
2449
</menuchoice>
 
2450
</term>
 
2451
<listitem>
 
2452
<para>Sets the remote SMB port number that is used by <ulink url="man:/net"><citerefentry><refentrytitle>net</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> and <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to communicate with a remote host. Under FreeBSD, this is also the port that is used for mounting.</para>
 
2453
<para>Unless you are using a firewall or have a customized network setup, you do not need to change anything here.</para>
 
2454
<para>
 
2455
Default: 139
 
2456
</para>
 
2457
</listitem>
 
2458
</varlistentry>
 
2459
<varlistentry>
 
2460
<term>
 
2461
<menuchoice>
 
2462
<guibutton>File system port</guibutton>
 
2463
</menuchoice>
 
2464
</term>
 
2465
<listitem>
 
2466
<para>
 
2467
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 not to set the port number here globally, but to use the <link linkend="network_neighborhood_browser_custom">Custom Options</link> dialog to define the port number individually for the problematic hosts.
 
2468
</para>
 
2469
<para>This option is only available under &Linux;. Under FreeBSD, the port for mounting shares is set with <guibutton>SMB port</guibutton>.</para>
 
2470
<para>
 
2471
Default: 445
 
2472
</para>
 
2473
</listitem>
 
2474
</varlistentry>
 
2475
</variablelist>
 
2476
</sect3>
 
2477
 
 
2478
<sect3 id="configuration_samba_general_authentication">
 
2479
<title>Authentication</title>
 
2480
<variablelist>
 
2481
<varlistentry>
 
2482
<term>
 
2483
<menuchoice>
 
2484
<guibutton>Try to authenticate with Kerberos</guibutton>
 
2485
</menuchoice>
 
2486
</term>
 
2487
<listitem>
 
2488
<para>
 
2489
Use Kerberos for authentication in an Active Directory environment.
 
2490
</para>
 
2491
<para>
 
2492
Default: not selected
 
2493
</para>
 
2494
</listitem>
 
2495
</varlistentry>
 
2496
<varlistentry>
 
2497
<term>
 
2498
<menuchoice>
 
2499
<guibutton>Authenticate with local machine account</guibutton>
 
2500
</menuchoice>
 
2501
</term>
 
2502
<listitem>
 
2503
<para>
 
2504
Make queries to the remote server using the machine account of the local server.
 
2505
</para>
 
2506
<para>
 
2507
Default: not selected
 
2508
</para>
 
2509
</listitem>
 
2510
</varlistentry>
 
2511
<varlistentry>
 
2512
<term>
 
2513
<menuchoice>
 
2514
<guibutton>Use Winbind ccache for authentication</guibutton>
 
2515
</menuchoice>
 
2516
</term>
 
2517
<listitem>
 
2518
<para>
 
2519
Try to use the credentials cached by Winbind.
 
2520
</para>
 
2521
<para>
 
2522
Default: not selected
 
2523
</para>
 
2524
</listitem>
 
2525
</varlistentry>
 
2526
</variablelist>
 
2527
</sect3>
 
2528
 
 
2529
<sect3 id="configuration_samba_general_security">
 
2530
<title>Security</title>
 
2531
<variablelist>
 
2532
<varlistentry>
 
2533
<term>
 
2534
<menuchoice>
 
2535
<guibutton>Signing state</guibutton>
 
2536
</menuchoice>
 
2537
</term>
 
2538
<listitem>
 
2539
<para>
 
2540
Set the client signing state. This setting is used by <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> and <ulink url="man:/smbtree"><citerefentry><refentrytitle>smbtree</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>.
 
2541
</para>
 
2542
<para>
 
2543
The following options are available:
 
2544
</para>
 
2545
<variablelist>
 
2546
  <varlistentry>
 
2547
    <term>
 
2548
      <menuchoice>
 
2549
        <guibutton>None</guibutton>
 
2550
      </menuchoice>
 
2551
    </term>
 
2552
    <listitem>
 
2553
      <para>Do not set the client signing state.</para>
 
2554
    </listitem>
 
2555
  </varlistentry>
 
2556
  <varlistentry>
 
2557
    <term>
 
2558
      <menuchoice>
 
2559
        <guibutton>On</guibutton>
 
2560
      </menuchoice>
 
2561
    </term>
 
2562
    <listitem>
 
2563
      <para>Set the client signing state to <emphasis>on</emphasis>.</para>
 
2564
    </listitem>
 
2565
  </varlistentry>
 
2566
  <varlistentry>
 
2567
    <term>
 
2568
      <menuchoice>
 
2569
        <guibutton>Off</guibutton>
 
2570
      </menuchoice>
 
2571
    </term>
 
2572
    <listitem>
 
2573
      <para>Set the client signing state to <emphasis>off</emphasis>.</para>
 
2574
    </listitem>
 
2575
  </varlistentry>
 
2576
  <varlistentry>
 
2577
    <term>
 
2578
      <menuchoice>
 
2579
        <guibutton>Required</guibutton>
 
2580
      </menuchoice>
 
2581
    </term>
 
2582
    <listitem>
 
2583
      <para>Set the client signing state to <emphasis>required</emphasis>.</para>
 
2584
    </listitem>
 
2585
  </varlistentry>
 
2586
</variablelist>
 
2587
<para>
 
2588
Default: None
 
2589
</para>
 
2590
</listitem>
 
2591
</varlistentry>
 
2592
<varlistentry>
 
2593
<term>
 
2594
<menuchoice>
 
2595
<guibutton>Encrypt SMB transport</guibutton>
 
2596
</menuchoice>
 
2597
</term>
 
2598
<listitem>
 
2599
<para>
 
2600
This option requires the remote server support the UNIX extensions. Request that the connection be encrypted. This is new for Samba 3.2 and will only work with Samba 3.2 or above servers. Fails the connection if encryption cannot be negotiated.
 
2601
</para>
 
2602
<para>
 
2603
Default: not selected
 
2604
</para>
 
2605
</listitem>
 
2606
</varlistentry>
 
2607
</variablelist>
 
2608
</sect3>
 
2609
</sect2>
 
2610
 
 
2611
<sect2 id="configuration_samba_mounting">
 
2612
<title>Mounting</title>   
 
2613
   
 
2614
<sect3 id="configuration_samba_mounting_common">
 
2615
<title>Common Options</title>
 
2616
<variablelist>
 
2617
<varlistentry>
 
2618
<term>
 
2619
<menuchoice>
 
2620
<guibutton>User ID</guibutton>
 
2621
</menuchoice>
 
2622
</term>
 
2623
<listitem>
 
2624
<para>
 
2625
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.
 
2626
</para>
 
2627
<para>
 
2628
Default: your UID
 
2629
</para>
 
2630
</listitem>
 
2631
</varlistentry>
 
2632
<varlistentry>
 
2633
<term>
 
2634
<menuchoice>
 
2635
<guibutton>Group ID</guibutton>
 
2636
</menuchoice>
 
2637
</term>
 
2638
<listitem>
 
2639
<para>
 
2640
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.
 
2641
</para>
 
2642
<para>
 
2643
Default: your GID
 
2644
</para>
 
2645
</listitem>
 
2646
</varlistentry>
 
2647
<varlistentry>
 
2648
<term>
 
2649
<menuchoice>
 
2650
<guibutton>File mask</guibutton>
 
2651
</menuchoice>
 
2652
</term>
 
2653
<listitem>
 
2654
<para>
 
2655
Sets the permissions that are applied to files. The value is given in octal and has to have 4 digits. To learn more about the file mask (fmask), you should read the <ulink url="man:/mount"><citerefentry><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> and <ulink url="man:/umask"><citerefentry><refentrytitle>umask</refentrytitle><manvolnum>2</manvolnum></citerefentry></ulink> manual pages.
 
2656
</para>
 
2657
<para>
 
2658
Default: 0755
 
2659
</para>
 
2660
</listitem>
 
2661
</varlistentry>
 
2662
<varlistentry>
 
2663
<term>
 
2664
<menuchoice>
 
2665
<guibutton>Directory mask</guibutton>
 
2666
</menuchoice>
 
2667
</term>
 
2668
<listitem>
 
2669
<para>
 
2670
Sets the permissions that are applied to directories. The value is given in octal and has to have 4 digits. To learn more about the folder mask (dmask), you should read the <ulink url="man:/mount"><citerefentry><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> and <ulink url="man:/umask"><citerefentry><refentrytitle>umask</refentrytitle><manvolnum>2</manvolnum></citerefentry></ulink> manual pages.
 
2671
</para>
 
2672
<para>
 
2673
Default: 0755
 
2674
</para>
 
2675
</listitem>
 
2676
</varlistentry>
 
2677
<varlistentry>
 
2678
<term>
 
2679
<menuchoice>
 
2680
<guibutton>Write access</guibutton>
 
2681
</menuchoice>
 
2682
</term>
 
2683
<listitem>
 
2684
<para>
 
2685
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.
 
2686
</para>
 
2687
<para>
 
2688
Default: read-write
 
2689
</para>
 
2690
</listitem>
 
2691
</varlistentry>
 
2692
<varlistentry>
 
2693
<term>
 
2694
<menuchoice>
 
2695
<guibutton>Client character set</guibutton>
 
2696
</menuchoice>
 
2697
</term>
 
2698
<listitem>
 
2699
<para>
 
2700
Sets the character set used by the client side (&ie; your computer).
 
2701
</para>
 
2702
<para>
 
2703
Default: default
 
2704
</para>
 
2705
</listitem>
 
2706
</varlistentry>
 
2707
<varlistentry>
 
2708
<term>
 
2709
<menuchoice>
 
2710
<guibutton>Server codepage</guibutton>
 
2711
</menuchoice>
 
2712
</term>
 
2713
<listitem>
 
2714
<para>Sets the codepage the remote server uses.</para> 
 
2715
<para>This option is only available under FreeBSD.</para>
 
2716
<para>
 
2717
Default: default
 
2718
</para>
 
2719
</listitem>
 
2720
</varlistentry>
 
2721
</variablelist>
 
2722
</sect3>
 
2723
 
 
2724
<sect3 id="configuration_samba_mounting_advanced">
 
2725
<title>Advanced Options</title>
 
2726
<para><emphasis>(This widget is not available under FreeBSD.)</emphasis></para>
 
2727
<para>Most of the options you can define here require &Linux; kernel 2.6.15 or later to work.</para>
 
2728
<variablelist>
 
2729
<varlistentry>
 
2730
<term>
 
2731
<menuchoice>
 
2732
<guibutton>Do permission checks</guibutton>
 
2733
</menuchoice>
 
2734
</term>
 
2735
<listitem>
 
2736
<para>
 
2737
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.
 
2738
</para>
 
2739
<para>
 
2740
Default: selected
 
2741
</para>
 
2742
</listitem>
 
2743
</varlistentry>
 
2744
<varlistentry>
 
2745
<term>
 
2746
<menuchoice>
 
2747
<guibutton>Attempt to set UID and GID</guibutton>
 
2748
</menuchoice>
 
2749
</term>
 
2750
<listitem>
 
2751
<para>
 
2752
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.
 
2753
</para>
 
2754
<para>
 
2755
Default: not selected
 
2756
</para>
 
2757
</listitem>
 
2758
</varlistentry>
 
2759
<varlistentry>
 
2760
<term>
 
2761
<menuchoice>
 
2762
<guibutton>Use server inode numbers</guibutton>
 
2763
</menuchoice>
 
2764
</term>
 
2765
<listitem>
 
2766
<para>
 
2767
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.
 
2768
</para>
 
2769
<para>
 
2770
Default: not selected
 
2771
</para>
 
2772
</listitem>
 
2773
</varlistentry>
 
2774
<varlistentry>
 
2775
<term>
 
2776
<menuchoice>
 
2777
<guibutton>Do not cache inode data</guibutton>
 
2778
</menuchoice>
 
2779
</term>
 
2780
<listitem>
 
2781
<para>
 
2782
Do not do inode data caching on files opened on the share. In some cases this can provide better performance than the default behavior which caches reads and writes.
 
2783
</para>
 
2784
<para>
 
2785
Default: not selected
 
2786
</para>
 
2787
</listitem>
 
2788
</varlistentry>
 
2789
<varlistentry>
 
2790
<term>
 
2791
<menuchoice>
 
2792
<guibutton>Translate reserved characters</guibutton>
 
2793
</menuchoice>
 
2794
</term>
 
2795
<listitem>
 
2796
<para>
 
2797
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.
 
2798
</para>
 
2799
<para>
 
2800
Default: not selected
 
2801
</para>
 
2802
</listitem>
 
2803
</varlistentry>
 
2804
<varlistentry>
 
2805
<term>
 
2806
<menuchoice>
 
2807
<guibutton>Do not use locking</guibutton>
 
2808
</menuchoice>
 
2809
</term>
 
2810
<listitem>
 
2811
<para>
 
2812
Do not use locking. Do not start lockd.
 
2813
</para>
 
2814
<para>
 
2815
Default: not selected
 
2816
</para>
 
2817
</listitem>
 
2818
</varlistentry>
 
2819
<varlistentry>
 
2820
<term>
 
2821
<menuchoice>
 
2822
<guibutton>Security mode</guibutton>
 
2823
</menuchoice>
 
2824
</term>
 
2825
<listitem>
 
2826
<para>Security mode. To be able to use this option, the CIFS kernel module 1.40 or later is needed.</para>
 
2827
<para>The allowed values are:</para>
 
2828
<variablelist>
 
2829
  <varlistentry>
 
2830
    <term>
 
2831
      <menuchoice>
 
2832
        <guibutton>Use default security mode</guibutton>
 
2833
      </menuchoice>
 
2834
    </term>
 
2835
    <listitem>
 
2836
      <para>No argument is appended to the command line. The default security mode is used.</para>
 
2837
    </listitem>
 
2838
  </varlistentry>
 
2839
  <varlistentry>
 
2840
    <term>
 
2841
      <menuchoice>
 
2842
        <guibutton>Attempt to connect as a null user (no name)</guibutton>
 
2843
      </menuchoice>
 
2844
    </term>
 
2845
    <listitem>
 
2846
      <para>The <option>sec=none</option> command line argument is used.</para>
 
2847
    </listitem>
 
2848
  </varlistentry>
 
2849
  <varlistentry>
 
2850
    <term>
 
2851
      <menuchoice>
 
2852
        <guibutton>Use Kerberos authentication</guibutton>
 
2853
      </menuchoice>
 
2854
    </term>
 
2855
    <listitem>
 
2856
      <para>The <option>sec=krb5</option> command line argument is used.</para>
 
2857
    </listitem>
 
2858
  </varlistentry>
 
2859
  <varlistentry>
 
2860
    <term>
 
2861
      <menuchoice>
 
2862
        <guibutton>Use Kerberos authentication and packet signing</guibutton>
 
2863
      </menuchoice>
 
2864
    </term>
 
2865
    <listitem>
 
2866
      <para>The <option>sec=krb5i</option> command line argument is used.</para>
 
2867
    </listitem>
 
2868
  </varlistentry>
 
2869
  <varlistentry>
 
2870
    <term>
 
2871
      <menuchoice>
 
2872
        <guibutton>Use NTLM password hashing</guibutton>
 
2873
      </menuchoice>
 
2874
    </term>
 
2875
    <listitem>
 
2876
      <para>The <option>sec=ntlm</option> command line argument is used.</para>
 
2877
    </listitem>
 
2878
  </varlistentry>
 
2879
  <varlistentry>
 
2880
    <term>
 
2881
      <menuchoice>
 
2882
        <guibutton>Use NTLM password hashing with packet signing</guibutton>
 
2883
      </menuchoice>
 
2884
    </term>
 
2885
    <listitem>
 
2886
      <para>The <option>sec=ntlmi</option> command line argument is used.</para>
 
2887
    </listitem>
 
2888
  </varlistentry>
 
2889
  <varlistentry>
 
2890
    <term>
 
2891
      <menuchoice>
 
2892
        <guibutton>Use NTLMv2 password hashing</guibutton>
 
2893
      </menuchoice>
 
2894
    </term>
 
2895
    <listitem>
 
2896
      <para>The <option>sec=ntlmv2</option> command line argument is used.</para>
 
2897
    </listitem>
 
2898
  </varlistentry>
 
2899
  <varlistentry>
 
2900
    <term>
 
2901
      <menuchoice>
 
2902
        <guibutton>Use NTLMv2 password hashing with packet signing</guibutton>
 
2903
      </menuchoice>
 
2904
    </term>
 
2905
    <listitem>
 
2906
      <para>The <option>sec=ntlmv2i</option> command line argument is used.</para>
 
2907
    </listitem>
 
2908
  </varlistentry>
 
2909
</variablelist>
 
2910
<para>
 
2911
Default: <guilabel>Use default security mode</guilabel>
 
2912
</para>
 
2913
</listitem>
 
2914
</varlistentry>
 
2915
<varlistentry>
 
2916
<term>
 
2917
<menuchoice>
 
2918
<guibutton>Additional options</guibutton>
 
2919
</menuchoice>
 
2920
</term>
 
2921
<listitem>
 
2922
<para>
 
2923
Define additional options for use with <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>. They have to be provided in a comma-separated list and should not include any options that were already defined in the configuration dialog because this could lead to unwanted side effects. The list is appended AS IS to the command line arguments. To find out about the arguments that can be used read the manual page of <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>.
 
2924
</para>
 
2925
<para>
 
2926
Default: empty
 
2927
</para>
 
2928
</listitem>
 
2929
</varlistentry>
 
2930
</variablelist>
 
2931
</sect3>
 
2932
</sect2>
 
2933
 
 
2934
<sect2 id="configuration_samba_utility_programs">
 
2935
<title>Utility Programs</title>
 
2936
  
 
2937
<sect3 id="configuration_samba_utility_programs_net">
 
2938
<title>net</title>
 
2939
<variablelist>
 
2940
<varlistentry>
 
2941
<term>
 
2942
<menuchoice>
 
2943
<guilabel>Protocol hint</guilabel>
 
2944
</menuchoice>
 
2945
</term>
 
2946
<listitem>
 
2947
<para>
 
2948
With these settings you can give &smb4k; a hint, which protocol should be used with the <ulink url="man:/net"><citerefentry><refentrytitle>net</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> command. Since for some actions not all protocols are available, your choice might be ignored for certain tasks.
 
2949
</para>
 
2950
<para>If only a few and not all servers need tweaking, you should consider to use the <link linkend="network_neighborhood_browser_custom">Custom Options</link> dialog to set the protocol hint and leave this option untouched.</para>
 
2951
<para>
 
2952
The following options are available:
 
2953
</para>
 
2954
<variablelist>
 
2955
<varlistentry>
 
2956
<term>
 
2957
<menuchoice>
 
2958
<guilabel>Automatic detection</guilabel>
 
2959
</menuchoice>
 
2960
</term>
 
2961
<listitem>
 
2962
<para>The protocol will be determined automatically by the <ulink url="man:/net"><citerefentry><refentrytitle>net</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> command on run time. This is the default and in most cases you do not need to change it. However, sometimes connection problems occur because the <ulink url="man:/net"><citerefentry><refentrytitle>net</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> program has problems negotiating the right protocol. In almost all cases this can be fixed by setting the protocol hint to the RPC protocol.</para>
 
2963
</listitem>
 
2964
</varlistentry>
 
2965
<varlistentry>
 
2966
<term>
 
2967
<menuchoice>
 
2968
<guibutton>RPC: Modern operating systems</guibutton>
 
2969
</menuchoice>
 
2970
</term>
 
2971
<listitem>
 
2972
<para>
 
2973
The RPC protocol is used by the modern &Windows; variants (2000/XP/2003) and by Samba.
 
2974
</para>
 
2975
</listitem>
 
2976
</varlistentry>
 
2977
<varlistentry>
 
2978
<term>
 
2979
<menuchoice>
 
2980
<guibutton>RAP: Older operating systems</guibutton>
 
2981
</menuchoice>
 
2982
</term>
 
2983
<listitem>
 
2984
<para>
 
2985
The RAP protocol is used by older &Windows; systems (95/98/Me). Its disadvantage is, that it does not support long share names. However, &smb4k; uses it as fallback.
 
2986
</para>
 
2987
</listitem>
 
2988
</varlistentry>
 
2989
<varlistentry>
 
2990
<term>
 
2991
<menuchoice>
 
2992
<guibutton>ADS: Active Directory environment (LDAP/Kerberos)</guibutton>
 
2993
</menuchoice>
 
2994
</term>
 
2995
<listitem>
 
2996
<para>
 
2997
&smb4k; will try to use the ADS protocol if appropriate. Please note, that no command has been implemented yet that uses the ADS protocol, so this setting will have no effect for now.
 
2998
</para>
 
2999
</listitem>
 
3000
</varlistentry>
 
3001
</variablelist>
 
3002
<para>
 
3003
Default: Automatic detection
 
3004
</para>
 
3005
</listitem>
 
3006
</varlistentry>
 
3007
</variablelist>
 
3008
</sect3>
 
3009
 
 
3010
<sect3 id="configuration_samba_utility_programs_nmblookup">
 
3011
<title>nmblookup</title>
 
3012
<variablelist>
 
3013
<varlistentry>
 
3014
<term>
 
3015
<menuchoice>
 
3016
<guibutton>Broadcast address</guibutton>
 
3017
</menuchoice>
 
3018
</term>
 
3019
<listitem>
 
3020
<para>
 
3021
Send a query to the given broadcast address. Without this option the default behavior of nmblookup is to send the query to the broadcast address of the network interfaces as either auto-detected or defined in the <screen>interfaces = ...</screen> parameter of the <filename>smb.conf</filename> file.
 
3022
</para>
 
3023
<para>
 
3024
Default: options defined in <filename>smb.conf</filename>
 
3025
</para>
 
3026
</listitem>
 
3027
</varlistentry>
 
3028
<varlistentry>
 
3029
<term>
 
3030
<menuchoice>
 
3031
<guibutton>Try and bind to UDP port 137 to send and receive UDP datagrams</guibutton>
 
3032
</menuchoice>
 
3033
</term>
 
3034
<listitem>
 
3035
<para>
 
3036
The reason for this option is a bug in Window 95 where it ignores the source port of the requesting packet and only replies to UDP port 137. Under normal circumstances, you do not need to tick this check box. If you experience problems while scanning the network and you want to enable this option, read the manual page of <ulink url="man:/nmblookup"><citerefentry><refentrytitle>nmblookup</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> before.
 
3037
</para>
 
3038
<para>
 
3039
Default: not selected
 
3040
</para>
 
3041
</listitem>
 
3042
</varlistentry>
 
3043
</variablelist>
 
3044
</sect3>
 
3045
 
 
3046
<sect3 id="configuration_samba_utility_programs_smbclient">
 
3047
<title>smbclient</title>
 
3048
<variablelist>
 
3049
<varlistentry>
 
3050
<term>
 
3051
<menuchoice>
 
3052
<guibutton>Name resolve order</guibutton>
 
3053
</menuchoice>
 
3054
</term>
 
3055
<listitem>
 
3056
<para>
 
3057
Determine what naming services and in what order are used to resolve host names to IP addresses. The option takes a space-separated string of different name resolution options. The options are: "lmhost", "host", "wins" and "bcast". For further information see the manual page of <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>.
 
3058
</para>
 
3059
<para>
 
3060
Default: options defined in <filename>smb.conf</filename>
 
3061
</para>
 
3062
</listitem>
 
3063
</varlistentry>
 
3064
<varlistentry>
 
3065
<term>
 
3066
<menuchoice>
 
3067
<guibutton>Buffer size</guibutton>
 
3068
</menuchoice>
 
3069
</term>
 
3070
<listitem>
 
3071
<para>
 
3072
Change the transmit/send buffer size when getting or putting a file from/to a remote server.
 
3073
</para>
 
3074
<para>
 
3075
Default: 65520 Bytes
 
3076
</para>
 
3077
</listitem>
 
3078
</varlistentry>
 
3079
</variablelist>
 
3080
</sect3>
 
3081
 
 
3082
<sect3 id="configuration_samba_utility_programs_smbtree">
 
3083
<title>smbtree</title>
 
3084
<variablelist>
 
3085
<varlistentry>
 
3086
<term>
 
3087
<menuchoice>
 
3088
<guibutton>Send requests as broadcasts</guibutton>
 
3089
</menuchoice>
 
3090
</term>
 
3091
<listitem>
 
3092
<para>
 
3093
Query network nodes by sending requests as broadcasts instead of querying the local master browser.
 
3094
</para>
 
3095
<para>
 
3096
Default: not selected
 
3097
</para>
 
3098
</listitem>
 
3099
</varlistentry>
 
3100
</variablelist>
 
3101
</sect3>
 
3102
</sect2>
 
3103
 
 
3104
<sect2 id="configuration_samba_custom_options">
 
3105
<title>Custom Options</title>
 
3106
<para>All servers and shares for which you defined custom options are listed here.</para>
 
3107
<screenshot>
 
3108
<screeninfo>Screenshot of the "Custom Options" configuration tab</screeninfo>
 
3109
<mediaobject>
 
3110
<imageobject>
 
3111
<imagedata fileref="configuration_custom_options.png" format="PNG" />
 
3112
</imageobject>
 
3113
<textobject>
 
3114
<phrase>The "Custom Options" configuration tab</phrase>
 
3115
</textobject>
 
3116
</mediaobject>
 
3117
</screenshot>
 
3118
<para>The options 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 defined options are then shown on the right and can be modified.</para>
 
3119
<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>
 
3120
<para>Changes can be reset by choosing the <guimenuitem>Undo</guimenuitem> item from the popup menu.</para>
 
3121
</sect2>
 
3122
</sect1>
 
3123
 
 
3124
<!-- Configuration: Synchronization -->
 
3125
 
 
3126
<sect1 id="configuration_sync">
 
3127
<title>Synchronization</title>
 
3128
 
 
3129
<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 recommend, 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>
 
3130
 
 
3131
<screenshot>
 
3132
<screeninfo>Screenshot of the "Synchronization" configuration page</screeninfo>
 
3133
<mediaobject>
 
3134
<imageobject>
 
3135
<imagedata fileref="configuration_synchronization.png" format="PNG" />
 
3136
</imageobject>
 
3137
<textobject>
 
3138
<phrase>The "Synchronization" configuration page</phrase>
 
3139
</textobject>
 
3140
</mediaobject>
 
3141
</screenshot>
 
3142
 
 
3143
<sect2 id="configuration_sync_copying">
 
3144
<title>Copying</title>
 
3145
   
 
3146
<sect3 id="configuration_sync_copying_defdest">
 
3147
<title>Default Destination</title>
 
3148
<variablelist>
 
3149
<varlistentry>
 
3150
<term>
 
3151
<menuchoice>
 
3152
<guibutton>Synchronization prefix</guibutton>
 
3153
</menuchoice>
 
3154
</term>
 
3155
<listitem>
 
3156
<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>
 
3157
<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="mainwindow_shares_synchronization">synchronization dialog</link>.</para>
 
3158
<para>
 
3159
Default: <filename class="directory">$HOME/smb4k_sync/</filename>
 
3160
</para>
 
3161
</listitem>
 
3162
</varlistentry>
 
3163
</variablelist>
 
3164
</sect3>
 
3165
 
 
3166
<sect3 id="configuration_sync_copying_general">
 
3167
<title>General</title>
 
3168
<variablelist>
 
3169
<varlistentry>
 
3170
<term>
 
3171
<menuchoice>
 
3172
<guibutton>Archive mode</guibutton>
 
3173
</menuchoice>
 
3174
</term>
 
3175
<listitem>
 
3176
<para>Option: <option>-a</option>/<option>--archive</option>, same as <option>-rlptgoD</option> (no <option>-H</option>)</para>
 
3177
<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>
 
3178
<para>
 
3179
Default: selected
 
3180
</para>
 
3181
</listitem>
 
3182
</varlistentry>
 
3183
<varlistentry>
 
3184
<term>
 
3185
<menuchoice>
 
3186
<guibutton>Recurse into subdirectories</guibutton>
 
3187
</menuchoice>
 
3188
</term>
 
3189
<listitem>
 
3190
<para>Option: <option>-r</option>/<option>--recursive</option></para>
 
3191
<para>Recurse into subdirectories.</para>
 
3192
<para>
 
3193
Default: selected
 
3194
</para>
 
3195
</listitem>
 
3196
</varlistentry>
 
3197
<varlistentry>
 
3198
<term>
 
3199
<menuchoice>
 
3200
<guibutton>Update files</guibutton>
 
3201
</menuchoice>
 
3202
</term>
 
3203
<listitem>
 
3204
<para>Option: <option>-u</option>/<option>--update</option></para>
 
3205
<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>
 
3206
<para>
 
3207
Default: selected
 
3208
</para>
 
3209
</listitem>
 
3210
</varlistentry>
 
3211
<varlistentry>
 
3212
<term>
 
3213
<menuchoice>
 
3214
<guibutton>Update files in place</guibutton>
 
3215
</menuchoice>
 
3216
</term>
 
3217
<listitem>
 
3218
<para>Option: <option>--inplace</option></para>
 
3219
<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>
 
3220
<para>For further information you ought to read the <ulink url="man:/rsync">manual page</ulink>.</para>
 
3221
<para>
 
3222
Default: not selected
 
3223
</para>
 
3224
</listitem>
 
3225
</varlistentry>
 
3226
<varlistentry>
 
3227
<term>
 
3228
<menuchoice>
 
3229
<guibutton>Use relative path names</guibutton>
 
3230
</menuchoice>
 
3231
</term>
 
3232
<listitem>
 
3233
<para>Option: <option>-R</option>/<option>--relative</option></para>
 
3234
<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>
 
3235
<para>
 
3236
Default: not selected
 
3237
</para>
 
3238
</listitem>
 
3239
</varlistentry>
 
3240
<varlistentry>
 
3241
<term>
 
3242
<menuchoice>
 
3243
<guibutton>Do not send implied directories</guibutton>
 
3244
</menuchoice>
 
3245
</term>
 
3246
<listitem>
 
3247
<para>Option: <option>--no-implied-dirs</option></para>
 
3248
<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>
 
3249
<para>For further information you ought to read the <ulink url="man:/rsync">manual page</ulink>.</para>
 
3250
<para>
 
3251
Default: not selected
 
3252
</para>
 
3253
</listitem>
 
3254
</varlistentry>
 
3255
<varlistentry>
 
3256
<term>
 
3257
<menuchoice>
 
3258
<guibutton>Transfer directories without recursing</guibutton>
 
3259
</menuchoice>
 
3260
</term>
 
3261
<listitem>
 
3262
<para>Option: <option>-d</option>/<option>--dirs</option></para>
 
3263
<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>
 
3264
<para>
 
3265
Default: not selected
 
3266
</para>
 
3267
</listitem>
 
3268
</varlistentry>
 
3269
<varlistentry>
 
3270
<term>
 
3271
<menuchoice>
 
3272
<guibutton>Compress data during transfer</guibutton>
 
3273
</menuchoice>
 
3274
</term>
 
3275
<listitem>
 
3276
<para>Option: <option>-z</option>/<option>--compress</option></para>
 
3277
<para>Compress file data during the transfer.</para>
 
3278
<para>
 
3279
Default: not selected
 
3280
</para>
 
3281
</listitem>
 
3282
</varlistentry>
 
3283
</variablelist>
 
3284
</sect3>
 
3285
 
 
3286
<sect3 id="configuration_sync_copying_links">
 
3287
<title>Links</title>
 
3288
<variablelist>
 
3289
<varlistentry>
 
3290
<term>
 
3291
<menuchoice>
 
3292
<guibutton>Preserve symlinks</guibutton>
 
3293
</menuchoice>
 
3294
</term>
 
3295
<listitem>
 
3296
<para>Option: <option>-l</option>/<option>--links</option></para>
 
3297
<para>Copy symlinks as symlinks.</para>
 
3298
<para>
 
3299
Default: selected
 
3300
</para>
 
3301
</listitem>
 
3302
</varlistentry>
 
3303
<varlistentry>
 
3304
<term>
 
3305
<menuchoice>
 
3306
<guibutton>Transform symlinks</guibutton>
 
3307
</menuchoice>
 
3308
</term>
 
3309
<listitem>
 
3310
<para>Option: <option>-L</option>/<option>--copy-links</option></para>
 
3311
<para>When symlinks are encountered, the item that they point to is copied, rather than the symlink.</para>
 
3312
<para>
 
3313
Default: not selected
 
3314
</para>
 
3315
</listitem>
 
3316
</varlistentry>
 
3317
<varlistentry>
 
3318
<term>
 
3319
<menuchoice>
 
3320
<guibutton>Only transform unsafe symlinks</guibutton>
 
3321
</menuchoice>
 
3322
</term>
 
3323
<listitem>
 
3324
<para>Option: <option>--copy-unsafe-links</option></para>
 
3325
<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>
 
3326
<para>
 
3327
Default: not selected
 
3328
</para>
 
3329
</listitem>
 
3330
</varlistentry>
 
3331
<varlistentry>
 
3332
<term>
 
3333
<menuchoice>
 
3334
<guibutton>Ignore unsafe symlinks</guibutton>
 
3335
</menuchoice>
 
3336
</term>
 
3337
<listitem>
 
3338
<para>Option: <option>--safe-links</option></para>
 
3339
<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>
 
3340
<para>
 
3341
Default: not selected
 
3342
</para>
 
3343
</listitem>
 
3344
</varlistentry>
 
3345
<varlistentry>
 
3346
<term>
 
3347
<menuchoice>
 
3348
<guibutton>Preserve hard links</guibutton>
 
3349
</menuchoice>
 
3350
</term>
 
3351
<listitem>
 
3352
<para>Option: <option>-H</option>/<option>--hard-links</option></para>
 
3353
<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>
 
3354
<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>
 
3355
<para>
 
3356
Default: not selected
 
3357
</para>
 
3358
</listitem>
 
3359
</varlistentry>
 
3360
<varlistentry>
 
3361
<term>
 
3362
<menuchoice>
 
3363
<guibutton>Keep directory symlinks</guibutton>
 
3364
</menuchoice>
 
3365
</term>
 
3366
<listitem>
 
3367
<para>Option: <option>-K</option>/<option>--keep-dirlinks</option></para>
 
3368
<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>
 
3369
<para>
 
3370
Default: not selected
 
3371
</para>
 
3372
</listitem>
 
3373
</varlistentry>
 
3374
</variablelist>
 
3375
</sect3>
 
3376
 
 
3377
<sect3 id="configuration_sync_copying_perms">
 
3378
<title>File Permissions, &etc;</title>
 
3379
<variablelist>
 
3380
<varlistentry>
 
3381
<term>
 
3382
<menuchoice>
 
3383
<guibutton>Preserve permissions</guibutton>
 
3384
</menuchoice>
 
3385
</term>
 
3386
<listitem>
 
3387
<para>Option: <option>-p</option>/<option>--perms</option></para>
 
3388
<para>This option causes the receiving side to set the destination permissions to be the same as the source permissions.</para>
 
3389
<para>
 
3390
Default: selected
 
3391
</para>
 
3392
</listitem>
 
3393
</varlistentry>
 
3394
<varlistentry>
 
3395
<term>
 
3396
<menuchoice>
 
3397
<guibutton>Preserve group</guibutton>
 
3398
</menuchoice>
 
3399
</term>
 
3400
<listitem>
 
3401
<para>Option: <option>-g</option>/<option>--group</option></para>
 
3402
<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>
 
3403
<para>
 
3404
Default: selected
 
3405
</para>
 
3406
</listitem>
 
3407
</varlistentry>
 
3408
<varlistentry>
 
3409
<term>
 
3410
<menuchoice>
 
3411
<guibutton>Preserve owner</guibutton>
 
3412
</menuchoice>
 
3413
</term>
 
3414
<listitem>
 
3415
<para>Option: <option>-o</option>/<option>--owner</option></para>
 
3416
<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 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>
 
3417
<para>
 
3418
Default: selected
 
3419
</para>
 
3420
</listitem>
 
3421
</varlistentry>
 
3422
<varlistentry>
 
3423
<term>
 
3424
<menuchoice>
 
3425
<guibutton>Preserve device and special files</guibutton>
 
3426
</menuchoice>
 
3427
</term>
 
3428
<listitem>
 
3429
<para>Option: <option>-D</option>/<option>--devices --specials</option></para>
 
3430
<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>
 
3431
<para>
 
3432
Default: selected
 
3433
</para>
 
3434
</listitem>
 
3435
</varlistentry>
 
3436
<varlistentry>
 
3437
<term>
 
3438
<menuchoice>
 
3439
<guibutton>Preserve times</guibutton>
 
3440
</menuchoice>
 
3441
</term>
 
3442
<listitem>
 
3443
<para>Option: <option>-t</option>/<option>--times</option></para>
 
3444
<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>
 
3445
<para>
 
3446
Default: selected
 
3447
</para>
 
3448
</listitem>
 
3449
</varlistentry>
 
3450
<varlistentry>
 
3451
<term>
 
3452
<menuchoice>
 
3453
<guibutton>Omit directories when preserving times</guibutton>
 
3454
</menuchoice>
 
3455
</term>
 
3456
<listitem>
 
3457
<para>Option: <option>-O</option>/<option>--omit-dir-times</option></para>
 
3458
<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>
 
3459
<para>
 
3460
Default: not selected
 
3461
</para>
 
3462
</listitem>
 
3463
</varlistentry>
 
3464
</variablelist>
 
3465
</sect3>
 
3466
</sect2>
 
3467
 
 
3468
<sect2 id="configuration_sync_filedel">
 
3469
<title>File Deletion &amp; Transfer</title>
 
3470
 
 
3471
<sect3 id="configuration_sync_filedel_filedel">
 
3472
<title>File Deletion</title>
 
3473
<variablelist>
 
3474
<varlistentry>
 
3475
<term>
 
3476
<menuchoice>
 
3477
<guibutton>Remove synchronized source files</guibutton>
 
3478
</menuchoice>
 
3479
</term>
 
3480
<listitem>
 
3481
<para>Option: <option>--remove-source-files</option></para>
 
3482
<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>
 
3483
<para>
 
3484
Default: not selected
 
3485
</para>
 
3486
</listitem>
 
3487
</varlistentry>
 
3488
<varlistentry>
 
3489
<term>
 
3490
<menuchoice>
 
3491
<guibutton>Delete extraneous files</guibutton>
 
3492
</menuchoice>
 
3493
</term>
 
3494
<listitem>
 
3495
<para>Option: <option>--delete</option></para>
 
3496
<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>
 
3497
<para>
 
3498
Default: not selected
 
3499
</para>
 
3500
</listitem>
 
3501
</varlistentry>
 
3502
<varlistentry>
 
3503
<term>
 
3504
<menuchoice>
 
3505
<guibutton>Delete files before transfer</guibutton>
 
3506
</menuchoice>
 
3507
</term>
 
3508
<listitem>
 
3509
<para>Option: <option>--delete-before</option></para>
 
3510
<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>
 
3511
<para>
 
3512
Default: not selected
 
3513
</para>
 
3514
</listitem>
 
3515
</varlistentry>
 
3516
<varlistentry>
 
3517
<term>
 
3518
<menuchoice>
 
3519
<guibutton>Delete files after transfer</guibutton>
 
3520
</menuchoice>
 
3521
</term>
 
3522
<listitem>
 
3523
<para>Option: <option>--delete-after</option></para>
 
3524
<para>Request that the file deletions on the receiving side be done after the transfer has completed.</para>
 
3525
<para>
 
3526
Default: not selected
 
3527
</para>
 
3528
</listitem>
 
3529
</varlistentry>
 
3530
<varlistentry>
 
3531
<term>
 
3532
<menuchoice>
 
3533
<guibutton>Delete files during transfer</guibutton>
 
3534
</menuchoice>
 
3535
</term>
 
3536
<listitem>
 
3537
<para>Option: <option>--delete-during</option></para>
 
3538
<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>
 
3539
<para>
 
3540
Default: not selected
 
3541
</para>
 
3542
</listitem>
 
3543
</varlistentry>
 
3544
<varlistentry>
 
3545
<term>
 
3546
<menuchoice>
 
3547
<guibutton>Also delete excluded files</guibutton>
 
3548
</menuchoice>
 
3549
</term>
 
3550
<listitem>
 
3551
<para>Option: <option>--delete-excluded</option></para>
 
3552
<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>
 
3553
<para>
 
3554
Default: not selected
 
3555
</para>
 
3556
</listitem>
 
3557
</varlistentry>
 
3558
<varlistentry>
 
3559
<term>
 
3560
<menuchoice>
 
3561
<guibutton>Delete even if I/O errors occur</guibutton>
 
3562
</menuchoice>
 
3563
</term>
 
3564
<listitem>
 
3565
<para>Option: <option>--ignore-errors</option></para>
 
3566
<para>Tells <option>--delete</option> to go ahead and delete files even when there are I/O errors.</para>
 
3567
<para>
 
3568
Default: not selected
 
3569
</para>
 
3570
</listitem>
 
3571
</varlistentry>
 
3572
<varlistentry>
 
3573
<term>
 
3574
<menuchoice>
 
3575
<guibutton>Force deletion of non-void directories</guibutton>
 
3576
</menuchoice>
 
3577
</term>
 
3578
<listitem>
 
3579
<para>Option: <option>--force</option></para>
 
3580
<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>
 
3581
<para>
 
3582
Default: not selected
 
3583
</para>
 
3584
</listitem>
 
3585
</varlistentry>
 
3586
</variablelist>
 
3587
</sect3>
 
3588
 
 
3589
<sect3 id="configuration_sync_filedel_restrict">
 
3590
<title>Restrictions</title>
 
3591
<variablelist>
 
3592
<varlistentry>
 
3593
<term>
 
3594
<menuchoice>
 
3595
<guibutton>Do not delete more than this many files</guibutton>
 
3596
</menuchoice>
 
3597
</term>
 
3598
<listitem>
 
3599
<para>Option: <option>--max-delete=NUM</option></para>
 
3600
<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>
 
3601
<para>
 
3602
Default: not selected; NUM: 0
 
3603
</para>
 
3604
</listitem>
 
3605
</varlistentry>
 
3606
</variablelist>
 
3607
</sect3>
 
3608
 
 
3609
<sect3 id="configuration_sync_filedel_transfer">
 
3610
<title>File Transfer</title>
 
3611
<variablelist>
 
3612
<varlistentry>
 
3613
<term>
 
3614
<menuchoice>
 
3615
<guibutton>Do not transfer any file smaller than</guibutton>
 
3616
</menuchoice>
 
3617
</term>
 
3618
<listitem>
 
3619
<para>Option: <option>--min-size=NUM</option></para>
 
3620
<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>
 
3621
<para>
 
3622
Default: not selected; NUM: 0 kB
 
3623
</para>
 
3624
</listitem>
 
3625
</varlistentry>
 
3626
<varlistentry>
 
3627
<term>
 
3628
<menuchoice>
 
3629
<guibutton>Do not transfer any file larger than</guibutton>
 
3630
</menuchoice>
 
3631
</term>
 
3632
<listitem>
 
3633
<para>Option: <option>--max-size=NUM</option></para>
 
3634
<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>
 
3635
<para>
 
3636
Default: not selected; NUM: 0 kB
 
3637
</para>
 
3638
</listitem>
 
3639
</varlistentry>
 
3640
<varlistentry>
 
3641
<term>
 
3642
<menuchoice>
 
3643
<guibutton>Keep partially transferred files</guibutton>
 
3644
</menuchoice>
 
3645
</term>
 
3646
<listitem>
 
3647
<para>Option: <option>--partial</option></para>
 
3648
<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>
 
3649
<para>
 
3650
Default: not selected
 
3651
</para>
 
3652
</listitem>
 
3653
</varlistentry>
 
3654
<varlistentry>
 
3655
<term>
 
3656
<menuchoice>
 
3657
<guibutton>Put partially transferred files into</guibutton>
 
3658
</menuchoice>
 
3659
</term>
 
3660
<listitem>
 
3661
<para>Option: <option>--partial-dir=DIR</option></para>
 
3662
<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>
 
3663
<para>
 
3664
Default: not selected; DIR: <filename class="directory">$HOME</filename>
 
3665
</para>
 
3666
</listitem>
 
3667
</varlistentry>
 
3668
</variablelist>
 
3669
</sect3>
 
3670
</sect2>
 
3671
 
 
3672
<sect2 id="configuration_sync_filter">
 
3673
<title>Filtering</title>   
 
3674
 
 
3675
<sect3 id="configuration_sync_filter_general">
 
3676
<title>General</title>
 
3677
<variablelist>
 
3678
<varlistentry>
 
3679
<term>
 
3680
<menuchoice>
 
3681
<guibutton>Auto-ignore files in the same way CVS does</guibutton>
 
3682
</menuchoice>
 
3683
</term>
 
3684
<listitem>
 
3685
<para>Option: <option>-C</option>/<option>--cvs-exclude</option></para>
 
3686
<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>
 
3687
<para>
 
3688
Default: not selected
 
3689
</para>
 
3690
</listitem>
 
3691
</varlistentry>
 
3692
<varlistentry>
 
3693
<term>
 
3694
<menuchoice>
 
3695
<guibutton>Exclude files matching this pattern</guibutton>
 
3696
</menuchoice>
 
3697
</term>
 
3698
<listitem>
 
3699
<para>Option: <option>--exclude=PATTERN</option></para>
 
3700
<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>
 
3701
<para>
 
3702
Default: not selected; PATTERN: empty
 
3703
</para>
 
3704
</listitem>
 
3705
</varlistentry>
 
3706
<varlistentry>
 
3707
<term>
 
3708
<menuchoice>
 
3709
<guibutton>Read exclude patterns from</guibutton>
 
3710
</menuchoice>
 
3711
</term>
 
3712
<listitem>
 
3713
<para>Option: <option>--exclude-from=FILE</option></para>
 
3714
<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>
 
3715
<para>
 
3716
Default: not selected; FILE: <filename>$HOME/exclude.txt</filename>
 
3717
</para>
 
3718
</listitem>
 
3719
</varlistentry>
 
3720
<varlistentry>
 
3721
<term>
 
3722
<menuchoice>
 
3723
<guibutton>Do not exclude files matching this pattern</guibutton>
 
3724
</menuchoice>
 
3725
</term>
 
3726
<listitem>
 
3727
<para>Option: <option>--include=PATTERN</option></para>
 
3728
<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>
 
3729
<para>
 
3730
Default: not selected; PATTERN: empty
 
3731
</para>
 
3732
</listitem>
 
3733
</varlistentry>
 
3734
<varlistentry>
 
3735
<term>
 
3736
<menuchoice>
 
3737
<guibutton>Read include patterns from</guibutton>
 
3738
</menuchoice>
 
3739
</term>
 
3740
<listitem>
 
3741
<para>Option: <option>--include-from=FILE</option></para>
 
3742
<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>
 
3743
<para>
 
3744
Default: not selected; FILE: <filename>$HOME/include.txt</filename>
 
3745
</para>
 
3746
</listitem>
 
3747
</varlistentry>
 
3748
</variablelist>
 
3749
</sect3>
 
3750
 
 
3751
<sect3 id="configuration_sync_filter_rules">
 
3752
<title>Filter Rules</title>
 
3753
<variablelist>
 
3754
<varlistentry>
 
3755
<term>
 
3756
<menuchoice>
 
3757
<guibutton>Custom filter rules</guibutton>
 
3758
</menuchoice>
 
3759
</term>
 
3760
<listitem>
 
3761
<para>Option: <option>-f</option>/<option>--filter=RULE</option></para>
 
3762
<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>
 
3763
<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>
 
3764
<para>You may use as many <option>--filter</option> options as you like to build up the list of files to exclude.</para>
 
3765
<para>See  the  FILTER  RULES section of the <ulink url="man:/rsync">manual page</ulink> for detailed information on this option.</para>
 
3766
<para>
 
3767
Default: empty
 
3768
</para>
 
3769
</listitem>
 
3770
</varlistentry>
 
3771
<varlistentry>
 
3772
<term>
 
3773
<menuchoice>
 
3774
<guibutton>Use --filter='dir-merge /.rsync-filter' filter rule</guibutton>
 
3775
</menuchoice>
 
3776
</term>
 
3777
<listitem>
 
3778
<para>Option: <option>-F</option></para>
 
3779
<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>
 
3780
<para>See the FILTER RULES section of the <ulink url="man:/rsync">manual page</ulink> for detailed information on how this option works.</para>
 
3781
<para>
 
3782
Default: not selected
 
3783
</para>
 
3784
</listitem>
 
3785
</varlistentry>
 
3786
<varlistentry>
 
3787
<term>
 
3788
<menuchoice>
 
3789
<guibutton>Use --filter='exclude .rsync-filter' filter rule</guibutton>
 
3790
</menuchoice>
 
3791
</term>
 
3792
<listitem>
 
3793
<para>Option: <option>-FF</option></para>
 
3794
<para>This option filters out the <filename>.rsync-filter</filename> files themselves from the transfer.</para>
 
3795
<para>See the FILTER RULES section of the <ulink url="man:/rsync">manual page</ulink> for detailed information on how this option works.</para>
 
3796
<para>
 
3797
Default: not selected
 
3798
</para>
 
3799
</listitem>
 
3800
</varlistentry>
 
3801
</variablelist>
 
3802
</sect3>
 
3803
</sect2>
 
3804
 
 
3805
<sect2 id="configuration_sync_advanced">
 
3806
<title>Advanced Settings</title>
 
3807
 
 
3808
<sect3 id="configuration_sync_advanced_general">
 
3809
<title>General</title>
 
3810
<variablelist>
 
3811
<varlistentry>
 
3812
<term>
 
3813
<menuchoice>
 
3814
<guibutton>Handle sparse files efficiently</guibutton>
 
3815
</menuchoice>
 
3816
</term>
 
3817
<listitem>
 
3818
<para>Option: <option>-S</option>/<option>--sparse</option></para>
 
3819
<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>
 
3820
<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>
 
3821
<para>
 
3822
Default: not selected
 
3823
</para>
 
3824
</listitem>
 
3825
</varlistentry>
 
3826
<varlistentry>
 
3827
<term>
 
3828
<menuchoice>
 
3829
<guibutton>Copy files whole (no rsync algorithm)</guibutton>
 
3830
</menuchoice>
 
3831
</term>
 
3832
<listitem>
 
3833
<para>Option: <option>-W</option>/<option>--whole-file</option></para>
 
3834
<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>
 
3835
<para>
 
3836
Default: not selected
 
3837
</para>
 
3838
</listitem>
 
3839
</varlistentry>
 
3840
<varlistentry>
 
3841
<term>
 
3842
<menuchoice>
 
3843
<guibutton>Do not cross file system boundaries</guibutton>
 
3844
</menuchoice>
 
3845
</term>
 
3846
<listitem>
 
3847
<para>Option: <option>-x</option>/<option>--one-file-system</option></para>
 
3848
<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>
 
3849
<para>
 
3850
Default: not selected
 
3851
</para>
 
3852
</listitem>
 
3853
</varlistentry>
 
3854
<varlistentry>
 
3855
<term>
 
3856
<menuchoice>
 
3857
<guibutton>Only update files that already exist</guibutton>
 
3858
</menuchoice>
 
3859
</term>
 
3860
<listitem>
 
3861
<para>Option: <option>--existing</option>/<option>--ignore-non-existing</option></para>
 
3862
<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>
 
3863
<para>
 
3864
Default: not selected
 
3865
</para>
 
3866
</listitem>
 
3867
</varlistentry>
 
3868
<varlistentry>
 
3869
<term>
 
3870
<menuchoice>
 
3871
<guibutton>Ignore files that already exist</guibutton>
 
3872
</menuchoice>
 
3873
</term>
 
3874
<listitem>
 
3875
<para>Option: <option>--ignore-existing</option></para>
 
3876
<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>
 
3877
<para>
 
3878
Default: not selected
 
3879
</para>
 
3880
</listitem>
 
3881
</varlistentry>
 
3882
<varlistentry>
 
3883
<term>
 
3884
<menuchoice>
 
3885
<guibutton>Delay updates until the end of transfer</guibutton>
 
3886
</menuchoice>
 
3887
</term>
 
3888
<listitem>
 
3889
<para>Option: <option>--delay-updates</option></para>
 
3890
<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>
 
3891
<para>It is strongly recommended that you read the <ulink url="man:/rsync">manual page</ulink> before using this option.</para>
 
3892
<para>
 
3893
Default: not selected
 
3894
</para>
 
3895
</listitem>
 
3896
</varlistentry>
 
3897
</variablelist>
 
3898
</sect3>
 
3899
 
 
3900
<sect3 id="configuration_sync_advanced_backup">
 
3901
<title>Backup</title>
 
3902
<variablelist>
 
3903
<varlistentry>
 
3904
<term>
 
3905
<menuchoice>
 
3906
<guibutton>Make backups</guibutton>
 
3907
</menuchoice>
 
3908
</term>
 
3909
<listitem>
 
3910
<para>Option: <option>-b</option>/<option>--backups</option></para>
 
3911
<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>
 
3912
<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>
 
3913
<para>
 
3914
Default: not selected
 
3915
</para>
 
3916
</listitem>
 
3917
</varlistentry>
 
3918
<varlistentry>
 
3919
<term>
 
3920
<menuchoice>
 
3921
<guibutton>Backup suffix</guibutton>
 
3922
</menuchoice>
 
3923
</term>
 
3924
<listitem>
 
3925
<para>Option: <option>--suffix=SUFFIX</option></para>
 
3926
<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>
 
3927
<para>This option is only available if you ticked the <guilabel>Make backups</guilabel> option above.</para>
 
3928
<para>
 
3929
Default: not selected; SUFFIX: ~
 
3930
</para>
 
3931
</listitem>
 
3932
</varlistentry>
 
3933
<varlistentry>
 
3934
<term>
 
3935
<menuchoice>
 
3936
<guibutton>Backup directory</guibutton>
 
3937
</menuchoice>
 
3938
</term>
 
3939
<listitem>
 
3940
<para>Option: <option>--backup-dir=DIR</option></para>
 
3941
<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>
 
3942
<para>This option is only available if you ticked the <guilabel>Make backups</guilabel> option above.</para>
 
3943
<para>
 
3944
Default: not selected; DIR: <envar>$HOME</envar>
 
3945
</para>
 
3946
</listitem>
 
3947
</varlistentry>
 
3948
</variablelist>
 
3949
</sect3>
 
3950
 
 
3951
<sect3 id="configuration_sync_advanced_checksums">
 
3952
<title>Checksums</title>
 
3953
<variablelist>
 
3954
<varlistentry>
 
3955
<term>
 
3956
<menuchoice>
 
3957
<guibutton>Force fixed checksum block size</guibutton>
 
3958
</menuchoice>
 
3959
</term>
 
3960
<listitem>
 
3961
<para>Option: <option>-B</option>/<option>--block-size=SIZE</option></para>
 
3962
<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>
 
3963
<para>
 
3964
Default: not selected; SIZE: 0
 
3965
</para>
 
3966
</listitem>
 
3967
</varlistentry>
 
3968
<varlistentry>
 
3969
<term>
 
3970
<menuchoice>
 
3971
<guibutton>Set block/file checksum seed</guibutton>
 
3972
</menuchoice>
 
3973
</term>
 
3974
<listitem>
 
3975
<para>Option: <option>--checksum-seed=NUM</option></para>
 
3976
<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>
 
3977
<para>
 
3978
Default: not selected; NUM: 0
 
3979
</para>
 
3980
</listitem>
 
3981
</varlistentry>
 
3982
<varlistentry>
 
3983
<term>
 
3984
<menuchoice>
 
3985
<guibutton>Skip files based on checksum</guibutton>
 
3986
</menuchoice>
 
3987
</term>
 
3988
<listitem>
 
3989
<para>Option: <option>-c</option>/<option>--checksum</option></para>
 
3990
<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>
 
3991
<para>
 
3992
Default: not selected
 
3993
</para>
 
3994
</listitem>
 
3995
</varlistentry>
 
3996
</variablelist>
 
3997
</sect3>
 
3998
</sect2>
 
3999
</sect1>
 
4000
<sect1 id="configuration_laptop_support">
 
4001
<title>Laptop Support</title>
 
4002
<para>The settings on this page influence the way &smb4k; behaves when used on a laptop. Primarily, they make sure that the application runs smoothly even after a suspension/hibernation and during or after a network disconnection. But you can also define the behavior when the laptop is powered off without prior log-off.</para>
 
4003
  
 
4004
<para>Please note that &smb4k; is only able to detect changes in state of the hardware through the <ulink url="http://solid.kde.org">Solid</ulink> hardware device framework. So, it might be necessary that you unmount all shares manually if you initiate a software suspend/hibernation. Have also a look at the options defined on the <link linkend="configuration_shares">Shares</link> configuration page under <link linkend="configuration_shares_mounting">Mounting &amp; Unmounting</link>.</para>
 
4005
 
 
4006
<sect2 id="configuration_laptop_support_hardware">
 
4007
<title>Hardware</title>
 
4008
<screenshot>
 
4009
<screeninfo>Screenshot of the "Laptop Support" configuration page</screeninfo>
 
4010
<mediaobject>
 
4011
<imageobject>
 
4012
<imagedata fileref="configuration_laptop_support.png" format="PNG" />
 
4013
</imageobject>
 
4014
<textobject>
 
4015
<phrase>The "Laptop Support" configuration page</phrase>
 
4016
</textobject>
 
4017
</mediaobject>
 
4018
</screenshot>
 
4019
 
 
4020
<variablelist>
 
4021
<varlistentry>
 
4022
<term>
 
4023
<menuchoice>
 
4024
<guibutton>Unmount all shares when the sleep button is pressed</guibutton>
 
4025
</menuchoice>
 
4026
</term>
 
4027
<listitem>
 
4028
<para>All shares owned by you are unmounted when the sleep button is pressed and your laptop is about to suspend or hibernate. After the operating system woke up again, the shares are remounted.</para>
 
4029
<para>
 
4030
Default: selected
 
4031
</para>
 
4032
</listitem>
 
4033
</varlistentry>
 
4034
<varlistentry>
 
4035
<term>
 
4036
<menuchoice>
 
4037
<guibutton>Unmount all shares when the lid is closed</guibutton>
 
4038
</menuchoice>
 
4039
</term>
 
4040
<listitem>
 
4041
<para>All shares owned by you are unmounted when the lid is closed and your laptop is about to suspend or hibernate. After the operating system woke up again, the shares are remounted.</para>
 
4042
<para>
 
4043
Default: selected
 
4044
</para>
 
4045
</listitem>
 
4046
</varlistentry>
 
4047
<varlistentry>
 
4048
<term>
 
4049
<menuchoice>
 
4050
<guibutton>Unmount all shares when the power button is pressed</guibutton>
 
4051
</menuchoice>
 
4052
</term>
 
4053
<listitem>
 
4054
<para>All shares owned by you are unmounted when the power button is pressed and your laptop is about to power off. On the next program run, the shares are remounted.</para>
 
4055
<para>
 
4056
Default: selected
 
4057
</para>
 
4058
</listitem>
 
4059
</varlistentry>
 
4060
<varlistentry>
 
4061
<term>
 
4062
<menuchoice>
 
4063
<guibutton>Unmount all shares when the network is disconnected</guibutton>
 
4064
</menuchoice>
 
4065
</term>
 
4066
<listitem>
 
4067
<para>All shares owned by you are unmounted when the network gets disconnected. After the connection was established again, the shares are remounted.</para>
 
4068
<para>
 
4069
Default: selected
 
4070
</para>
 
4071
</listitem>
 
4072
</varlistentry>
 
4073
</variablelist>
 
4074
</sect2>
 
4075
</sect1>
 
4076
</chapter>
 
4077
 
 
4078
<!-- Command Reference -->
 
4079
 
 
4080
<chapter id="commands" >
 
4081
<title>Command Reference</title>
 
4082
 
 
4083
<sect1 id="file_menu">
 
4084
<title>The File Menu</title>
 
4085
<para>
 
4086
<variablelist>
 
4087
<varlistentry>
 
4088
<term>
 
4089
<menuchoice>
 
4090
<shortcut>
 
4091
<keycombo action="simul" >
 
4092
&Ctrl; <keycap>Q</keycap>
 
4093
</keycombo>
 
4094
</shortcut>
 
4095
<guimenu>File</guimenu>
 
4096
<guimenuitem>Quit</guimenuitem>
 
4097
</menuchoice>
 
4098
</term>
 
4099
<listitem>
 
4100
<para>
 
4101
Quit &smb4k;.
 
4102
</para>
 
4103
</listitem>
 
4104
</varlistentry>
 
4105
</variablelist>
 
4106
</para>
 
4107
</sect1>
 
4108
 
 
4109
<sect1 id="network_menu">
 
4110
<title>The Network Menu</title>
 
4111
<para>
 
4112
<variablelist>
 
4113
<varlistentry>
 
4114
<term>
 
4115
<menuchoice>
 
4116
<shortcut>
 
4117
<keycap>F5</keycap>
 
4118
</shortcut>
 
4119
<guimenu>Network</guimenu>
 
4120
<guimenuitem>Scan Network|Workgroup|Computer</guimenuitem>
 
4121
</menuchoice>
 
4122
</term>
 
4123
<listitem>
 
4124
<para>
 
4125
(Re-)scan the network neighborhood, a workgroup, or a computer.
 
4126
</para>
 
4127
</listitem>
 
4128
</varlistentry>
 
4129
<varlistentry>
 
4130
<term>
 
4131
<menuchoice>
 
4132
<shortcut>
 
4133
<keycombo action="simul">
 
4134
&Ctrl; <keycap>A</keycap>
 
4135
</keycombo>
 
4136
</shortcut>
 
4137
<guimenu>Network</guimenu>
 
4138
<guimenuitem>Abort</guimenuitem>
 
4139
</menuchoice>
 
4140
</term>
 
4141
<listitem>
 
4142
<para>
 
4143
<action>Abort the scanning for new workgroups/domains, servers or shares.</action>
 
4144
</para>
 
4145
</listitem>
 
4146
</varlistentry>
 
4147
<varlistentry>
 
4148
<term>
 
4149
<menuchoice>
 
4150
<shortcut>
 
4151
<keycombo action="simul">
 
4152
&Ctrl; <keycap>O</keycap>
 
4153
</keycombo>
 
4154
</shortcut>
 
4155
<guimenu>Network</guimenu>
 
4156
<guimenuitem>Open Mount Dialog</guimenuitem>
 
4157
</menuchoice>
 
4158
</term>
 
4159
<listitem>
 
4160
<para>
 
4161
<action>Open the dialog to "manually" mount a remote share.</action>
 
4162
</para>
 
4163
</listitem>
 
4164
</varlistentry>
 
4165
<varlistentry>
 
4166
<term>
 
4167
<menuchoice>
 
4168
<shortcut>
 
4169
<keycombo action="simul">
 
4170
&Ctrl; <keycap>T</keycap>
 
4171
</keycombo>
 
4172
</shortcut>
 
4173
<guimenu>Network</guimenu>
 
4174
<guimenuitem>Authentication</guimenuitem>
 
4175
</menuchoice>
 
4176
</term>
 
4177
<listitem>
 
4178
<para>
 
4179
<action>Open the authentication dialog where you can enter login information.</action>
 
4180
</para>
 
4181
</listitem>
 
4182
</varlistentry>
 
4183
<varlistentry>
 
4184
<term>
 
4185
<menuchoice>
 
4186
<shortcut>
 
4187
<keycombo action="simul">
 
4188
&Ctrl; <keycap>C</keycap>
 
4189
</keycombo>
 
4190
</shortcut>
 
4191
<guimenu>Network</guimenu>
 
4192
<guimenuitem>Custom Options</guimenuitem>
 
4193
</menuchoice>
 
4194
</term>
 
4195
<listitem>
 
4196
<para>
 
4197
<action>Open a dialog where you can define custom options for a server or share.</action>
 
4198
</para>
 
4199
</listitem>
 
4200
</varlistentry>
 
4201
<varlistentry>
 
4202
<term>
 
4203
<menuchoice>
 
4204
<shortcut>
 
4205
<keycombo action="simul">
 
4206
&Ctrl; <keycap>V</keycap>
 
4207
</keycombo>
 
4208
</shortcut>
 
4209
<guimenu>Network</guimenu>
 
4210
<guimenuitem>Preview</guimenuitem>
 
4211
</menuchoice>
 
4212
</term>
 
4213
<listitem>
 
4214
<para>
 
4215
<action>Open the preview dialog that contains a preview of the contents of the selected share.</action>
 
4216
</para>
 
4217
</listitem>
 
4218
</varlistentry>
 
4219
<varlistentry>
 
4220
<term>
 
4221
<menuchoice>
 
4222
<shortcut>
 
4223
<keycombo action="simul">
 
4224
&Ctrl; <keycap>P</keycap>
 
4225
</keycombo>
 
4226
</shortcut>
 
4227
<guimenu>Network</guimenu>
 
4228
<guimenuitem>Print File</guimenuitem>
 
4229
</menuchoice>
 
4230
</term>
 
4231
<listitem>
 
4232
<para>
 
4233
<action>Open the print dialog.</action>
 
4234
</para>
 
4235
</listitem>
 
4236
</varlistentry>
 
4237
<varlistentry>
 
4238
<term>
 
4239
<menuchoice>
 
4240
<shortcut>
 
4241
<keycombo action="simul">
 
4242
&Ctrl; <keycap>M</keycap>
 
4243
</keycombo>
 
4244
</shortcut>
 
4245
<guimenu>Network</guimenu>
 
4246
<guimenuitem>Mount</guimenuitem>
 
4247
</menuchoice>
 
4248
</term>
 
4249
<listitem>
 
4250
<para>
 
4251
<action>Mount the selected remote share.</action>
 
4252
</para>
 
4253
</listitem>
 
4254
</varlistentry>
 
4255
</variablelist>
 
4256
</para>
 
4257
</sect1>
 
4258
 
 
4259
<sect1 id="search_menu">
 
4260
<title>The Search Menu</title>
 
4261
<para>
 
4262
  <variablelist>
 
4263
    <varlistentry>
 
4264
      <term>
 
4265
        <menuchoice>
 
4266
          <shortcut>
 
4267
            <keycombo action="simul">
 
4268
              &Ctrl; <keycap>S</keycap>
 
4269
            </keycombo>
 
4270
          </shortcut>
 
4271
          <guimenu>Search</guimenu>
 
4272
          <guimenuitem>Search</guimenuitem>
 
4273
        </menuchoice>
 
4274
      </term>
 
4275
      <listitem>
 
4276
        <para>
 
4277
          <action>Search the network for the entered search string.</action>
 
4278
        </para>
 
4279
      </listitem>
 
4280
    </varlistentry>
 
4281
    <varlistentry>
 
4282
      <term>
 
4283
        <menuchoice>
 
4284
          <shortcut>
 
4285
            <keycombo action="simul">
 
4286
              &Ctrl; <keycap>A</keycap>
 
4287
            </keycombo>
 
4288
          </shortcut>
 
4289
          <guimenu>Search</guimenu>
 
4290
          <guimenuitem>Abort</guimenuitem>
 
4291
        </menuchoice>
 
4292
      </term>
 
4293
      <listitem>
 
4294
        <para>
 
4295
          <action>Abort the network search.</action>
 
4296
        </para>
 
4297
      </listitem>
 
4298
    </varlistentry>
 
4299
    <varlistentry>
 
4300
      <term>
 
4301
        <menuchoice>
 
4302
          <guimenu>Search</guimenu>
 
4303
          <guimenuitem>Clear</guimenuitem>
 
4304
        </menuchoice>
 
4305
      </term>
 
4306
      <listitem>
 
4307
        <para>
 
4308
          <action>Clear the network search widget, &ie; the combo box, the history and the list view.</action>
 
4309
        </para>
 
4310
      </listitem>
 
4311
    </varlistentry>
 
4312
    <varlistentry>
 
4313
      <term>
 
4314
        <menuchoice>
 
4315
          <shortcut>
 
4316
            <keycombo action="simul">
 
4317
              &Ctrl; <keycap>D</keycap>
 
4318
            </keycombo>
 
4319
          </shortcut>
 
4320
          <guimenu>Search</guimenu>
 
4321
          <guimenuitem>Mount</guimenuitem>
 
4322
        </menuchoice>
 
4323
      </term>
 
4324
      <listitem>
 
4325
        <para>
 
4326
          <action>Mount the selected share.</action>
 
4327
        </para>
 
4328
      </listitem>
 
4329
    </varlistentry>
 
4330
  </variablelist>
 
4331
</para>
 
4332
</sect1> 
 
4333
 
 
4334
<sect1 id="shares_menu">
 
4335
<title>The Shares Menu</title>
 
4336
<para>
 
4337
<variablelist>
 
4338
<varlistentry>
 
4339
<term>
 
4340
<menuchoice>
 
4341
<shortcut>
 
4342
<keycombo action="simul">
 
4343
&Ctrl; <keycap>U</keycap>
 
4344
</keycombo>
 
4345
</shortcut>
 
4346
<guimenu>Shares</guimenu>
 
4347
<guimenuitem>Unmount</guimenuitem>
 
4348
</menuchoice>
 
4349
</term>
 
4350
<listitem>
 
4351
<para>
 
4352
<action>Unmount the selected share.</action>
 
4353
</para>
 
4354
</listitem>
 
4355
</varlistentry>
 
4356
<varlistentry>
 
4357
<term>
 
4358
<menuchoice>
 
4359
<shortcut>
 
4360
<keycombo action="simul">
 
4361
&Ctrl; <keycap>N</keycap>
 
4362
</keycombo>
 
4363
</shortcut>
 
4364
<guimenu>Shares</guimenu>
 
4365
<guimenuitem>Unmount All</guimenuitem>
 
4366
</menuchoice>
 
4367
</term>
 
4368
<listitem>
 
4369
<para>
 
4370
<action>Unmount all of the mounted shares at once. In the default configuration this is restricted to the user's shares, but this can be altered in the <link linkend="configuration_shares_mounting">configuration dialog</link>. For further information read the <link linkend="mainwindow_shares_unmounting">Unmounting Shares</link> section.</action>
 
4371
</para>
 
4372
</listitem>
 
4373
</varlistentry>
 
4374
<varlistentry>
 
4375
<term>
 
4376
<menuchoice>
 
4377
<shortcut>
 
4378
<keycombo action="simul">
 
4379
&Ctrl; <keycap>Y</keycap>
 
4380
</keycombo>
 
4381
</shortcut>
 
4382
<guimenu>Shares</guimenu>
 
4383
<guimenuitem>Synchronize</guimenuitem>
 
4384
</menuchoice>
 
4385
</term>
 
4386
<listitem>
 
4387
<para>
 
4388
<action>Initiate a synchronization.</action>
 
4389
</para>
 
4390
</listitem>
 
4391
</varlistentry>
 
4392
<varlistentry>
 
4393
<term>
 
4394
<menuchoice>
 
4395
<shortcut>
 
4396
<keycombo action="simul">
 
4397
&Ctrl; <keycap>L</keycap>
 
4398
</keycombo>
 
4399
</shortcut>
 
4400
<guimenu>Shares</guimenu>
 
4401
<guimenuitem>Open with Konsole</guimenuitem>
 
4402
</menuchoice>
 
4403
</term>
 
4404
<listitem>
 
4405
<para>
 
4406
<action>Open the base folder of the selected share in &konsole;.</action>
 
4407
</para>
 
4408
</listitem>
 
4409
</varlistentry>
 
4410
<varlistentry>
 
4411
<term>
 
4412
<menuchoice>
 
4413
<shortcut>
 
4414
<keycombo action="simul">
 
4415
&Ctrl; <keycap>I</keycap>
 
4416
</keycombo>
 
4417
</shortcut>
 
4418
<guimenu>Shares</guimenu>
 
4419
<guimenuitem>Open with File Manager</guimenuitem>
 
4420
</menuchoice>
 
4421
</term>
 
4422
<listitem>
 
4423
<para>
 
4424
<action>Open the contents of the selected share in the default file manager (&eg; &dolphin;).</action>
 
4425
</para>
 
4426
</listitem>
 
4427
</varlistentry>
 
4428
</variablelist>
 
4429
</para>
 
4430
</sect1>
 
4431
 
 
4432
<sect1 id="bookmarks_menu">
 
4433
<title>The Bookmarks Menu</title>
 
4434
<para>
 
4435
<variablelist>
 
4436
<varlistentry>
 
4437
<term>
 
4438
<menuchoice>
 
4439
<guimenu>Bookmarks</guimenu>
 
4440
<guimenuitem>Edit Bookmarks</guimenuitem>
 
4441
</menuchoice>
 
4442
</term>
 
4443
<listitem>
 
4444
<para>
 
4445
<action>Open the bookmark editor.</action>
 
4446
</para>
 
4447
</listitem>
 
4448
</varlistentry>
 
4449
<varlistentry>
 
4450
<term>
 
4451
<menuchoice>
 
4452
<shortcut>
 
4453
<keycombo action="simul">
 
4454
&Ctrl; <keycap>B</keycap>
 
4455
</keycombo>
 
4456
</shortcut>
 
4457
<guimenu>Bookmarks</guimenu>
 
4458
<guimenuitem>Add Bookmark</guimenuitem>
 
4459
</menuchoice>
 
4460
</term>
 
4461
<listitem>
 
4462
<para>
 
4463
<action>Add the selected share to the bookmarks.</action>
 
4464
</para>
 
4465
</listitem>
 
4466
</varlistentry>
 
4467
</variablelist>
 
4468
</para>
 
4469
</sect1>
 
4470
 
 
4471
<sect1 id="settings_menu">
 
4472
<title>The Settings Menu</title>
 
4473
<para>
 
4474
<variablelist>
 
4475
<varlistentry>
 
4476
<term>
 
4477
<menuchoice>
 
4478
<guimenu>Settings</guimenu>
 
4479
<guimenuitem>Toolbars Shown</guimenuitem>
 
4480
</menuchoice>
 
4481
</term>
 
4482
<listitem>
 
4483
<para>
 
4484
<action>In this submenu you can enable or disable the tool bars.</action>
 
4485
</para>
 
4486
</listitem>
 
4487
</varlistentry>
 
4488
<varlistentry>
 
4489
<term>
 
4490
<menuchoice>
 
4491
<guimenu>Settings</guimenu>
 
4492
<guimenuitem>Show Statusbar</guimenuitem>
 
4493
</menuchoice>
 
4494
</term>
 
4495
<listitem>
 
4496
<para>
 
4497
<action>Hide or show the status bar.</action>
 
4498
</para>
 
4499
</listitem>
 
4500
</varlistentry>
 
4501
<varlistentry>
 
4502
<term>
 
4503
<menuchoice>
 
4504
<guimenu>Settings</guimenu>
 
4505
<guimenuitem>Dock Widgets</guimenuitem>
 
4506
</menuchoice>
 
4507
</term>
 
4508
<listitem>
 
4509
<para>
 
4510
<action>Hide or show the dock widgets in the main window.</action>
 
4511
</para>
 
4512
</listitem>
 
4513
</varlistentry>
 
4514
<varlistentry>
 
4515
<term>
 
4516
<menuchoice>
 
4517
<guimenu>Settings</guimenu>
 
4518
<guimenuitem>Shares View</guimenuitem>
 
4519
</menuchoice>
 
4520
</term>
 
4521
<listitem>
 
4522
<para>
 
4523
<action>Select between the shares icon and list view.</action>
 
4524
</para>
 
4525
</listitem>
 
4526
</varlistentry>
 
4527
<varlistentry>
 
4528
<term>
 
4529
<menuchoice>
 
4530
<guimenu>Settings</guimenu>
 
4531
<guimenuitem>Configure &smb4k;...</guimenuitem>
 
4532
</menuchoice>
 
4533
</term>
 
4534
<listitem>
 
4535
<para>
 
4536
<action>Open the configuration dialog.</action>
 
4537
</para>
 
4538
</listitem>
 
4539
</varlistentry>
 
4540
</variablelist>
 
4541
</para>
 
4542
</sect1>
 
4543
 
 
4544
<sect1 id="help_menu">
 
4545
<title>The Help Menu</title>
 
4546
&help.menu.documentation;
 
4547
</sect1>
 
4548
</chapter>
 
4549
 
 
4550
<!-- Reporting bugs -->
 
4551
 
 
4552
<chapter id="reporting_bugs">
 
4553
<title>Reporting Bugs</title>
 
4554
 
 
4555
<para>Before filing a bug report, please read our <ulink url="https://sourceforge.net/p/smb4k/wiki/Home/">wiki</ulink>. Many common problems are already covered there. Also, try the <ulink url="https://sourceforge.net/projects/smb4k/files/">latest version</ulink> of &smb4k;. Maybe your problem has already been fixed.</para>
 
4556
<para>Follow these directions for your bug report:</para>
 
4557
<itemizedlist>
 
4558
<listitem><para>Describe <emphasis>in detail</emphasis> what you did to receive the problem you are reporting.</para></listitem>
 
4559
<listitem><para>Provide the version of &smb4k; and &kde;.</para></listitem>
 
4560
<listitem><para>Mention your operating system (&Linux;, FreeBSD, &etc;) and the distribution that is running on your computer.</para></listitem>
 
4561
<listitem><para>Include the full error message if an error dialog was displayed.</para></listitem>
 
4562
<listitem><para>Add additional data, &ie; attach the backtrace if you experienced a crash, send a screen shot if you are reporting a &GUI; related problem, &etc;</para></listitem>
 
4563
</itemizedlist>
 
4564
<para>The recommended method to report a bug is to go to our <ulink url="https://sourceforge.net/p/smb4k/tickets/">bug tracking system</ulink> and fill out the form. But you can also use the dialog that opens when you click the <menuchoice><guimenu>Help</guimenu><guimenuitem>Report Bug...</guimenuitem></menuchoice> menu item.</para>
 
4565
</chapter>
 
4566
 
 
4567
 
 
4568
<!-- Credits and License -->
 
4569
 
 
4570
<chapter id="credits" >
 
4571
<title>Credits and License</title>
 
4572
 
 
4573
<para>Copyright &copy; 2003 - 2011, Alexander Reinholdt <email>alexander.reinholdt@kdemail.net</email></para>
 
4574
 
 
4575
&underFDL;
 
4576
<!-- TRANS:CREDIT_FOR_TRANSLATORS -->
 
4577
 
 
4578
<simplesect>
 
4579
<title>Developers</title>
 
4580
<itemizedlist>
 
4581
<listitem><para>Alexander Reinholdt <email>alexander.reinholdt@kdemail.net</email></para></listitem>
 
4582
</itemizedlist>
 
4583
</simplesect>
 
4584
 
 
4585
<simplesect>
 
4586
<title>Translations</title>
 
4587
<para>Translations were contributed by the &kde; translators.</para>
 
4588
</simplesect>
 
4589
 
 
4590
<simplesect>
 
4591
<title>Special Thanks</title>
 
4592
<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>
 
4593
</simplesect>
 
4594
</chapter>
 
4595
 
 
4596
 
 
4597
<!-- Appendix -->
 
4598
 
 
4599
<appendix id="appendix_installation" >
 
4600
<title>Installation</title>
 
4601
 
 
4602
<sect1 id="appendix_getting_smb4k" >
 
4603
<title>How to obtain &smb4k;</title>
 
4604
<para>The latest stable release is available at <ulink url="http://sourceforge.net/projects/smb4k/files/">http://sourceforge.net/projects/smb4k/files/</ulink>.</para>
 
4605
</sect1>
 
4606
 
 
4607
<sect1 id="appendix_requirements" >
 
4608
<title>Requirements</title>
 
4609
 
 
4610
<para>&smb4k; officially supports &Linux; (>= 2.2.x) and FreeBSD (>= 4.10). It might also run on other Unix systems.</para>
 
4611
<para>If you want to compile &smb4k; from source, you need to have the kdelibs (including header files) and kdebase-runtime modules of the KDE SC 4.4 or later installed. Additionally, Qt version 4.7 or later is required.</para>
 
4612
<para>In order to use &smb4k; successfully, you have to install the Samba software suite (3.x, 3.4 or later recommended), &GNU; grep, &GNU; awk or similar, &GNU; sed and the &GNU; findutils. If you are using &Linux;, you also need support of the <filename class="directory">/proc</filename> file system compiled into your kernel.</para>
 
4613
<para>To enable full functionality, you should also install rsync.</para>
 
4614
<para>&smb4k; uses about 20 MB of memory to run, but this may vary depending on your platform and configuration.</para>
 
4615
<para>Links to all required libraries and programs as well as &smb4k; itself can be found on <ulink url="http://smb4k.sourceforge.net" >the &smb4k; home page</ulink>.</para>
 
4616
<para>The list of changes can be found in the <filename>ChangeLog</filename> file.</para>
 
4617
</sect1>
 
4618
 
 
4619
<sect1 id="appendix_compilation" >
 
4620
<title>Compilation and Installation</title>
 
4621
<para>This section describes the configuration, compilation and installation of &smb4k;.</para>
 
4622
<orderedlist>
 
4623
<listitem><para>Unpack the downloaded source tarball: <screen><prompt>$</prompt> <userinput><command>tar</command> -xvfj smb4k-x.x.x.tar.bz2</userinput></screen> (Replace x.x.x with the version number)</para></listitem>
 
4624
<listitem><para>Create a build directory: 
 
4625
<screen><prompt>$</prompt> <userinput><command>cd</command> smb4k-x.x.x</userinput>
 
4626
<prompt>$</prompt> <userinput><command>mkdir</command> build</userinput>
 
4627
</screen> (The build directory can have any name you want.)</para></listitem>
 
4628
<listitem><para>Change into the build directory: <screen><prompt>$</prompt> <userinput><command>cd</command> build</userinput></screen></para></listitem>
 
4629
<listitem><para>Configure the source code with at least the following command: 
 
4630
<screen><prompt>$</prompt> <userinput><command>cmake</command> -DCMAKE_INSTALL_PREFIX=`<command>kde4-config</command> --prefix` -DCMAKE_BUILD_TYPE=Release ..</userinput></screen> 
 
4631
If you also want to install &smb4k;'s core header files, add the <option>-DINSTALL_HEADER_FILES=true</option> to the command line. Several more options can be added. Read the <ulink url="http://www.cmake.org/HTML/Documentation.html">cmake documentation</ulink> for more information.</para></listitem>
 
4632
<listitem><para>Compile the source code: <screen><prompt>$</prompt> <userinput><command>make</command></userinput></screen></para></listitem>
 
4633
<listitem><para>Install the application. Run <screen><prompt>$</prompt> <userinput><command>sudo</command> <command>make</command> install</userinput></screen> in the <filename class="directory">build</filename> directory. If you want to be able to remove &smb4k; with your package manager, install the <application>checkinstall</application> package and run <screen><prompt>$</prompt> <userinput><command>sudo</command> <command>checkinstall</command></userinput></screen> instead.</para></listitem>
 
4634
</orderedlist>
 
4635
</sect1>
 
4636
 
 
4637
<sect1 id="appendix_debugging">
 
4638
<title>Debugging the Source Code</title>
 
4639
<para>If you experience crashes or similar and want to debug the source code yourself, compile it with debugging symbols. The procedure is similar to the one described in the <link linkend="appendix_compilation">Compilation and Installation</link> section except that you need to modify the cmake command slightly:</para>
 
4640
<screen><prompt>$</prompt> <userinput><command>cmake</command> -DCMAKE_INSTALL_PREFIX=`<command>kde4-config</command> --prefix` -DCMAKE_BUILD_TYPE=Debug ..</userinput></screen>
 
4641
<para>Now compile and install the program as stated <link linkend="appendix_compilation">before</link>. If you do not want to
 
4642
install but only debug the newly compiled program, you may execute &smb4k; from
 
4643
within the source code directory. Change into the <filename role="directory">smb4k</filename> subdirectory and run:</para>
 
4644
<screen><prompt>$</prompt> <userinput><command>./smb4k</command> --nofork</userinput></screen>
 
4645
<para>If you found the cause for a bug, please let us know. A backtrace or a patch will be much appreciated.</para>
 
4646
</sect1>
 
4647
</appendix>
 
4648
 
 
4649
</book>