Smb4K – Samba (SMB) share advanced browser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5300 lines
216 KiB

  1. <?xml version = '1.0'?>
  2. <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
  3. <!ENTITY smb4k "<application>Smb4K</application>">
  4. <!ENTITY kappname "&smb4k;"><!-- Do *not* replace kappname-->
  5. <!ENTITY package "kde-module"><!-- tdebase, tdeadmin, etc -->
  6. <!ENTITY % addindex "IGNORE">
  7. <!ENTITY % English "INCLUDE"><!-- change language only here -->
  8. ]>
  9. <book lang="&language;" >
  10. <bookinfo>
  11. <title>The &smb4k; Handbook</title>
  12. <authorgroup>
  13. <author>
  14. <firstname>Alexander</firstname>
  15. <othername/>
  16. <surname>Reinholdt</surname>
  17. <affiliation>
  18. <address>
  19. <email>dustpuppy AT</email>
  20. </address>
  21. </affiliation>
  22. </author>
  23. </authorgroup>
  25. <copyright>
  26. <year>2005-2007</year>
  27. <holder>Alexander Reinholdt</holder>
  28. </copyright>
  29. <legalnotice>
  30. <para>This program is free software; you can redistribute it and/or
  31. modify it under the terms of the GNU General Public License as
  32. published by the Free Software Foundation; either version 2 of the
  33. License, or (at your option) any later version.</para>
  34. <para>This program is distributed in the hope that it will be
  35. useful, but WITHOUT ANY WARRANTY; without even the implied warranty
  37. General Public License for more details.</para>
  38. <para>You should have received a copy of the GNU General Public
  39. License along with this program; if not, write to the Free Software
  40. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  41. </para>
  42. </legalnotice>
  43. <date>2008-01-17</date>
  44. <releaseinfo>1.2.1</releaseinfo>
  45. <abstract>
  46. <para>&smb4k; is an advanced network neighborhood browser and a front end to the programs of the Samba software suite.</para>
  47. </abstract>
  48. <keywordset>
  49. <keyword>KDE</keyword>
  50. <keyword>Smb4K</keyword>
  51. <keyword>Samba</keyword>
  52. </keywordset>
  53. </bookinfo>
  54. <!-- Introduction -->
  55. <chapter id="introduction" >
  56. <title>Introduction</title>
  57. <para>This handbook describes &smb4k; 0.9.x and to some extent earlier versions.</para>
  58. <para>&smb4k; is an advanced network neighborhood browser and a front end to the programs of the <ulink url="">Samba software suite</ulink>. It provides many handy features that ease your life in a mostly Windows-dominated network environment:</para>
  59. <itemizedlist>
  60. <listitem><para>Scanning for (active) workgroups, hosts, and shares</para></listitem>
  61. <listitem><para>Mounting and unmounting of shares, including unmounting all shares at once</para></listitem>
  62. <listitem><para>Support of the CIFS and SMBFS file system for mounting</para></listitem>
  63. <listitem><para>Access to the files of a mounted share with either &konqueror; or &konsole;</para></listitem>
  64. <listitem><para>Auto-detection of external mounts and unmounts</para></listitem>
  65. <listitem><para>Remounting of previously used shares on program start-up</para></listitem>
  66. <listitem><para>Miscellaneous infos about the remote network items and the mounted shares</para></listitem>
  67. <listitem><para>Network search</para></listitem>
  68. <listitem><para>WINS server support</para></listitem>
  69. <listitem><para>Preview of shares</para></listitem>
  70. <listitem><para>Selectable look-up and search methods</para></listitem>
  71. <listitem><para>Default login</para></listitem>
  72. <listitem><para>Ability to execute mount and umount SUID root (using super or sudo)</para></listitem>
  73. <listitem><para>Special handling of homes shares</para></listitem>
  74. <listitem><para>Ability to bookmark favorite shares</para></listitem>
  75. <listitem><para>System tray widget</para></listitem>
  76. <listitem><para>Support of advanced Samba options</para></listitem>
  77. <listitem><para>Support of printer shares</para></listitem>
  78. <listitem><para>Konqueror plugin</para></listitem>
  79. <listitem><para>TDEWallet support</para></listitem>
  80. <listitem><para>Synchronization of a remote share with a local copy and vice versa</para></listitem>
  81. <listitem><para>Ability to define custom options for each and every share or server</para></listitem>
  82. </itemizedlist>
  83. <para>If you encounter problems or bugs while using &smb4k;, please read the <link linkend="trouble_shooting" >Trouble Shooting</link> section of this handbook first. If you cannot find your problem described there, please ask for help on our <ulink url="">Smb4K-general mailing list</ulink> or go to our <ulink url="">bug tracker</ulink> and report it.</para>
  84. </chapter>
  85. <!-- Using Smb4K -->
  86. <chapter id="using_smb4k" >
  87. <title>Using &smb4k;</title>
  88. <sect1 id="running_smb4k" >
  89. <title>Running &smb4k;</title>
  90. <para>After the installation, you can run &smb4k; either from the TDE menu or from the command prompt by typing</para>
  91. <screen><prompt>$</prompt> <userinput><command>smb4k</command> &amp;</userinput></screen>
  92. <para>&smb4k; does not take any arguments, except those that are known to all &kde; programs.</para>
  93. <para>During start-up, &smb4k; checks for all programs that are mandatorily needed to run the application. If some of them are missing or if the <envar>PATH</envar> environment variable is not set properly, &smb4k; shows an error message and exits.</para>
  94. <screenshot>
  95. <screeninfo>Error dialog listing the missing programs</screeninfo>
  96. <mediaobject>
  97. <imageobject>
  98. <imagedata fileref="error_programs_missing.png" format="PNG" />
  99. </imageobject>
  100. <textobject>
  101. <phrase>Error dialog that lists the missing programs</phrase>
  102. </textobject>
  103. </mediaobject>
  104. </screenshot>
  105. <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.</para>
  106. <para>If all programs have been found, the main window and the system tray widget will be shown and you can start working with &smb4k;.</para>
  107. <para><emphasis role="bold">Note:</emphasis> 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>
  108. <para>Starting with version 0.9.0, &smb4k; uses the TDEConfig XT configuration system. All previously defined settings are obsolete. To assure a clean transition the old configuration file <filename>$HOME/.trinity/share/config/smb4krc</filename> will be removed the first time you start the new version of &smb4k;. A message box will warn you before the file is actually removed:</para>
  109. <screenshot>
  110. <screeninfo>Warning message box</screeninfo>
  111. <mediaobject>
  112. <imageobject>
  113. <imagedata fileref="dialog_config_file_removal.png" format="PNG" />
  114. </imageobject>
  115. <textobject>
  116. <phrase>The warning message box</phrase>
  117. </textobject>
  118. </mediaobject>
  119. </screenshot>
  120. <para>If you plan to revert to a version &lt; 0.9.0, you should cancel the removal and backup the old configuration file.</para>
  121. </sect1>
  122. <sect1 id="mainwindow_overview">
  123. <title>Overview</title>
  124. <para>In the default configuration, the main window of &smb4k; looks like shown in the figure below: It is devided into two sections, the tab widget (3) on the left hand side, that contains the network browser and the search dialog, and the shares view (4) on the right hand side. Above them the menu bar (1) and tool bars (2) are located. Below them you find the status bar (5).</para>
  125. <screenshot id="mainwindow_overview_screenshot">
  126. <screeninfo>Screenshot of the main window</screeninfo>
  127. <mediaobject>
  128. <imageobject>
  129. <imagedata fileref="main_window.png" format="PNG" />
  130. </imageobject>
  131. <textobject>
  132. <phrase>The main window</phrase>
  133. </textobject>
  134. </mediaobject>
  135. </screenshot>
  136. <para>The menu bar and tool bars contain all actions that are needed to interact with the network and the mounted shares. They are listed below. Please have a look at the sections dicussing the popup menus of the <link linkend="mainwindow_network_menu">network browser</link> and the <link linkend="mainwindow_shares_menu">shares view</link> for additional information and some important warnings.</para>
  137. <para>Menu items in the main window:
  138. <simplelist type='horiz' columns='2'>
  139. <member>
  140. <guiicon>
  141. <inlinemediaobject>
  142. <imageobject>
  143. <imagedata fileref="action_rescan.png" format="PNG"/>
  144. </imageobject>
  145. <textobject>
  146. <phrase>Rescan action</phrase>
  147. </textobject>
  148. </inlinemediaobject>
  149. </guiicon>
  150. </member>
  151. <member>
  152. Start a rescan of the entire network neighborhood. This action is enabled by default and will be disabled if a network scan is running. Please note that its behavior is slightly different from the one of the rescan action found in the <link linkend="mainwindow_network_menu">popup menu of the network browser</link>.
  153. </member>
  154. <member>
  155. <guiicon>
  156. <inlinemediaobject>
  157. <imageobject>
  158. <imagedata fileref="action_abort.png" format="PNG"/>
  159. </imageobject>
  160. <textobject>
  161. <phrase>Abort action</phrase>
  162. </textobject>
  163. </inlinemediaobject>
  164. </guiicon>
  165. </member>
  166. <member id="mainwindow_overview_abort">
  167. Stop any action performed by the network browser. This button is disabled by default and will only be enabled if a network scan is running or a share is being mounted.
  168. </member>
  169. <member>
  170. <guiicon>
  171. <inlinemediaobject>
  172. <imageobject>
  173. <imagedata fileref="action_manual_mount.png" format="PNG"/>
  174. </imageobject>
  175. <textobject>
  176. <phrase>Manual mount action</phrase>
  177. </textobject>
  178. </inlinemediaobject>
  179. </guiicon>
  180. </member>
  181. <member>
  182. Open the <link linkend="mainwindow_network_mounting">dialog</link> for mounting shares manually. This feature may be needed if &smb4k; could not find a server from which you want to mount a certain shared resource.
  183. </member>
  184. <member>
  185. <guiicon>
  186. <inlinemediaobject>
  187. <imageobject>
  188. <imagedata fileref="action_authentication.png" format="PNG"/>
  189. </imageobject>
  190. <textobject>
  191. <phrase>Authentication action</phrase>
  192. </textobject>
  193. </inlinemediaobject>
  194. </guiicon>
  195. </member>
  196. <member>
  197. Open the authentication dialog for the selected server or share. The button is disabled if a workgroup or no item is selected.
  198. </member>
  199. <member>
  200. <guiicon>
  201. <inlinemediaobject>
  202. <imageobject>
  203. <imagedata fileref="action_custom.png" format="PNG"/>
  204. </imageobject>
  205. <textobject>
  206. <phrase>Custom options action</phrase>
  207. </textobject>
  208. </inlinemediaobject>
  209. </guiicon>
  210. </member>
  211. <member>
  212. Open the <link linkend="mainwindow_network_custom">Custom Options</link> dialog for a selected server or share. The button is disabled if a workgroup or no item is selected.
  213. </member>
  214. <member>
  215. <guiicon>
  216. <inlinemediaobject>
  217. <imageobject>
  218. <imagedata fileref="action_preview.png" format="PNG"/>
  219. </imageobject>
  220. <textobject>
  221. <phrase>Preview action</phrase>
  222. </textobject>
  223. </inlinemediaobject>
  224. </guiicon>
  225. </member>
  226. <member>
  227. Open the <link linkend="mainwindow_network_preview">preview dialog</link>. It is only enabled if a share is selected. Printer shares cannot be previewed.
  228. </member>
  229. <member>
  230. <guiicon>
  231. <inlinemediaobject>
  232. <imageobject>
  233. <imagedata fileref="action_print.png" format="PNG"/>
  234. </imageobject>
  235. <textobject>
  236. <phrase>Print file action</phrase>
  237. </textobject>
  238. </inlinemediaobject>
  239. </guiicon>
  240. </member>
  241. <member>
  242. Open the <link linkend="mainwindow_network_printing">print dialog</link>. It is only enabled if a printer share is selected.
  243. </member>
  244. <member>
  245. <guiicon>
  246. <inlinemediaobject>
  247. <imageobject>
  248. <imagedata fileref="action_mount.png" format="PNG"/>
  249. </imageobject>
  250. <textobject>
  251. <phrase>Mount action</phrase>
  252. </textobject>
  253. </inlinemediaobject>
  254. </guiicon>
  255. </member>
  256. <member>
  257. Mount the selected share. By default and if a workgroup or server is selected, the button is disabled.
  258. </member>
  259. <member>
  260. <guiicon>
  261. <inlinemediaobject>
  262. <imageobject>
  263. <imagedata fileref="action_unmount.png" format="PNG"/>
  264. </imageobject>
  265. <textobject>
  266. <phrase>Unmount action</phrase>
  267. </textobject>
  268. </inlinemediaobject>
  269. </guiicon>
  270. </member>
  271. <member>
  272. <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.
  273. </member>
  274. <member>
  275. <guiicon>
  276. <inlinemediaobject>
  277. <imageobject>
  278. <imagedata fileref="action_force_unmount.png" format="PNG"/>
  279. </imageobject>
  280. <textobject>
  281. <phrase>Force unmount action</phrase>
  282. </textobject>
  283. </inlinemediaobject>
  284. </guiicon>
  285. </member>
  286. <member>
  287. <link linkend="mainwindow_shares_unmounting">Force the unmounting</link> of a share. This feature is disable by default and you have to enable it in the <link linkend="configuration_superuser_actions">configuration dialog</link>. Since you can also force the unmounting of shares owned by other users, you have to be EXTREMELY CAUTIOUS when using it.
  288. </member>
  289. <member>
  290. <guiicon>
  291. <inlinemediaobject>
  292. <imageobject>
  293. <imagedata fileref="action_unmount_all.png" format="PNG"/>
  294. </imageobject>
  295. <textobject>
  296. <phrase>Unmount all action</phrase>
  297. </textobject>
  298. </inlinemediaobject>
  299. </guiicon>
  300. </member>
  301. <member>
  302. <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.
  303. </member>
  304. <member>
  305. <guiicon>
  306. <inlinemediaobject>
  307. <imageobject>
  308. <imagedata fileref="action_synchronize.png" format="PNG"/>
  309. </imageobject>
  310. <textobject>
  311. <phrase>Synchronize action</phrase>
  312. </textobject>
  313. </inlinemediaobject>
  314. </guiicon>
  315. </member>
  316. <member>
  317. Initiate the <link linkend="mainwindow_shares_synchronization">synchronization</link> of the contents of a selected share.
  318. </member>
  319. <member>
  320. <guiicon>
  321. <inlinemediaobject>
  322. <imageobject>
  323. <imagedata fileref="action_konsole.png" format="PNG"/>
  324. </imageobject>
  325. <textobject>
  326. <phrase>Konsole action</phrase>
  327. </textobject>
  328. </inlinemediaobject>
  329. </guiicon>
  330. </member>
  331. <member>
  332. Open the contents of the selected share in &konsole;.
  333. </member>
  334. <member>
  335. <guiicon>
  336. <inlinemediaobject>
  337. <imageobject>
  338. <imagedata fileref="action_konqueror.png" format="PNG"/>
  339. </imageobject>
  340. <textobject>
  341. <phrase>Konqueror action</phrase>
  342. </textobject>
  343. </inlinemediaobject>
  344. </guiicon>
  345. </member>
  346. <member>
  347. Open the contents of the selected share in &konqueror;.
  348. </member>
  349. <member>
  350. <guiicon>
  351. <inlinemediaobject>
  352. <imageobject>
  353. <imagedata fileref="action_shares_views.png" format="PNG"/>
  354. </imageobject>
  355. <textobject>
  356. <phrase>Shares views action</phrase>
  357. </textobject>
  358. </inlinemediaobject>
  359. </guiicon>
  360. </member>
  361. <member>
  362. Choose which <link linkend="mainwindow_shares">shares view</link> you want to use. An icon view and a list view are available.
  363. </member>
  364. <member>
  365. <guiicon>
  366. <inlinemediaobject>
  367. <imageobject>
  368. <imagedata fileref="action_configuration.png" format="PNG"/>
  369. </imageobject>
  370. <textobject>
  371. <phrase>Configure Smb4K action</phrase>
  372. </textobject>
  373. </inlinemediaobject>
  374. </guiicon>
  375. </member>
  376. <member>
  377. Open the <link linkend="configuration">configuration dialog</link>.
  378. </member>
  379. <member>
  380. <guiicon>
  381. <inlinemediaobject>
  382. <imageobject>
  383. <imagedata fileref="action_quit.png" format="PNG"/>
  384. </imageobject>
  385. <textobject>
  386. <phrase>Quit action</phrase>
  387. </textobject>
  388. </inlinemediaobject>
  389. </guiicon>
  390. </member>
  391. <member>
  392. Quit &smb4k;.
  393. </member>
  394. </simplelist>
  395. </para>
  396. <para>These actions also appear in the popup menus of either the <link linkend="mainwindow_network_menu">network browser</link> or the <link linkend="mainwindow_shares_menu">shares view</link>.</para>
  397. <para>The status bar gives some information about the current status of &smb4k;. If the application is processing a user request (e.g. mounting a share), a descriptive message is displayed in the leftmost section and the progress bar next to the version information shows a busy indicator.</para>
  398. <para>The main window is highly configurable. You can hide/show the network browser and the search dialog by toggling the menu entries under <menuchoice><guimenu>Settings</guimenu><guimenuitem>Dock Widgets</guimenuitem></menuchoice>. Both widgets can also be dragged around with the mouse and docked to one of the corners of the main window. You can even detach them from the main window. The status bar and the tool bars can be hidden/shown by toggling the menu entry <menuchoice><guimenu>Settings</guimenu><guimenuitem>Hide Statusbar</guimenuitem></menuchoice> and the ones under <menuchoice><guimenu>Settings</guimenu><guimenuitem>Toolbars</guimenuitem></menuchoice>, respectively.</para>
  399. </sect1>
  400. <!-- The network browser -->
  401. <sect1 id="mainwindow_network">
  402. <title>The Network Browser</title>
  403. <para>The interaction with the network neighborhood is done with the network browser. By default, it is located in the tab widget on the right hand side of the main window (see '3' in <link linkend="mainwindow_overview_screenshot">this figure</link>). It contains all network items &#8212; i.e. workgroups, servers, and shares &#8212; &smb4k; was able to find. They are organized in a network tree, and you can navigate through it by clicking the [+] next to the item name or by executing the item itself.</para>
  404. <sect2 id="mainwindow_network_scanning">
  405. <title>Browsing</title>
  406. <para>&smb4k; automatically scans the network neighborhood for active workgroups and domains on start-up and presents them in the network 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>
  407. <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>
  408. <para><emphasis role="bold">Note:</emphasis> Under normal circumstances you shouldn't have any trouble browsing the network neighborhood. In case you experience problems, please read the <link linkend="trouble_shooting_browsing">Trouble Shooting</link> section before thinking about <ulink url="">reporting a bug</ulink>. It lists some common problems and their solutions.</para>
  409. </sect2>
  410. <sect2 id="mainwindow_network_menu">
  411. <title>Popup Menu</title>
  412. <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 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>
  413. <screenshot>
  414. <screeninfo>Screenshot of the popup menu of the network browser</screeninfo>
  415. <mediaobject>
  416. <imageobject>
  417. <imagedata fileref="popup_menu_browser.png" format="PNG" />
  418. </imageobject>
  419. <textobject>
  420. <phrase>The popup menu of the network browser</phrase>
  421. </textobject>
  422. </mediaobject>
  423. </screenshot>
  424. <para>The title of the popup menu is set to the name of the network item or displays <emphasis role="bold">Network</emphasis> if you clicked on the viewport.</para>
  425. <para>The following menu entries (actions) are available:</para>
  426. <variablelist>
  427. <varlistentry>
  428. <term>
  429. <menuchoice>
  430. <shortcut>
  431. <keycombo action="simul">
  432. &Ctrl; <keycap>R</keycap>
  433. </keycombo>
  434. </shortcut>
  435. <guimenuitem>Scan Network|Workgroup|Computer</guimenuitem>
  436. </menuchoice>
  437. </term>
  438. <listitem>
  439. <para>
  440. Scan the whole network neighborhood, a workgroup/domain, or a server. For your convenience, new network items will be added and obsolete ones removed without closing the network tree.</para>
  441. </listitem>
  442. </varlistentry>
  443. <varlistentry>
  444. <term>
  445. <menuchoice>
  446. <shortcut>
  447. <keycombo action="simul">
  448. &Ctrl; <keycap>A</keycap>
  449. </keycombo>
  450. </shortcut>
  451. <guimenuitem>Abort</guimenuitem>
  452. </menuchoice>
  453. </term>
  454. <listitem>
  455. <para>Abort any running process that is network related. The entry is only enabled if &smb4k; is busy. Please note that this <guimenuitem>Abort</guimenuitem> action has a limited functionality compared to the one found in the <link linkend="mainwindow_overview">menu and tool bar</link> that aborts all running processes at once.</para>
  456. </listitem>
  457. </varlistentry>
  458. <varlistentry>
  459. <term>
  460. <menuchoice>
  461. <shortcut>
  462. <keycombo action="simul">
  463. &Ctrl; <keycap>O</keycap>
  464. </keycombo>
  465. </shortcut>
  466. <guimenuitem>Mount Manually</guimenuitem>
  467. </menuchoice>
  468. </term>
  469. <listitem>
  470. <para>The <link linkend="mainwindow_network_mounting">mount dialog</link> is opened. You can enter the name, IP address, and workgroup/domain of a share you want to mount manually. This feature comes in handy if the server where the share is located could not be found automatically.</para>
  471. </listitem>
  472. </varlistentry>
  473. <varlistentry>
  474. <term>
  475. <menuchoice>
  476. <shortcut>
  477. <keycombo action="simul">
  478. &Ctrl; <keycap>T</keycap>
  479. </keycombo>
  480. </shortcut>
  481. <guimenuitem>Authentication</guimenuitem>
  482. </menuchoice>
  483. </term>
  484. <listitem>
  485. <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>
  486. </listitem>
  487. </varlistentry>
  488. <varlistentry>
  489. <term>
  490. <menuchoice>
  491. <shortcut>
  492. <keycombo action="simul">
  493. &Ctrl; <keycap>C</keycap>
  494. </keycombo>
  495. </shortcut>
  496. <guimenuitem>Custom Options</guimenuitem>
  497. </menuchoice>
  498. </term>
  499. <listitem>
  500. <para>The <link linkend="mainwindow_network_custom">Custom Options</link> dialog is opened. You can set several custom options for the selected server or remote share. If no item or a workgroup is selected, this menu entry is disabled.</para>
  501. </listitem>
  502. </varlistentry>
  503. <varlistentry>
  504. <term>
  505. <menuchoice>
  506. <shortcut>
  507. <keycombo action="simul">
  508. &Ctrl; <keycap>B</keycap>
  509. </keycombo>
  510. </shortcut>
  511. <guimenuitem>Add Bookmark</guimenuitem>
  512. </menuchoice>
  513. </term>
  514. <listitem>
  515. <para>Add a <link linkend="mainwindow_bookmarks">bookmark</link>. This menu entry is only available if a remote share is selected.</para>
  516. </listitem>
  517. </varlistentry>
  518. <varlistentry>
  519. <term>
  520. <menuchoice>
  521. <shortcut>
  522. <keycombo action="simul">
  523. &Ctrl; <keycap>V</keycap>
  524. </keycombo>
  525. </shortcut>
  526. <guimenuitem>Preview</guimenuitem>
  527. </menuchoice>
  528. </term>
  529. <listitem>
  530. <para><link linkend="mainwindow_network_preview">Preview</link> the contents of the selected remote share.</para>
  531. </listitem>
  532. </varlistentry>
  533. <varlistentry>
  534. <term>
  535. <menuchoice>
  536. <shortcut>
  537. <keycombo action="simul">
  538. &Ctrl; <keycap>P</keycap>
  539. </keycombo>
  540. </shortcut>
  541. <guimenuitem>Print File</guimenuitem>
  542. </menuchoice>
  543. </term>
  544. <listitem>
  545. <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>
  546. </listitem>
  547. </varlistentry>
  548. <varlistentry>
  549. <term>
  550. <menuchoice>
  551. <shortcut>
  552. <keycombo action="simul">
  553. &Ctrl; <keycap>M</keycap>
  554. </keycombo>
  555. </shortcut>
  556. <guimenuitem>Mount</guimenuitem>
  557. </menuchoice>
  558. </term>
  559. <listitem>
  560. <para>Mount the selected remote share. This menu entry is disabled if you click anything different than a share with type "Disk" or "IPC".</para>
  561. </listitem>
  562. </varlistentry>
  563. </variablelist>
  564. </sect2>
  565. <sect2 id="mainwindow_network_tooltips">
  566. <title>Tooltips</title>
  567. <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 (e.g. Samba).</para>
  568. <para>The tooltips can be disabled in the <link linkend="configuration_user_interface_network_tooltips">configuration dialog</link>.</para>
  569. </sect2>
  570. <sect2 id="mainwindow_network_mounting">
  571. <title>Mounting a Share</title>
  572. <para>There are three options available to mount a remote share:</para>
  573. <orderedlist>
  574. <listitem>
  575. <para>Execute the icon representing the remote share in the network browser. (Depending on your KDE settings, this is done by either single or double clicking the icon.)</para>
  576. </listitem>
  577. <listitem>
  578. <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>
  579. </listitem>
  580. <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>Mount Manually</guimenuitem></menuchoice> menu entry and a mount dialog will open:</para>
  581. <screenshot>
  582. <screeninfo>Screenshot of the "Mount Manually" dialog</screeninfo>
  583. <mediaobject>
  584. <imageobject>
  585. <imagedata fileref="dialog_manual_mount.png" format="PNG" />
  586. </imageobject>
  587. <textobject>
  588. <phrase>The "Mount Manually" dialog</phrase>
  589. </textobject>
  590. </mediaobject>
  591. </screenshot>
  592. <para>Here you <emphasis role="bold">must</emphasis> enter the share name in the form
  593. <screen>//SERVER/SHARE</screen>
  594. (<emphasis>This is also correct for FreeBSD users!</emphasis>). The <guibutton>OK</guibutton> button will be enabled and you can press it to mount the share. It is advisable, however, to enter the IP address and the workgroup of the server as well. 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>
  595. </listitem>
  596. </orderedlist>
  597. <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 and password. &smb4k; will proceed mounting the share unless a wrong user name or password was provided. In that case, the authentication dialog will reappear. If the mount process was successful, the share will appear in the <link linkend="mainwindow_shares">shares view</link>.</para>
  598. <para>Please note, that &smb4k; mounts the shares with the CIFS file system by default. If you need to use the old SMBFS file system, you can change the setting in the <link linkend="configuration_samba_mount_fs">configuration dialog</link>.</para>
  599. <para>If mounting fails, an error dialog will be shown with the error message that was returned either by <ulink url="man:/smbmount"><citerefentry><refentrytitle>smbmount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> or <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>. See the <link linkend="trouble_shooting_mounting_unmounting">Trouble Shooting</link> section for some of the most common errors and their possible solutions.</para>
  600. </sect2>
  601. <sect2 id="mainwindow_network_printing">
  602. <title>Printing Files on Remote Printers</title>
  603. <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>
  604. <screenshot>
  605. <screeninfo>Screenshot of the print dialog</screeninfo>
  606. <mediaobject>
  607. <imageobject>
  608. <imagedata fileref="dialog_print_file.png" format="PNG" />
  609. </imageobject>
  610. <textobject>
  611. <phrase>The print dialog</phrase>
  612. </textobject>
  613. </mediaobject>
  614. </screenshot>
  615. <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. The dialog will stay open until the print process ended.</para>
  616. <para>&smb4k; currently supports PDF, Postscript, image, DVI, and text files. While the first three formats will directly be sent to the printer, the latter two need conversion. If you installed the programs <ulink url="man:/dvips"><citerefentry><refentrytitle>dvips</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> and <ulink url="man:/enscript"><citerefentry><refentrytitle>enscript</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>, the DVI and text files will automatically be converted to Postscript before they are printed.</para>
  617. <para>If you try to print a file with an unsupported mimetype or if the appropriate conversion program is missing, an error message box will appear telling you the mimetype is not supported. In this case you have to convert the file manually to Postscript or PDF or install the needed conversion program.</para>
  618. </sect2>
  619. <sect2 id="mainwindow_network_preview">
  620. <title>Previewing Shares</title>
  621. <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>
  622. <screenshot>
  623. <screeninfo>Screenshot of the preview dialog</screeninfo>
  624. <mediaobject>
  625. <imageobject>
  626. <imagedata fileref="dialog_preview.png" format="PNG" />
  627. </imageobject>
  628. <textobject>
  629. <phrase>The preview dialog</phrase>
  630. </textobject>
  631. </mediaobject>
  632. </screenshot>
  633. <para>The preview dialog acts like a simple file manager. You can navigate through the contents of the remote share by clicking the directory icons in the list view, 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 directory.</para>
  634. <para> By default, the preview dialog only shows directories 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>
  635. </sect2>
  636. <sect2 id="mainwindow_network_authentication">
  637. <title>Providing Authentication Information</title>
  638. <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>
  639. <screenshot>
  640. <screeninfo>Screenshot of the authentication dialog</screeninfo>
  641. <mediaobject>
  642. <imageobject>
  643. <imagedata fileref="dialog_authentication.png" format="PNG" />
  644. </imageobject>
  645. <textobject>
  646. <phrase>The authentication dialog</phrase>
  647. </textobject>
  648. </mediaobject>
  649. </screenshot>
  650. <para>If the authentication dialog opens due to a failed attempt to access a server or share, you will be presented with the reason for the failure. Otherwise, you will only be asked to provide the authentication data for the selected network item.</para>
  651. <para>You have to enter the user name in the respective field. 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 login and password will be stored permanently, temporarily or not all. In the latter case you will have to provide them <emphasis>every time</emphasis> they are needed.</para>
  652. </sect2>
  653. <sect2 id="mainwindow_network_custom">
  654. <title>Defining Custom Options</title>
  655. <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>
  656. <screenshot>
  657. <screeninfo>Screenshot of the custom options dialog for a share</screeninfo>
  658. <mediaobject>
  659. <imageobject>
  660. <imagedata fileref="dialog_custom_options.png" format="PNG" />
  661. </imageobject>
  662. <textobject>
  663. <phrase>The custom options dialog</phrase>
  664. </textobject>
  665. </mediaobject>
  666. </screenshot>
  667. <para>Depending on your selection, the dialog will contain different entries. With servers the port, the protocol hint for the 'net' command, and the use of Kerberos can be set whereas with shares the port, the file system, the user ID, the group ID, the write access, and the use of Kerberos can be defined (see figure above). For detailed information on the individual settings, please see <link linkend="configuration_samba">here</link>.</para>
  668. <para>The <guibutton>Default</guibutton> button is enabled if the entries in the dialog deviate from the default options you defined in the configuration dialog. By clicking it, you can reset the settings in the dialog to the default. The <guibutton>OK</guibutton> button is enabled if you changed the settings in the dialog. Clicking it will commit the settings and close the dialog.</para>
  669. <para><emphasis role="bold">Note:</emphasis> Under FreeBSD, the dialog contains less entries than when you run a different operating system, because several of the options are not supported.</para>
  670. </sect2>
  671. <sect2 id="mainwindow_network_bookmark">
  672. <title>Adding Bookmarks</title>
  673. <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>
  674. <para>The bookmarks can be used to mount remote shares.</para>
  675. </sect2>
  676. </sect1>
  677. <!-- The search dialog -->
  678. <sect1 id="mainwindow_search">
  679. <title>The Search Dialog</title>
  680. <para>The <guilabel>Search Dialog</guilabel> is contained in the tab widget on the left hand side of the main window and can be opened by either clicking the tab or by pressing the <keycombo action="simul">&Ctrl; <keycap>2</keycap></keycombo> keyboard shortcut. It consists of the combo box where you can enter the server you are looking for, the <guibutton>Search</guibutton>, <guibutton>Clear</guibutton>, and <guibutton>Add</guibutton> button, and the list view where the results of the search are displayed.</para>
  681. <screenshot>
  682. <screeninfo>Screenshot of the search dialog</screeninfo>
  683. <mediaobject>
  684. <imageobject>
  685. <imagedata fileref="dialog_search.png" format="PNG" />
  686. </imageobject>
  687. <textobject>
  688. <phrase>The search dialog</phrase>
  689. </textobject>
  690. </mediaobject>
  691. </screenshot>
  692. <para>To search for a host, you enter its NetBIOS name or IP address (see restrictions below), and press the <guibutton>Search</guibutton> button. If the server could be found, it appears with its workgroup and optionally its IP address in the list view. In the case the server is already in the network browser, the icon is in addition equipped with a checkmark. If the search failed, an error message will be displayed in the list view.</para>
  693. <para>A server that is not already in the network browser can be added to it by clicking the <guibutton>Add</guibutton> button. It will then appear in its workgroup or domain. To remove the search results, click the <guibutton>Clear</guibutton> button.</para>
  694. <para>&smb4k; is using <ulink url="man:/nmblookup"><citerefentry><refentrytitle>nmblookup</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> by default for searching. It is very reliable and should work well under most circumstances. Special configurations of the network neighborhood, however, make it sometimes necessary to use <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to look up servers. You can switch programs in the configuration dialog. Read the <link linkend="configuration_network">The Network Tab</link> section to find out more.</para>
  695. <para><emphasis role="bold">Restrictions:</emphasis> <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> cannot handle IP addresses correctly. Thus, if you are using this search method, you are restricted to the NetBIOS name. If you try to use an IP address, you will get an error message.</para>
  696. </sect1>
  697. <!-- The shares view -->
  698. <sect1 id="mainwindow_shares">
  699. <title>The Shares View</title>
  700. <para>In the shares view, you can interact with the mounted shares on your system.</para>
  701. <sect2 id="mainwindow_shares_views">
  702. <title>Different Views</title>
  703. <para>&smb4k; comes with two alternative views: the icon view (1) and the list view (2).</para>
  704. <screenshot>
  705. <screeninfo>Screenshot of the shares icon view</screeninfo>
  706. <mediaobject>
  707. <imageobject>
  708. <imagedata fileref="shares_views.png" format="PNG" />
  709. </imageobject>
  710. <textobject>
  711. <phrase>The shares icon view</phrase>
  712. </textobject>
  713. </mediaobject>
  714. </screenshot>
  715. <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 remote disk usage. More information can be included by adjusting the <link linkend="configuration_user_interface_shares_list_view">settings</link>.</para>
  716. <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_mw_and_st_shares_view">configuration dialog</link>.</para>
  717. <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>
  718. </sect2>
  719. <sect2 id="mainwindow_shares_menu">
  720. <title>Popup Menu</title>
  721. <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>
  722. <screenshot>
  723. <screeninfo>Screenshot of the popup menu of the shares view</screeninfo>
  724. <mediaobject>
  725. <imageobject>
  726. <imagedata fileref="popup_menu_shares_view.png" format="PNG" />
  727. </imageobject>
  728. <textobject>
  729. <phrase>The popup menu of the shares view</phrase>
  730. </textobject>
  731. </mediaobject>
  732. </screenshot>
  733. <para>The actions accessible through the popup menu are:</para>
  734. <variablelist>
  735. <varlistentry>
  736. <term>
  737. <menuchoice>
  738. <shortcut>
  739. <keycombo action="simul">
  740. &Ctrl; <keycap>U</keycap>
  741. </keycombo>
  742. </shortcut>
  743. <guimenuitem>Unmount</guimenuitem>
  744. </menuchoice>
  745. </term>
  746. <listitem>
  747. <para>Unmount the selected share. By default, the ability to unmount a share is restricted to the ones that are owned by you. This behavior may be altered in the <link linkend="configuration_shares">configuration dialog</link>.</para>
  748. <para><emphasis role="bold">Warning:</emphasis> Please be EXTREMELY CAUTIOUS if you decide to enable the ability to unmount shares owned by other users!</para>
  749. </listitem>
  750. </varlistentry>
  751. <varlistentry>
  752. <term>
  753. <menuchoice>
  754. <shortcut>
  755. <keycombo action="simul">
  756. &Ctrl; <keycap>F</keycap>
  757. </keycombo>
  758. </shortcut>
  759. <guimenuitem>Force Unmounting</guimenuitem>
  760. </menuchoice>
  761. </term>
  762. <listitem>
  763. <para>Perform a <ulink url="man:/umount">lazy unmount</ulink> on a share. This menu item is <emphasis role="bold">only available under Linux</emphasis> and should only be used if a share became inaccessible and could not be unmounted by the <guilabel>Unmount</guilabel> action. To take advantage of it, you have to enable the respective option in the <link linkend="configuration_superuser">configuration dialog</link> first.</para>
  764. <para>Before a share is actually unmounted, a dialog will appear asking you to confirm the action:</para>
  765. <screenshot>
  766. <screeninfo>Screenshot of the dialog asking for confirmation if you want to force the unmounting of a share</screeninfo>
  767. <mediaobject>
  768. <imageobject>
  769. <imagedata fileref="dialog_question_force_unmounting.png" format="PNG" />
  770. </imageobject>
  771. <textobject>
  772. <phrase>The dialog asking for confirmation if you want to force the unmounting of a share</phrase>
  773. </textobject>
  774. </mediaobject>
  775. </screenshot>
  776. <para>If you click the <guibutton>Yes</guibutton> button, the unmount will be carried out. The dialog can be disabled by checking the <guibutton>Do not ask again</guibutton> check box. The unmount will then be performed immediately and without confirmation.</para>
  777. <para><emphasis role="bold">Warning:</emphasis> Think twice before using this option!</para>
  778. </listitem>
  779. </varlistentry>
  780. <varlistentry>
  781. <term>
  782. <menuchoice>
  783. <shortcut>
  784. <keycombo action="simul">
  785. &Ctrl; <keycap>N</keycap>
  786. </keycombo>
  787. </shortcut>
  788. <guimenuitem>Unmount All</guimenuitem>
  789. </menuchoice>
  790. </term>
  791. <listitem>
  792. <para>Unmount all mounted shares at once. By default, only your own shares will be unmounted. But you can enable the ability to unmount all shares that are mounted on the system in the <link linkend="configuration_shares_mounting">configuration dialog</link>.</para>
  793. <para><emphasis role="bold">Warning:</emphasis> Please be EXTREMELY CAUTIOUS if you decide to enable the ability to unmount shares owned by other users!</para>
  794. </listitem>
  795. </varlistentry>
  796. <varlistentry>
  797. <term>
  798. <menuchoice>
  799. <shortcut>
  800. <keycombo action="simul">
  801. &Ctrl; <keycap>Y</keycap>
  802. </keycombo>
  803. </shortcut>
  804. <guimenuitem>Synchronize</guimenuitem>
  805. </menuchoice>
  806. </term>
  807. <listitem>
  808. <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>
  809. </listitem>
  810. </varlistentry>
  811. <varlistentry>
  812. <term>
  813. <menuchoice>
  814. <shortcut>
  815. <keycombo action="simul">
  816. &Ctrl; <keycap>L</keycap>
  817. </keycombo>
  818. </shortcut>
  819. <guimenuitem>Open with Konsole</guimenuitem>
  820. </menuchoice>
  821. </term>
  822. <listitem>
  823. <para>Open the base directory of a share in &konsole;. This menu item is useful if you need to run shell scripts, etc.</para>
  824. </listitem>
  825. </varlistentry>
  826. <varlistentry>
  827. <term>
  828. <menuchoice>
  829. <shortcut>
  830. <keycombo action="simul">
  831. &Ctrl; <keycap>K</keycap>
  832. </keycombo>
  833. </shortcut>
  834. <guimenuitem>Open with Konqueror</guimenuitem>
  835. </menuchoice>
  836. </term>
  837. <listitem>
  838. <para>Open the contents of a share in Konqueror.</para>
  839. </listitem>
  840. </varlistentry>
  841. </variablelist>
  842. </sect2>
  843. <sect2 id="mainwindow_shares_tooltips">
  844. <title>Tooltips</title>
  845. <para>The tooltips provide information about the share name, the mount point, the login (CIFS file system) or the user and group (SMBFS file system), the file system, the disk usage, and the free disk space. If the share is inaccessible, this will be indicated in the tooltip.</para>
  846. <para>Tooltips are enabled by default. You can deactivate them in the <link linkend="configuration_user_interface_shares_tooltips">configuration dialog</link>.</para>
  847. </sect2>
  848. <sect2 id="mainwindow_shares_inaccessible">
  849. <title>Inaccessible Shares</title>
  850. <para>&smb4k; checks all mounted CIFS and SMBFS shares whether they are still accessible. If an inaccessible share is encountered, it will be marked with a <link linkend="mainwindow_shares_icons">modified icon</link> and you won't be able to open or synchronize it anymore. Unmounting will still be possible.</para>
  851. <para><emphasis role="bold">Note:</emphasis> The program may freeze for a short period and will recover afterwards. With the CIFS file system, the freeze will only take a few seconds even with many shares that went offline at once. If you are using SMBFS, this might take up to a few minutes.</para>
  852. </sect2>
  853. <sect2 id="mainwindow_shares_icons">
  854. <title>Icons</title>
  855. <para>The shares views know three different icons that may be presented to the user:</para>
  856. <screenshot>
  857. <screeninfo>Screenshot of three different icons</screeninfo>
  858. <mediaobject>
  859. <imageobject>
  860. <imagedata fileref="shares_view_icons.png" format="PNG" />
  861. </imageobject>
  862. <textobject>
  863. <phrase>Three different icons</phrase>
  864. </textobject>
  865. </mediaobject>
  866. </screenshot>
  867. <para>The icon marked 'A' tells the user that this share is not accessible. &smb4k; won't allow you to open it or to do synchronization with it. You will only be able to unmount it.</para>
  868. <para>All shares that look like 'B' 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>.</para>
  869. <para>Finally, the icon marked 'C' indicates that the share is online, accessible, and owned by you. You may perform all available actions on it.</para>
  870. </sect2>
  871. <sect2 id="mainwindow_shares_dnd">
  872. <title>Drag-and-Drop</title>
  873. <para>&smb4k; supports drag-and-drop in the shares views since version 0.8.0. However, these features are turned off by default, because they have some issues (see below). You can enable drag-and-drop support in the <link linkend="configuration_user_interface_shares_dragndrop">configuration dialog</link>.</para>
  874. <formalpara><title>Enabled drag support</title>
  875. <para>You can drag a share icon from within the shares view onto the desktop or into another application (e.g. &konqueror;) and drop it there. You will then maybe get a popup menu asking you whether you want to copy, link or move the contents of the share. This is a KDE feature and cannot be switched off. <emphasis>Never choose to move the data, because this will move it from the remote share to your hard drive!</emphasis> Also linking is not a good idea, because after unmounting the mount point will be gone. It is, thus, strongly recommended to always choose to copy the data. Please note, that the popup menu can be avoided if you hold down the <keycap>CTRL</keycap> key while you are dragging and dropping the item.</para>
  876. </formalpara>
  877. <formalpara><title>Enabled drop support</title>
  878. <para>You can drag files or directories from outside of &smb4k; over a share icon and drop them there. There are no pitfalls that you need to be aware of. However, the data you dropped will always only be copied and never moved. So if you want the data to be removed from your hard drive after the transfer, you have to delete it manually.</para>
  879. </formalpara>
  880. </sect2>
  881. <sect2 id="mainwindow_shares_unmounting">
  882. <title>Unmounting Shares</title>
  883. <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. In most cases, this will work smoothly and without problems. However, if you try to unmount a foreign share (i.e. one that is owned by another user) or one that went offline, unmounting can fail. In the latter case, you should consider to force the unmounting by clicking the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>F</keycap></keycombo></shortcut><guimenuitem>Force Unmounting</guimenuitem></menuchoice> menu entry (only available under Linux). If it is not enabled, you can switch this feature on in the <link linkend="configuration_superuser">configuration dialog</link>. A lazy unmount will then be performed and the share will definitely get unmounted.</para>
  884. <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 offline shares.</para>
  885. <para><emphasis role="bold">Note:</emphasis> The mounting of shares is described <link linkend="mainwindow_network_mounting">here</link>.</para>
  886. </sect2>
  887. <sect2 id="mainwindow_shares_synchronization">
  888. <title>Sychronization</title>
  889. <para>The <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>Y</keycap></keycombo></shortcut><guimenuitem>Synchronize</guimenuitem></menuchoice> menu item will open the synchronization dialog. It will offer you the mount point of the share as source and the <link linkend="configuration_sync_copying_defdest">rsync prefix</link> as destination. In most cases, you may at least want to edit the destination to point to the right location. If you want to update the data on the share, you can also swap the destination with the source by clicking the <guibutton>Swap Paths</guibutton> button.</para>
  890. <screenshot>
  891. <screeninfo>Screenshot of the synchronization dialog (input)</screeninfo>
  892. <mediaobject>
  893. <imageobject>
  894. <imagedata fileref="dialog_synchronization_input.png" format="PNG" />
  895. </imageobject>
  896. <textobject>
  897. <phrase>URL requester for sync'ing</phrase>
  898. </textobject>
  899. </mediaobject>
  900. </screenshot>
  901. <para>Clicking the <guibutton>Synchronize</guibutton> button starts the synchronization. The input widgets as well as the <guibutton>Swap Paths</guibutton> and <guibutton>Synchronize</guibutton> buttons are disabled now. The progress of the synchronization can be observed in the dialog:</para>
  902. <screenshot>
  903. <screeninfo>Screenshot of the synchronization dialog (progress)</screeninfo>
  904. <mediaobject>
  905. <imageobject>
  906. <imagedata fileref="dialog_synchronization_progress.png" format="PNG" />
  907. </imageobject>
  908. <textobject>
  909. <phrase>Progress dialog</phrase>
  910. </textobject>
  911. </mediaobject>
  912. </screenshot>
  913. <para>Besides the name of the file that is currently trensferred, the progress of the current transfer, the overall progress, the number of copied files and the transfer rate are displayed. The total number of files that is shown with the <guilabel>Files transferred</guilabel> entry corresponds to the number of files present on the share and not to the total number of files that will be transferred.</para>
  914. <para>The synchronization can the canceled at any time by clicking the <guibutton>Cancel</guibutton> button.</para>
  915. </sect2>
  916. <sect2 id="mainwindow_shares_konqueror">
  917. <title>Opening a Share</title>
  918. <para>&smb4k; provides two possibilities to open a mounted share:</para>
  919. <itemizedlist>
  920. <listitem><formalpara><title>Open a share with &konsole;</title>
  921. <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>
  922. </formalpara></listitem>
  923. <listitem><formalpara><title>Open a share with &konqueror;</title>
  924. <para>You can open the share in &konqueror; by clicking the share icon or selecting the <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>K</keycap></keycombo></shortcut><guimenuitem>Open with Konqueror</guimenuitem></menuchoice> menu item.</para>
  925. </formalpara></listitem>
  926. </itemizedlist>
  927. <para><emphasis role="bold">Note:</emphasis> If a share is marked as inaccessible, it cannot be opened.</para>
  928. </sect2>
  929. </sect1>
  930. <!-- Bookmarks -->
  931. <sect1 id="mainwindow_bookmarks">
  932. <title>Handling Bookmarks</title>
  933. <para>You can add a bookmark to your favorite shares by selecting it in the <link linkend="mainwindow_network">network browser</link> and clicking the <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>B</keycap></keycombo></shortcut><guimenuitem>Add Bookmark</guimenuitem></menuchoice> menu item. Alternatively, you can use the keyboard shortcut.</para>
  934. <sect2 id="mainwindow_bookmarks_menu">
  935. <title>Bookmarks Menu</title>
  936. <para>The bookmarks can be accessed and managed through the <guilabel>Bookmarks</guilabel> menu:</para>
  937. <screenshot>
  938. <screeninfo>Screenshot of the bookmark popup menu</screeninfo>
  939. <mediaobject>
  940. <imageobject>
  941. <imagedata fileref="popup_menu_bookmarks.png" format="PNG" />
  942. </imageobject>
  943. <textobject>
  944. <phrase>Bookmark popup menu</phrase>
  945. </textobject>
  946. </mediaobject>
  947. </screenshot>
  948. <para>In the <guilabel>Bookmarks</guilabel> menu there are two static items available:</para>
  949. <variablelist>
  950. <varlistentry>
  951. <term>
  952. <menuchoice>
  953. <shortcut>
  954. <keycombo action="simul">
  955. &Ctrl; <keycap>E</keycap>
  956. </keycombo>
  957. </shortcut>
  958. <guimenuitem>Edit Bookmarks</guimenuitem>
  959. </menuchoice>
  960. </term>
  961. <listitem>
  962. <para>Open the <link linkend="mainwindow_bookmarks_editor">bookmark editor</link>. This action is diabled if there are no bookmarks.</para>
  963. </listitem>
  964. </varlistentry>
  965. <varlistentry>
  966. <term>
  967. <menuchoice>
  968. <shortcut>
  969. <keycombo action="simul">
  970. &Ctrl; <keycap>B</keycap>
  971. </keycombo>
  972. </shortcut>
  973. <guimenuitem>Add Bookmark</guimenuitem>
  974. </menuchoice>
  975. </term>
  976. <listitem>
  977. <para>Add a bookmark. A share in the <link linkend="mainwindow_network">network browser</link> has to be selected to enable this action.</para>
  978. </listitem>
  979. </varlistentry>
  980. </variablelist>
  981. <para>The other entries are shares you already bookmarked. They are listed alphabetically and may either appear with their name or with a label that can be defined in the <link linkend="mainwindow_bookmarks_editor">bookmark editor</link>. By clicking a bookmark the respective share is mounted. If it is (already) mounted, the menu item is disabled.</para>
  982. </sect2>
  983. <sect2 id="mainwindow_bookmarks_editor">
  984. <title>Bookmark Editor</title>
  985. <para>The bookmarks may be edited or removed via the bookmark editor. It can be opened by clicking the <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>E</keycap></keycombo></shortcut><guimenuitem>Edit Bookmarks</guimenuitem></menuchoice> menu item.</para>
  986. <screenshot>
  987. <screeninfo>Screenshot of the bookmark editor</screeninfo>
  988. <mediaobject>
  989. <imageobject>
  990. <imagedata fileref="dialog_bookmark_editor.png" format="PNG" />
  991. </imageobject>
  992. <textobject>
  993. <phrase>Bookmark editor</phrase>
  994. </textobject>
  995. </mediaobject>
  996. </screenshot>
  997. <para>The <guilabel>IP Address</guilabel> and <guilabel>Label</guilabel> sections are editable (Double click the field you want change and you will enter the editor mode.) Since the IP addresses will be adjusted automatically in case they changed, you might never need to edit them. With the label you can give each bookmark a custom description. It will be used in the <guilabel>Bookmarks</guilabel> menu <emphasis>instead</emphasis> of the share name in the case the feature is enabled in the <link linkend="configuration_user_interface_mw_and_st_bookmarks">configuration dialog</link>.</para>
  998. <para>To remove one share or all shares at once, right click in the editor window to bring up a small popup menu that contains the <guimenuitem>Remove</guimenuitem> and the <guimenuitem>Remove All</guimenuitem> actions. The <guimenuitem>Remove</guimenuitem> action will only be enabled if you clicked on a bookmark.</para>
  999. <para>The changes can be committed by clicking the <guibutton>OK</guibutton> button.</para>
  1000. </sect2>
  1001. </sect1>
  1002. <!-- System tray -->
  1003. <sect1 id="systemtray">
  1004. <title>The System Tray Widget</title>
  1005. <sect2 id="systemtray_location">
  1006. <title>Location</title>
  1007. <para>By default, &smb4k; starts embedded into the system tray:</para>
  1008. <screenshot>
  1009. <screeninfo>Screenshot of the system tray icon</screeninfo>
  1010. <mediaobject>
  1011. <imageobject>
  1012. <imagedata fileref="system_tray_icon.png" format="PNG" />
  1013. </imageobject>
  1014. <textobject>
  1015. <phrase>System tray icon</phrase>
  1016. </textobject>
  1017. </mediaobject>
  1018. </screenshot>
  1019. <para>The big advantage of running &smb4k; embedded is that you can close (minimize) the main window while the application keeps running in the system tray. So, you can clear up your desktop and use it for your daily work. However, if you prefer to run &smb4k; unembedded, you can change the <link linkend="configuration_user_interface_mw_and_st_system_tray">setting</link> in the configuration dialog. Please note, that in this case you quit &smb4k; when you close the main window.</para>
  1020. </sect2>
  1021. <sect2 id="systemtray_usage">
  1022. <title>Usage</title>
  1023. <para>By left clicking on the icon the main window can be hidden or shown. A right click will bring up a popup menu that contains several menu items that allow 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>
  1024. </sect2>
  1025. <sect2 id="systemtray_menus">
  1026. <title>Menus and Menu Items</title>
  1027. <screenshot>
  1028. <screeninfo>Screenshot of the popup menu of the system tray icon</screeninfo>
  1029. <mediaobject>
  1030. <imageobject>
  1031. <imagedata fileref="system_tray_icon_popup_menu.png" format="PNG" />
  1032. </imageobject>
  1033. <textobject>
  1034. <phrase>System tray icon's popup menu</phrase>
  1035. </textobject>
  1036. </mediaobject>
  1037. </screenshot>
  1038. <para>The following menus and menu items are available:</para>
  1039. <variablelist>
  1040. <varlistentry>
  1041. <term>
  1042. <menuchoice>
  1043. <guimenuitem>Mounted Shares</guimenuitem>
  1044. </menuchoice>
  1045. </term>
  1046. <listitem>
  1047. <para>This menu lists all mounted shares and some actions that can be performed on them:</para>
  1048. <para>
  1049. <variablelist>
  1050. <varlistentry>
  1051. <term>
  1052. <menuchoice>
  1053. <guimenuitem>Unmount All</guimenuitem>
  1054. </menuchoice>
  1055. </term>
  1056. <listitem>
  1057. <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>
  1058. </listitem>
  1059. </varlistentry>
  1060. </variablelist>
  1061. </para>
  1062. <para>For each mounted share you can open a submenu that contains the following entries:</para>
  1063. <variablelist>
  1064. <varlistentry>
  1065. <term>
  1066. <menuchoice>
  1067. <guimenuitem>Unmount</guimenuitem>
  1068. </menuchoice>
  1069. </term>
  1070. <listitem>
  1071. <para>Unmount the share.</para>
  1072. </listitem>
  1073. </varlistentry>
  1074. <varlistentry>
  1075. <term>
  1076. <menuchoice>
  1077. <guimenuitem>Force Unmounting</guimenuitem>
  1078. </menuchoice>
  1079. </term>
  1080. <listitem>
  1081. <para>Force the unmounting of the share (<emphasis>Linux only</emphasis>). For further information read <link linkend="mainwindow_shares_menu">here</link> and <link linkend="mainwindow_shares_unmounting">here</link>.</para>
  1082. </listitem>
  1083. </varlistentry>
  1084. <varlistentry>
  1085. <term>
  1086. <menuchoice>
  1087. <guimenuitem>Synchronize</guimenuitem>
  1088. </menuchoice>
  1089. </term>
  1090. <listitem>
  1091. <para>Synchronize the mounted share with a local copy or vice versa. For further information read <link linkend="mainwindow_shares_menu">here</link> and <link linkend="mainwindow_shares_synchronization">here</link>.</para>
  1092. </listitem>
  1093. </varlistentry>
  1094. <varlistentry>
  1095. <term>
  1096. <menuchoice>
  1097. <guimenuitem>Open with &konsole;</guimenuitem>
  1098. </menuchoice>
  1099. </term>
  1100. <listitem>
  1101. <para>Open the base directory of the share in &konsole;.</para>
  1102. </listitem>
  1103. </varlistentry>
  1104. <varlistentry>
  1105. <term>
  1106. <menuchoice>
  1107. <guimenuitem>Open with &konqueror;</guimenuitem>
  1108. </menuchoice>
  1109. </term>
  1110. <listitem>
  1111. <para>Open the contents of the share in &konqueror;.</para>
  1112. </listitem>
  1113. </varlistentry>
  1114. </variablelist>
  1115. </listitem>
  1116. </varlistentry>
  1117. <varlistentry>
  1118. <term>
  1119. <menuchoice>
  1120. <guimenuitem>Bookmarks</guimenuitem>
  1121. </menuchoice>
  1122. </term>
  1123. <listitem>
  1124. <para>The <guimenuitem>Bookmarks</guimenuitem> menu contains a list of your bookmarks and the following bookmark releated action(s):</para>
  1125. <variablelist>
  1126. <varlistentry>
  1127. <term>
  1128. <menuchoice>
  1129. <guimenuitem>Edit Bookmarks</guimenuitem>
  1130. </menuchoice>
  1131. </term>
  1132. <listitem>
  1133. <para>Open the <link linkend="mainwindow_bookmarks_editor">bookmark editor</link>.</para>
  1134. </listitem>
  1135. </varlistentry>
  1136. </variablelist>
  1137. <para>Executing one of the bookmarks mounts the respective remote share. It will appear in the <guimenuitem>Mounted Shares</guimenuitem> menu as well as in the shares view of the main window.</para>
  1138. </listitem>
  1139. </varlistentry>
  1140. <varlistentry>
  1141. <term>
  1142. <menuchoice>
  1143. <guimenuitem>Mount Manually</guimenuitem>
  1144. </menuchoice>
  1145. </term>
  1146. <listitem>
  1147. <para>Open the <link linkend="mainwindow_network_mounting">dialog</link> for "manual" mounts.</para>
  1148. </listitem>
  1149. </varlistentry>
  1150. <varlistentry>
  1151. <term>
  1152. <menuchoice>
  1153. <guimenuitem>Configure &smb4k;...</guimenuitem>
  1154. </menuchoice>
  1155. </term>
  1156. <listitem>
  1157. <para>Open the configuration dialog. See <link linkend="configuration">here</link> for a full list of available settings.</para>
  1158. </listitem>
  1159. </varlistentry>
  1160. <varlistentry>
  1161. <term>
  1162. <menuchoice>
  1163. <guimenuitem>Minimize | Restore</guimenuitem>
  1164. </menuchoice>
  1165. </term>
  1166. <listitem>
  1167. <para>Hide (minimize) or show (restore) the main window. Which text is shown depends on the state of the main window. If it is hidden, the user sees the <guimenuitem>Restore</guimenuitem> entry and <guimenuitem>Minimize</guimenuitem> otherwise.</para>
  1168. </listitem>
  1169. </varlistentry>
  1170. <varlistentry>
  1171. <term>
  1172. <menuchoice>
  1173. <shortcut>
  1174. <keycombo action="simul">
  1175. &Ctrl; <keycap>Q</keycap>
  1176. </keycombo>
  1177. </shortcut>
  1178. <guimenuitem>Quit</guimenuitem>
  1179. </menuchoice>
  1180. </term>
  1181. <listitem>
  1182. <para>Quit the application.</para>
  1183. </listitem>
  1184. </varlistentry>
  1185. </variablelist>
  1186. </sect2>
  1187. </sect1>
  1188. <!-- Konqueror Plugin -->
  1189. <sect1 id="konqplugin">
  1190. <title>The &konqueror; Plugin</title>
  1191. <para>&smb4k; comes with a plugin which brings the application's key features to &konqueror;. It is standalone, so you do not have to start &smb4k; to be able to use it.</para>
  1192. <para>After installation, the plugin can be added by clicking the configuration button on the side bar of &konqueror;'s navigation panel and choosing <menuchoice><guimenuitem>Add New</guimenuitem><guimenuitem>Samba Browser</guimenuitem></menuchoice>. An additional button with &smb4k;'s icon will appear. If the configuration button is not shown, you can also right click on the side bar to open the popup menu.</para>
  1193. <screenshot>
  1194. <screeninfo>Screenshot of Konqueror's navigation panel</screeninfo>
  1195. <mediaobject>
  1196. <imageobject>
  1197. <imagedata fileref="plugin_inclusion.png" format="PNG" />
  1198. </imageobject>
  1199. <textobject>
  1200. <phrase>Konqueror's navigation panel</phrase>
  1201. </textobject>
  1202. </mediaobject>
  1203. </screenshot>
  1204. <para>The network browser is opened by clicking the &smb4k; symbol in the navigation panel. It is equipped with an extra toolbar, that is not present in the main application, and a modified version of the popup menu.</para>
  1205. <screenshot>
  1206. <screeninfo>Screenshot of the Konqueror plugin</screeninfo>
  1207. <mediaobject>
  1208. <imageobject>
  1209. <imagedata fileref="plugin_full_view.png" format="PNG" />
  1210. </imageobject>
  1211. <textobject>
  1212. <phrase>Konqueror plugin</phrase>
  1213. </textobject>
  1214. </mediaobject>
  1215. </screenshot>
  1216. <para>You can navigate through the network tree by either clicking the <guilabel>+</guilabel> or the network item itself. Remote shares can be mounted by choosing <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>M</keycap></keycombo></shortcut><guimenuitem>Mount</guimenuitem></menuchoice> from the popup menu or by clicking the share. The mount point of the share will be opened in the file view after mounting. If you need to define custom options for certain servers or shares, you can use the <guilabel>Custom Options</guilabel> dialog for that (see <link linkend="mainwindow_network_custom">here</link> for more information).</para>
  1217. <para>A share can be unmounted by selecting it in the network browser and choosing the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut><guimenuitem>Unmount</guimenuitem></menuchoice> menu item. An <guimenuitem>Unmount All</guimenuitem> feature is not present in the &konqueror; plugin.</para>
  1218. <para>The shares will stay mounted even after you closed &konqueror; unless you choose the option <guilabel>Unmount all shares of user USER on exit</guilabel> (where USER is your user name) from the <link linkend="configuration_shares_mounting">configuration dialog</link>. In this case, your shares will be unmounted if you close &konqueror;.</para>
  1219. <para>Just like the main application, the plugin comes with the ability to remount recently used shares. If you enable the corresponding <link linkend="configuration_shares_mounting">setting</link> in the configuration dialog and start &konqueror; with the plugin open, these shares will be mounted and the last one will be opened in the file view.</para>
  1220. <para>The popup menu of the &konqueror; plugin contains the following menu entries:</para>
  1221. <variablelist>
  1222. <varlistentry>
  1223. <term>
  1224. <menuchoice>
  1225. <shortcut>
  1226. <keycombo action="simul">
  1227. &Ctrl; <keycap>R</keycap>
  1228. </keycombo>
  1229. </shortcut>
  1230. <guimenuitem>Scan Network|Workgroup|Computer</guimenuitem>
  1231. </menuchoice>
  1232. </term>
  1233. <listitem>
  1234. <para>
  1235. Scan the whole network neighborhood, a workgroup/domain, or a server. For your convenience, new network items will be added and obsolete ones removed without closing the network tree.</para>
  1236. </listitem>
  1237. </varlistentry>
  1238. <varlistentry>
  1239. <term>
  1240. <menuchoice>
  1241. <shortcut>
  1242. <keycombo action="simul">
  1243. &Ctrl; <keycap>A</keycap>
  1244. </keycombo>
  1245. </shortcut>
  1246. <guimenuitem>Abort</guimenuitem>
  1247. </menuchoice>
  1248. </term>
  1249. <listitem>
  1250. <para>Abort any running process that is network related. The entry is only enabled if &smb4k; is busy.</para>
  1251. </listitem>
  1252. </varlistentry>
  1253. <varlistentry>
  1254. <term>
  1255. <menuchoice>
  1256. <shortcut>
  1257. <keycombo action="simul">
  1258. &Ctrl; <keycap>O</keycap>
  1259. </keycombo>
  1260. </shortcut>
  1261. <guimenuitem>Mount Manually</guimenuitem>
  1262. </menuchoice>
  1263. </term>
  1264. <listitem>
  1265. <para>The <link linkend="mainwindow_network_mounting">mount dialog</link> is opened. You can enter the name, IP address, and workgroup/domain of a share you want to mount manually. This feature comes in handy if the server where the share is located could not be found automatically.</para>
  1266. </listitem>
  1267. </varlistentry>
  1268. <varlistentry>
  1269. <term>
  1270. <menuchoice>
  1271. <shortcut>
  1272. <keycombo action="simul">
  1273. &Ctrl; <keycap>T</keycap>
  1274. </keycombo>
  1275. </shortcut>
  1276. <guimenuitem>Authentication</guimenuitem>
  1277. </menuchoice>
  1278. </term>
  1279. <listitem>
  1280. <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>
  1281. </listitem>
  1282. </varlistentry>
  1283. <varlistentry>
  1284. <term>
  1285. <menuchoice>
  1286. <shortcut>
  1287. <keycombo action="simul">
  1288. &Ctrl; <keycap>C</keycap>
  1289. </keycombo>
  1290. </shortcut>
  1291. <guimenuitem>Custom Options</guimenuitem>
  1292. </menuchoice>
  1293. </term>
  1294. <listitem>
  1295. <para>The <link linkend="mainwindow_network_custom">Custom Options dialog</link> is opened. You can set several custom options for the selected server or remote share. If no item or a workgroup is selected, this menu entry is disabled.</para>
  1296. </listitem>
  1297. </varlistentry>
  1298. <varlistentry>
  1299. <term>
  1300. <menuchoice>
  1301. <shortcut>
  1302. <keycombo action="simul">
  1303. &Ctrl; <keycap>B</keycap>
  1304. </keycombo>
  1305. </shortcut>
  1306. <guimenuitem>Add Bookmark</guimenuitem>
  1307. </menuchoice>
  1308. </term>
  1309. <listitem>
  1310. <para>Add a <link linkend="mainwindow_bookmarks">bookmark</link>. This menu entry is only available if a remote share is selected.</para>
  1311. </listitem>
  1312. </varlistentry>
  1313. <varlistentry>
  1314. <term>
  1315. <menuchoice>
  1316. <shortcut>
  1317. <keycombo action="simul">
  1318. &Ctrl; <keycap>V</keycap>
  1319. </keycombo>
  1320. </shortcut>
  1321. <guimenuitem>Preview</guimenuitem>
  1322. </menuchoice>
  1323. </term>
  1324. <listitem>
  1325. <para><link linkend="mainwindow_network_preview">Preview</link> the contents of the selected remote share.</para>
  1326. </listitem>
  1327. </varlistentry>
  1328. <varlistentry>
  1329. <term>
  1330. <menuchoice>
  1331. <shortcut>
  1332. <keycombo action="simul">
  1333. &Ctrl; <keycap>P</keycap>
  1334. </keycombo>
  1335. </shortcut>
  1336. <guimenuitem>Print File</guimenuitem>
  1337. </menuchoice>
  1338. </term>
  1339. <listitem>
  1340. <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>
  1341. </listitem>
  1342. </varlistentry>
  1343. <varlistentry>
  1344. <term>
  1345. <menuchoice>
  1346. <shortcut>
  1347. <keycombo action="simul">
  1348. &Ctrl; <keycap>M | U</keycap>
  1349. </keycombo>
  1350. </shortcut>
  1351. <guimenuitem>Mount | Unmount</guimenuitem>
  1352. </menuchoice>
  1353. </term>
  1354. <listitem>
  1355. <para>The functionality of this menu item depends on the state of the share you selected:</para>
  1356. <itemizedlist>
  1357. <listitem><para>If a mounted share is selected, you can unmount it. The item shows <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>U</keycap></keycombo></shortcut><guimenuitem>Unmount</guimenuitem></menuchoice>.</para></listitem>
  1358. <listitem><para>If a share is selected that is not mounted, you can mount it. The item shows <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>M</keycap></keycombo></shortcut><guimenuitem>Mount</guimenuitem></menuchoice>.</para></listitem>
  1359. </itemizedlist>
  1360. <para>This menu entry is disabled if you click anything different than a share with type "Disk" or "IPC".</para>
  1361. </listitem>
  1362. </varlistentry>
  1363. </variablelist>
  1364. <para>The small tool bar at the top of the plugin window contains a button to reload the network tree, to open the search dialog, and to open the configuration dialog, respectively.</para>
  1365. <para>In case you want to remove the plugin from &konqueror;, you just need to right click on the <guibutton>Samba Browser</guibutton> button and choose <guimenuitem>Remove</guimenuitem> from the menu.</para>
  1366. </sect1>
  1367. <!-- Configuring Smb4K -->
  1368. <sect1 id="configuration">
  1369. <title>Configuring &smb4k;</title>
  1370. <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> menu item</link>.</para>
  1371. <!-- Configuration: User Interface -->
  1372. <sect2 id="configuration_user_interface">
  1373. <title>User Interface</title>
  1374. <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 addtional options under <guimenu>Settings</guimenu> in the <link linkend="mainwindow_overview">menu bar</link>.</para>
  1375. <screenshot>
  1376. <screeninfo>Screenshot of the "Appearance" configuration tab</screeninfo>
  1377. <mediaobject>
  1378. <imageobject>
  1379. <imagedata fileref="configuration_user_interface.png" format="PNG" />
  1380. </imageobject>
  1381. <textobject>
  1382. <phrase>The "Appearance" configuration tab</phrase>
  1383. </textobject>
  1384. </mediaobject>
  1385. </screenshot>
  1386. <sect3 id="configuration_user_interface_mw_and_st_shares_view">
  1387. <title>Main Window &amp; System Tray : Shares View</title>
  1388. <variablelist>
  1389. <varlistentry>
  1390. <term>
  1391. <menuchoice>
  1392. <guibutton>Show mounted shares in an icon view</guibutton>
  1393. </menuchoice>
  1394. </term>
  1395. <listitem>
  1396. <para>
  1397. An icon view will be used in the main window to show the mounted shares.
  1398. </para>
  1399. <para>
  1400. Default: selected
  1401. </para>
  1402. </listitem>
  1403. </varlistentry>
  1404. <varlistentry>
  1405. <term>
  1406. <menuchoice>
  1407. <guibutton>Show mounted shares in a list view</guibutton>
  1408. </menuchoice>
  1409. </term>
  1410. <listitem>
  1411. <para>
  1412. A list view will be used in the main window to show the mounted shares.
  1413. </para>
  1414. <para>
  1415. Default: not selected
  1416. </para>
  1417. </listitem>
  1418. </varlistentry>
  1419. </variablelist>
  1420. </sect3>
  1421. <sect3 id="configuration_user_interface_mw_and_st_bookmarks">
  1422. <title>Main Window &amp; System Tray : Bookmarks</title>
  1423. <variablelist>
  1424. <varlistentry>
  1425. <term>
  1426. <menuchoice>
  1427. <guibutton>Show custom bookmark label if available</guibutton>
  1428. </menuchoice>
  1429. </term>
  1430. <listitem>
  1431. <para>
  1432. The custom description (label) of the bookmark is shown. It can be defined in the <link linkend="mainwindow_bookmarks_editor">bookmark editor</link>.
  1433. </para>
  1434. <para>
  1435. Default: selected
  1436. </para>
  1437. </listitem>
  1438. </varlistentry>
  1439. </variablelist>
  1440. </sect3>
  1441. <sect3 id="configuration_user_interface_mw_and_st_system_tray">
  1442. <title>Main Window &amp; System Tray : System Tray</title>
  1443. <variablelist>
  1444. <varlistentry>
  1445. <term>
  1446. <menuchoice>
  1447. <guibutton>Embed application into the system tray</guibutton>
  1448. </menuchoice>
  1449. </term>
  1450. <listitem>
  1451. <para>
  1452. Embed &smb4k; into the system tray. The system tray widget includes several common actions, so you do not need to open the main window for many tasks. For further information read the <link linkend="systemtray">System Tray Widget</link> section.
  1453. </para>
  1454. <para>
  1455. Default: selected
  1456. </para>
  1457. </listitem>
  1458. </varlistentry>
  1459. </variablelist>
  1460. </sect3>
  1461. <sect3 id="configuration_user_interface_network_remote_shares">
  1462. <title>Network Browser : Remote Shares</title>
  1463. <variablelist>
  1464. <varlistentry>
  1465. <term>
  1466. <menuchoice>
  1467. <guibutton>Show printer shares</guibutton>
  1468. </menuchoice>
  1469. </term>
  1470. <listitem>
  1471. <para>
  1472. Printer shares are shown.
  1473. </para>
  1474. <para>
  1475. Default: selected
  1476. </para>
  1477. </listitem>
  1478. </varlistentry>
  1479. <varlistentry>
  1480. <term>
  1481. <menuchoice>
  1482. <guibutton>Show hidden shares</guibutton>
  1483. </menuchoice>
  1484. </term>
  1485. <listitem>
  1486. <para>
  1487. All hidden shares except those of type ADMIN$ and IPC$ are shown in the network browser.
  1488. </para>
  1489. <para>
  1490. Default: selected
  1491. </para>
  1492. </listitem>
  1493. </varlistentry>
  1494. <varlistentry>
  1495. <term>
  1496. <menuchoice>
  1497. <guibutton>Show IPC$ shares</guibutton>
  1498. </menuchoice>
  1499. </term>
  1500. <listitem>
  1501. <para>
  1502. Hidden IPC$ shares are shown. This option can only be chosen if you also ticked the <guibutton>Show hidden shares</guibutton> check box.
  1503. </para>
  1504. <para>
  1505. Default: not selected
  1506. </para>
  1507. </listitem>
  1508. </varlistentry>
  1509. <varlistentry>
  1510. <term>
  1511. <menuchoice>
  1512. <guibutton>Show ADMIN$ shares</guibutton>
  1513. </menuchoice>
  1514. </term>
  1515. <listitem>
  1516. <para>
  1517. Hidden ADMIN$ shares are shown. This option can only be chosen if you also ticked the <guibutton>Show hidden shares</guibutton> check box.
  1518. </para>
  1519. <para>
  1520. Default: not selected
  1521. </para>
  1522. </listitem>
  1523. </varlistentry>
  1524. </variablelist>
  1525. </sect3>
  1526. <sect3 id="configuration_user_interface_network_columns">
  1527. <title>Network Browser : Columns</title>
  1528. <variablelist>
  1529. <varlistentry>
  1530. <term>
  1531. <menuchoice>
  1532. <guibutton>Show type</guibutton>
  1533. </menuchoice>
  1534. </term>
  1535. <listitem>
  1536. <para>
  1537. The type of the shares is shown (i. e. Disk, Printer, or IPC).
  1538. </para>
  1539. <para>
  1540. Default: selected
  1541. </para>
  1542. </listitem>
  1543. </varlistentry>
  1544. <varlistentry>
  1545. <term>
  1546. <menuchoice>
  1547. <guibutton>Show IP address</guibutton>
  1548. </menuchoice>
  1549. </term>
  1550. <listitem>
  1551. <para>
  1552. The IP address of a remote host is shown.
  1553. </para>
  1554. <para>
  1555. Default: selected
  1556. </para>
  1557. </listitem>
  1558. </varlistentry>
  1559. <varlistentry>
  1560. <term>
  1561. <menuchoice>
  1562. <guibutton>Show comment</guibutton>
  1563. </menuchoice>
  1564. </term>
  1565. <listitem>
  1566. <para>
  1567. The comment of a remote host or share is shown.
  1568. </para>
  1569. <para>
  1570. Default: selected
  1571. </para>
  1572. </listitem>
  1573. </varlistentry>
  1574. </variablelist>
  1575. </sect3>
  1576. <sect3 id="configuration_user_interface_network_tooltips">
  1577. <title>Network Browser : Tooltips</title>
  1578. <variablelist>
  1579. <varlistentry>
  1580. <term>
  1581. <menuchoice>
  1582. <guibutton>Show tooltip with information about a network item</guibutton>
  1583. </menuchoice>
  1584. </term>
  1585. <listitem>
  1586. <para>
  1587. A tooltip will be shown if you move the mouse pointer over an item in the network browser. It contains information about the underlying network item such as the workgroup or domain name, host name, comment, type, etc.
  1588. </para>
  1589. <para>
  1590. Default: selected
  1591. </para>
  1592. </listitem>
  1593. </varlistentry>
  1594. </variablelist>
  1595. </sect3>
  1596. <sect3 id="configuration_user_interface_shares_mounted_shares">
  1597. <title>Shares View : Mounted Shares</title>
  1598. <variablelist>
  1599. <varlistentry>
  1600. <term>
  1601. <menuchoice>
  1602. <guibutton>Show mount point instead of share name</guibutton>
  1603. </menuchoice>
  1604. </term>
  1605. <listitem>
  1606. <para>
  1607. The mount point is shown instead of the share name.
  1608. </para>
  1609. <para>
  1610. Default: not selected
  1611. </para>
  1612. </listitem>
  1613. </varlistentry>
  1614. <varlistentry>
  1615. <term>
  1616. <menuchoice>
  1617. <guibutton>Show all shares that are mounted on the system</guibutton>
  1618. </menuchoice>
  1619. </term>
  1620. <listitem>
  1621. <para>
  1622. All mounts that are using either the SMBFS or CIFS file system are shown. By default, only the shares owned by you are displayed.
  1623. </para>
  1624. <para>
  1625. Default: not selected
  1626. </para>
  1627. </listitem>
  1628. </varlistentry>
  1629. </variablelist>
  1630. </sect3>
  1631. <sect3 id="configuration_user_interface_shares_dragndrop">
  1632. <title>Shares View : Drag and Drop</title>
  1633. <variablelist>
  1634. <varlistentry>
  1635. <term>
  1636. <menuchoice>
  1637. <guibutton>Allow dropping of files and directories onto shares</guibutton>
  1638. </menuchoice>
  1639. </term>
  1640. <listitem>
  1641. <para>
  1642. You can drag files and directories from the desktop or the filemanager and drop them onto a share icon. A file transfer will start if you have write permissions to the mounted share. By default this option is switched off and the shares view does not allow drop events.
  1643. </para>
  1644. <para>
  1645. Default: not selected
  1646. </para>
  1647. </listitem>
  1648. </varlistentry>
  1649. <varlistentry>
  1650. <term>
  1651. <menuchoice>
  1652. <guibutton>Allow dragging of shares</guibutton>
  1653. </menuchoice>
  1654. </term>
  1655. <listitem>
  1656. <para>The share icons can be dragged and dropped outside of &smb4k;. This feature is switched off by default, because there are a few issues connected with it. It is recommended that you read the <link linkend="mainwindow_shares_dnd">Drag-and-Drop</link> section before enabling this feature.</para>
  1657. <para>
  1658. Default: not selected
  1659. </para>
  1660. </listitem>
  1661. </varlistentry>
  1662. </variablelist>
  1663. </sect3>
  1664. <sect3 id="configuration_user_interface_shares_tooltips">
  1665. <title>Shares View : Tooltips</title>
  1666. <variablelist>
  1667. <varlistentry>
  1668. <term>
  1669. <menuchoice>
  1670. <guibutton>Show tooltip with information about a share</guibutton>
  1671. </menuchoice>
  1672. </term>
  1673. <listitem>
  1674. <para>
  1675. 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, mount point, owner and group, CIFS login, disk usage, etc.
  1676. </para>
  1677. <para>
  1678. Default: selected
  1679. </para>
  1680. </listitem>
  1681. </varlistentry>
  1682. </variablelist>
  1683. </sect3>
  1684. <sect3 id="configuration_user_interface_shares_list_view">
  1685. <title>Shares View : List View</title>
  1686. <variablelist>
  1687. <varlistentry>
  1688. <term>
  1689. <menuchoice>
  1690. <guibutton>Show owner and group (SMBFS only)</guibutton>
  1691. </menuchoice>
  1692. </term>
  1693. <listitem>
  1694. <para>
  1695. Show the owner's UID and GID in the list view. An entry will only be shown if the share was mounted with the SMBFS file system. The column will be empty otherwise.
  1696. </para>
  1697. <para>
  1698. Default: not selected
  1699. </para>
  1700. </listitem>
  1701. </varlistentry>
  1702. <varlistentry>
  1703. <term>
  1704. <menuchoice>
  1705. <guibutton>Show login (CIFS only)</guibutton>
  1706. </menuchoice>
  1707. </term>
  1708. <listitem>
  1709. <para>
  1710. 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.
  1711. </para>
  1712. <para>
  1713. Default: not selected
  1714. </para>
  1715. </listitem>
  1716. </varlistentry>
  1717. <varlistentry>
  1718. <term>
  1719. <menuchoice>
  1720. <guibutton>Show file system</guibutton>
  1721. </menuchoice>
  1722. </term>
  1723. <listitem>
  1724. <para>
  1725. Show the file system that is used by the share.
  1726. </para>
  1727. <para>
  1728. Default: selected
  1729. </para>
  1730. </listitem>
  1731. </varlistentry>
  1732. <varlistentry>
  1733. <term>
  1734. <menuchoice>
  1735. <guibutton>Show free disk space</guibutton>
  1736. </menuchoice>
  1737. </term>
  1738. <listitem>
  1739. <para>
  1740. Show the free disk space that is available on the share.
  1741. </para>
  1742. <para>
  1743. Default: not selected
  1744. </para>
  1745. </listitem>
  1746. </varlistentry>
  1747. <varlistentry>
  1748. <term>
  1749. <menuchoice>
  1750. <guibutton>Show used disk space</guibutton>
  1751. </menuchoice>
  1752. </term>
  1753. <listitem>
  1754. <para>
  1755. Show the disk space that is in use on the share.
  1756. </para>
  1757. <para>
  1758. Default: not selected
  1759. </para>
  1760. </listitem>
  1761. </varlistentry>
  1762. <varlistentry>
  1763. <term>
  1764. <menuchoice>
  1765. <guibutton>Show total disk space</guibutton>
  1766. </menuchoice>
  1767. </term>
  1768. <listitem>
  1769. <para>
  1770. Show the total disk space that the share offers.
  1771. </para>
  1772. <para>
  1773. Default: not selected
  1774. </para>
  1775. </listitem>
  1776. </varlistentry>
  1777. <varlistentry>
  1778. <term>
  1779. <menuchoice>
  1780. <guibutton>Show disk usage</guibutton>
  1781. </menuchoice>
  1782. </term>
  1783. <listitem>
  1784. <para>
  1785. Show a graphical indicator that displays the disk usage.
  1786. </para>
  1787. <para>
  1788. Default: selected
  1789. </para>
  1790. </listitem>
  1791. </varlistentry>
  1792. </variablelist>
  1793. </sect3>
  1794. <sect3 id="configuration_user_interface_preview_hidden">
  1795. <title>Preview Dialog : Hidden Files and Directories</title>
  1796. <variablelist>
  1797. <varlistentry>
  1798. <term>
  1799. <menuchoice>
  1800. <guibutton>Preview hidden files and directories</guibutton>
  1801. </menuchoice>
  1802. </term>
  1803. <listitem>
  1804. <para>
  1805. 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.
  1806. </para>
  1807. <para>
  1808. Default: not selected
  1809. </para>
  1810. </listitem>
  1811. </varlistentry>
  1812. </variablelist>
  1813. </sect3>
  1814. </sect2>
  1815. <!-- Configuration: Network -->
  1816. <sect2 id="configuration_network">
  1817. <title>Network</title>
  1818. <para>The options in the <guilabel>Network</guilabel> configuration tab can be used to change the lookup method for the browse list and the program for network searches. If you want to adjust the behavior of the Samba programs <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>
  1819. <screenshot>
  1820. <screeninfo>Screenshot of the "Network" configuration tab</screeninfo>
  1821. <mediaobject>
  1822. <imageobject>
  1823. <imagedata fileref="configuration_network.png" format="PNG" />
  1824. </imageobject>
  1825. <textobject>
  1826. <phrase>The "Network" configuration tab</phrase>
  1827. </textobject>
  1828. </mediaobject>
  1829. </screenshot>
  1830. <sect3 id="configuration_network_browselist">
  1831. <title>Browse List</title>
  1832. <variablelist>
  1833. <varlistentry>
  1834. <term>
  1835. <menuchoice>
  1836. <guibutton>Scan the network neighborhood for available workgroups and domains</guibutton>
  1837. </menuchoice>
  1838. </term>
  1839. <listitem>
  1840. <para>
  1841. &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 (e.g. umlauts are replaced by dots).
  1842. </para>
  1843. <para>
  1844. Default: selected
  1845. </para>
  1846. </listitem>
  1847. </varlistentry>
  1848. <varlistentry>
  1849. <term>
  1850. <menuchoice>
  1851. <guibutton>Query the current workgroup master browser</guibutton>
  1852. </menuchoice>
  1853. </term>
  1854. <listitem>
  1855. <para>
  1856. 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.
  1857. </para>
  1858. <para>
  1859. Default: not selected
  1860. </para>
  1861. </listitem>
  1862. </varlistentry>
  1863. <varlistentry>
  1864. <term>
  1865. <menuchoice>
  1866. <guibutton>Query this master browser</guibutton>
  1867. </menuchoice>
  1868. </term>
  1869. <listitem>
  1870. <para>
  1871. 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.
  1872. </para>
  1873. <para>
  1874. Default: not selected
  1875. </para>
  1876. </listitem>
  1877. </varlistentry>
  1878. <varlistentry>
  1879. <term>
  1880. <menuchoice>
  1881. <guibutton>Scan broadcast areas</guibutton>
  1882. </menuchoice>
  1883. </term>
  1884. <listitem>
  1885. <para>
  1886. &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:
  1887. <screen>,,</screen>
  1888. The IP address/mask pair ( does not work.
  1889. </para>
  1890. <para>
  1891. Default: not selected
  1892. </para>
  1893. </listitem>
  1894. </varlistentry>
  1895. </variablelist>
  1896. </sect3>
  1897. <sect3 id="configuration_network_search">
  1898. <title>Network Search</title>
  1899. <variablelist>
  1900. <varlistentry>
  1901. <term>
  1902. <menuchoice>
  1903. <guibutton>Use nmblookup (recommended)</guibutton>
  1904. </menuchoice>
  1905. </term>
  1906. <listitem>
  1907. <para>
  1908. The search for remote hosts will be performed using <ulink url="man:/nmblookup"><citerefentry><refentrytitle>nmblookup</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>. This method returns reliably the hostname, workgroup and IP address. However, it might fail under very rare circumstances. In those cases, you should try using the option below.
  1909. </para>
  1910. <para>
  1911. Default: selected
  1912. </para>
  1913. </listitem>
  1914. </varlistentry>
  1915. <varlistentry>
  1916. <term>
  1917. <menuchoice>
  1918. <guibutton>Use smbclient</guibutton>
  1919. </menuchoice>
  1920. </term>
  1921. <listitem>
  1922. <para>
  1923. The search for remote hosts will be performed using <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>. This method is less powerful than the one above. In particular, it is not able to handle IP addresses and you can only use the NetBIOS name to search for a host.
  1924. </para>
  1925. <para>
  1926. Default: not selected
  1927. </para>
  1928. </listitem>
  1929. </varlistentry>
  1930. </variablelist>
  1931. </sect3>
  1932. </sect2>
  1933. <!-- Configuration: Shares -->
  1934. <sect2 id="configuration_shares">
  1935. <title>Shares</title>
  1936. <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 actual mounting of shares (use of SMBFS or CIFS file system, etc.), please see the <link linkend="configuration_samba">Samba</link> section.</para>
  1937. <screenshot>
  1938. <screeninfo>Screenshot of the "Shares" configuration tab</screeninfo>
  1939. <mediaobject>
  1940. <imageobject>
  1941. <imagedata fileref="configuration_shares.png" format="PNG" />
  1942. </imageobject>
  1943. <textobject>
  1944. <phrase>The "Shares" configuration tab</phrase>
  1945. </textobject>
  1946. </mediaobject>
  1947. </screenshot>
  1948. <sect3 id="configuration_shares_directories">
  1949. <title>Directories</title>
  1950. <variablelist>
  1951. <varlistentry>
  1952. <term>
  1953. <menuchoice>
  1954. <guibutton>Mount prefix</guibutton>
  1955. </menuchoice>
  1956. </term>
  1957. <listitem>
  1958. <para>
  1959. This is the base directory (mount prefix, <filename class="directory">$PREFIX</filename>) where &smb4k; will mount the remote shares. It can be altered by using the URL requester (Click the button with the folder icon.) or by directly entering it into the text box. Path variables like <envar>$HOME</envar> are recognized.
  1960. </para>
  1961. <para>
  1962. Default: <filename class="directory">$HOME/smb4k/</filename>
  1963. </para>
  1964. </listitem>
  1965. </varlistentry>
  1966. <varlistentry>
  1967. <term>
  1968. <menuchoice>
  1969. <guibutton>Force generated subdirectories to be lower case</guibutton>
  1970. </menuchoice>
  1971. </term>
  1972. <listitem>
  1973. <para>
  1974. All subdirectories that are created by &smb4k; below the mount prefix will be lower case.
  1975. </para>
  1976. <para>
  1977. Default: not selected
  1978. </para>
  1979. </listitem>
  1980. </varlistentry>
  1981. </variablelist>
  1982. </sect3>
  1983. <sect3 id="configuration_shares_mounting">
  1984. <title>Mounting and Unmounting</title>
  1985. <variablelist>
  1986. <varlistentry>
  1987. <term>
  1988. <menuchoice>
  1989. <guibutton>Unmount all shares of user USER on exit</guibutton>
  1990. </menuchoice>
  1991. </term>
  1992. <listitem>
  1993. <para>
  1994. All of your shares will be unmounted on program exit (USER is replaced by your user name).
  1995. </para>
  1996. <para>
  1997. Default: not selected
  1998. </para>
  1999. </listitem>
  2000. </varlistentry>
  2001. <varlistentry>
  2002. <term>
  2003. <menuchoice>
  2004. <guibutton>Remount recently used shares on program start</guibutton>
  2005. </menuchoice>
  2006. </term>
  2007. <listitem>
  2008. <para>
  2009. 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.
  2010. </para>
  2011. <para>
  2012. Default: not selected
  2013. </para>
  2014. </listitem>
  2015. </varlistentry>
  2016. <varlistentry>
  2017. <term>
  2018. <menuchoice>
  2019. <guibutton>Allow the unmounting of shares that are owned by other users</guibutton>
  2020. </menuchoice>
  2021. </term>
  2022. <listitem>
  2023. <para>
  2024. This option will allow you to unmount shares that were mounted by other users. In combination with the options you can define under <link linkend="configuration_superuser">Super User</link>, it is guaranteed that you will be able to unmount them.</para>
  2025. <para>USE WITH EXTREME CAUTION!</para>
  2026. <para>
  2027. Default: not selected
  2028. </para>
  2029. </listitem>
  2030. </varlistentry>
  2031. </variablelist>
  2032. </sect3>
  2033. <sect3 id="configuration_shares_checks">
  2034. <title>Checks</title>
  2035. <variablelist>
  2036. <varlistentry>
  2037. <term>
  2038. <menuchoice>
  2039. <guibutton>Interval between checks</guibutton>
  2040. </menuchoice>
  2041. </term>
  2042. <listitem>
  2043. <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>
  2044. <para>Default: 2500 ms</para>
  2045. </listitem>
  2046. </varlistentry>
  2047. </variablelist>
  2048. </sect3>
  2049. </sect2>
  2050. <!-- Configuration: Authentication -->
  2051. <sect2 id="configuration_authentication">
  2052. <title>Authentication</title>
  2053. <para>Here you can change the settings affecting the authentication.</para>
  2054. <screenshot>
  2055. <screeninfo>Screenshot of the "Authentication" configuration tab</screeninfo>
  2056. <mediaobject>
  2057. <imageobject>
  2058. <imagedata fileref="configuration_authentication.png" format="PNG" />
  2059. </imageobject>
  2060. <textobject>
  2061. <phrase>The "Authentication" configuration tab</phrase>
  2062. </textobject>
  2063. </mediaobject>
  2064. </screenshot>
  2065. <sect3 id="configuration_authentication_storage">
  2066. <title>Password Storage</title>
  2067. <variablelist>
  2068. <varlistentry>
  2069. <term>
  2070. <menuchoice>
  2071. <guibutton>Save the authentication data in a wallet</guibutton>
  2072. </menuchoice>
  2073. </term>
  2074. <listitem>
  2075. <para>
  2076. 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).
  2077. </para>
  2078. <para>
  2079. Default: selected
  2080. </para>
  2081. </listitem>
  2082. </varlistentry>
  2083. <varlistentry>
  2084. <term>
  2085. <menuchoice>
  2086. <guibutton>If no wallet is used, remember authentication data during run time</guibutton>
  2087. </menuchoice>
  2088. </term>
  2089. <listitem>
  2090. <para>
  2091. 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).
  2092. </para>
  2093. <para>
  2094. Default: selected
  2095. </para>
  2096. </listitem>
  2097. </varlistentry>
  2098. </variablelist>
  2099. </sect3>
  2100. <sect3 id="configuration_authentication_default">
  2101. <title>Default Login</title>
  2102. <variablelist>
  2103. <varlistentry>
  2104. <term>
  2105. <menuchoice>
  2106. <guibutton>Use default login</guibutton>
  2107. </menuchoice>
  2108. </term>
  2109. <listitem>
  2110. <para>
  2111. The default login is used by default to authenticate to a host. If you enable this feature, the text boxes for the user name and the password will become available. You have to fill in at least the user name. Empty passwords are supported.
  2112. </para>
  2113. <para>
  2114. Default: not selected
  2115. </para>
  2116. </listitem>
  2117. </varlistentry>
  2118. </variablelist>
  2119. </sect3>
  2120. </sect2>
  2121. <!-- Configuration: Samba -->
  2122. <sect2 id="configuration_samba">
  2123. <title>Samba</title>
  2124. <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>
  2125. <screenshot>
  2126. <screeninfo>Screenshot of the "Samba" configuration tab</screeninfo>
  2127. <mediaobject>
  2128. <imageobject>
  2129. <imagedata fileref="configuration_samba.png" format="PNG" />
  2130. </imageobject>
  2131. <textobject>
  2132. <phrase>The "Samba" configuration tab</phrase>
  2133. </textobject>
  2134. </mediaobject>
  2135. </screenshot>
  2136. <sect3 id="configuration_samba_general_general">
  2137. <title>General : General Options</title>
  2138. <variablelist>
  2139. <varlistentry>
  2140. <term>
  2141. <menuchoice>
  2142. <guibutton>NetBIOS name</guibutton>
  2143. </menuchoice>
  2144. </term>
  2145. <listitem>
  2146. <para>
  2147. 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.
  2148. </para>
  2149. <para>
  2150. Default: NetBIOS name defined in <filename>smb.conf</filename> or the hostname
  2151. </para>
  2152. </listitem>
  2153. </varlistentry>
  2154. <varlistentry>
  2155. <term>
  2156. <menuchoice>
  2157. <guibutton>Domain</guibutton>
  2158. </menuchoice>
  2159. </term>
  2160. <listitem>
  2161. <para>
  2162. 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.
  2163. </para>
  2164. <para>
  2165. Default: domain name defined in <filename>smb.conf</filename>
  2166. </para>
  2167. </listitem>
  2168. </varlistentry>
  2169. <varlistentry>
  2170. <term>
  2171. <menuchoice>
  2172. <guibutton>Socket options</guibutton>
  2173. </menuchoice>
  2174. </term>
  2175. <listitem>
  2176. <para>
  2177. Set the TCP socket opitions. Please refer to the <ulink url="man:/smb.conf"><citerefentry><refentrytitle>smb.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink> manual page to learn more.
  2178. </para>
  2179. <para>
  2180. Default: socket options defined in <filename>smb.conf</filename>
  2181. </para>
  2182. </listitem>
  2183. </varlistentry>
  2184. <varlistentry>
  2185. <term>
  2186. <menuchoice>
  2187. <guibutton>NetBIOS scope</guibutton>
  2188. </menuchoice>
  2189. </term>
  2190. <listitem>
  2191. <para>
  2192. 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.
  2193. </para>
  2194. <para>
  2195. Default: NetBIOS scope defined in <filename>smb.conf</filename>
  2196. </para>
  2197. </listitem>
  2198. </varlistentry>
  2199. <varlistentry>
  2200. <term>
  2201. <menuchoice>
  2202. <guibutton>Remote SMB port</guibutton>
  2203. </menuchoice>
  2204. </term>
  2205. <listitem>
  2206. <para>
  2207. Sets the remote SMB port number. Unless you are using a firewall (see also <link linkend="trouble_shooting_unfunc_browser">here</link> and <link linkend="trouble_shooting_suse_firewall">here</link>), you do not need to change anything here. This setting overwrites the <screen>smb ports = ...</screen> option defined in the <filename>smb.conf</filename> file.
  2208. </para>
  2209. <para>
  2210. Default: 139
  2211. </para>
  2212. </listitem>
  2213. </varlistentry>
  2214. </variablelist>
  2215. </sect3>
  2216. <sect3 id="configuration_samba_general_active">
  2217. <title>General : Authentication</title>
  2218. <variablelist>
  2219. <varlistentry>
  2220. <term>
  2221. <menuchoice>
  2222. <guibutton>Try to authenticate with Kerberos</guibutton>
  2223. </menuchoice>
  2224. </term>
  2225. <listitem>
  2226. <para>
  2227. Use Kerberos for authentication in an Active Directory environment.
  2228. </para>
  2229. <para>
  2230. Default: not selected
  2231. </para>
  2232. </listitem>
  2233. </varlistentry>
  2234. <varlistentry>
  2235. <term>
  2236. <menuchoice>
  2237. <guibutton>Authenticate as machine account</guibutton>
  2238. </menuchoice>
  2239. </term>
  2240. <listitem>
  2241. <para>
  2242. Make queries to the remote server using the machine account of the local server.
  2243. </para>
  2244. <para>
  2245. Default: not selected
  2246. </para>
  2247. </listitem>
  2248. </varlistentry>
  2249. </variablelist>
  2250. </sect3>
  2251. <sect3 id="configuration_samba_mount_fs">
  2252. <title>mount : File System</title>
  2253. <para>Choose the file system you want to use for mounting. The default is the CIFS file system that normally works with most of the servers on your network neighborhood. However, it cannot handle servers that are running Windows Me or older yet. So, if the <emphasis>vast majority</emphasis> of the servers are running one of those operating systems, you should consider to choose the SMBFS file system. If you do not have <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> and <ulink url="man:/umount.cifs"><citerefentry><refentrytitle>umount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> installed, &smb4k; will automatically switch to the SMBFS file system.</para>
  2254. <para>To change the file system only for a few servers, use the <link linkend="mainwindow_network_custom">Custom Options</link> dialog.</para>
  2255. <para><emphasis role="bold">Note:</emphasis> Under FreeBSD there is only the SMBFS file system available.</para>
  2256. <para>Default: CIFS</para>
  2257. </sect3>
  2258. <sect3 id="configuration_samba_mount_perms">
  2259. <title>mount : Permissions</title>
  2260. <variablelist>
  2261. <varlistentry>
  2262. <term>
  2263. <menuchoice>
  2264. <guibutton>File mask</guibutton>
  2265. </menuchoice>
  2266. </term>
  2267. <listitem>
  2268. <para>
  2269. 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.
  2270. </para>
  2271. <para>
  2272. Default: 0755
  2273. </para>
  2274. </listitem>
  2275. </varlistentry>
  2276. <varlistentry>
  2277. <term>
  2278. <menuchoice>
  2279. <guibutton>Directory mask</guibutton>
  2280. </menuchoice>
  2281. </term>
  2282. <listitem>
  2283. <para>
  2284. Sets the permissions that are applied to directories. The value is given in octal and has to have 4 digits. To learn more about the directory 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.
  2285. </para>
  2286. <para>
  2287. Default: 0755
  2288. </para>
  2289. </listitem>
  2290. </varlistentry>
  2291. <varlistentry>
  2292. <term>
  2293. <menuchoice>
  2294. <guibutton>Write access</guibutton>
  2295. </menuchoice>
  2296. </term>
  2297. <listitem>
  2298. <para>
  2299. Here you can determine if the shares should be mounted <emphasis>read-write</emphasis> or <emphasis>read-only</emphasis>. This option is independent of the file mask and the directory mask settings above.
  2300. </para>
  2301. <para>
  2302. Default: read-write
  2303. </para>
  2304. </listitem>
  2305. </varlistentry>
  2306. </variablelist>
  2307. </sect3>
  2308. <sect3 id="configuration_samba_mount_char">
  2309. <title>mount : Charset and Codepage</title>
  2310. <variablelist>
  2311. <varlistentry>
  2312. <term>
  2313. <menuchoice>
  2314. <guibutton>Client charset</guibutton>
  2315. </menuchoice>
  2316. </term>
  2317. <listitem>
  2318. <para>Sets the charset used by the client side (i.e. your computer)
  2319. <itemizedlist>
  2320. <listitem><para><emphasis>SMBFS:</emphasis> for codepage to charset translations (NLS).</para></listitem>
  2321. <listitem><para><emphasis>CIFS:</emphasis> to convert local path names to and from Unicode. If the server does not support Unicode, this parameter is ignored.</para></listitem>
  2322. </itemizedlist>
  2323. </para>
  2324. <para>
  2325. Default: default
  2326. </para>
  2327. </listitem>
  2328. </varlistentry>
  2329. <varlistentry>
  2330. <term>
  2331. <menuchoice>
  2332. <guibutton>Server codepage</guibutton>
  2333. </menuchoice>
  2334. </term>
  2335. <listitem>
  2336. <para>
  2337. Sets the codepage the server uses. This option is only available with the SMBFS file system.
  2338. </para>
  2339. <para>
  2340. Default: default
  2341. </para>
  2342. </listitem>
  2343. </varlistentry>
  2344. </variablelist>
  2345. </sect3>
  2346. <sect3 id="configuration_samba_mount_user">
  2347. <title>mount : User and Group</title>
  2348. <variablelist>
  2349. <varlistentry>
  2350. <term>
  2351. <menuchoice>
  2352. <guibutton>User ID</guibutton>
  2353. </menuchoice>
  2354. </term>
  2355. <listitem>
  2356. <para>
  2357. Sets the owner of the files and directories in the file system. By default, your UID will be used. If you are using the CIFS file system, this parameter is ignored if the target server supports the CIFS Unix extensions.
  2358. </para>
  2359. <para>
  2360. Default: your UID
  2361. </para>
  2362. </listitem>
  2363. </varlistentry>
  2364. <varlistentry>
  2365. <term>
  2366. <menuchoice>
  2367. <guibutton>Group ID</guibutton>
  2368. </menuchoice>
  2369. </term>
  2370. <listitem>
  2371. <para>
  2372. Sets the group that owns the files and directories in the file system. By default, your GID will be used. If you are using the CIFS file system, this parameter is ignored if the target server supports the CIFS Unix extensions.
  2373. </para>
  2374. <para>
  2375. Default: your GID
  2376. </para>
  2377. </listitem>
  2378. </varlistentry>
  2379. </variablelist>
  2380. </sect3>
  2381. <sect3 id="configuration_samba_mount_advanced_cifs">
  2382. <title>mount : Advanced CIFS Options</title>
  2383. <para><emphasis>(This widget is not available under FreeBSD.)</emphasis></para>
  2384. <para>Most of the options you can define here require Linux kernel 2.6.15 or later to work.</para>
  2385. <variablelist>
  2386. <varlistentry>
  2387. <term>
  2388. <menuchoice>
  2389. <guibutton>Do permission checks</guibutton>
  2390. </menuchoice>
  2391. </term>
  2392. <listitem>
  2393. <para>
  2394. 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.
  2395. </para>
  2396. <para>
  2397. Default: selected
  2398. </para>
  2399. </listitem>
  2400. </varlistentry>
  2401. <varlistentry>
  2402. <term>
  2403. <menuchoice>
  2404. <guibutton>Attempt to set UID and GID</guibutton>
  2405. </menuchoice>
  2406. </term>
  2407. <listitem>
  2408. <para>
  2409. 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.
  2410. </para>
  2411. <para>
  2412. Default: not selected
  2413. </para>
  2414. </listitem>
  2415. </varlistentry>
  2416. <varlistentry>
  2417. <term>
  2418. <menuchoice>
  2419. <guibutton>Use server inode numbers</guibutton>
  2420. </menuchoice>
  2421. </term>
  2422. <listitem>
  2423. <para>
  2424. 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.
  2425. </para>
  2426. <para>
  2427. Default: not selected
  2428. </para>
  2429. </listitem>
  2430. </varlistentry>
  2431. <varlistentry>
  2432. <term>
  2433. <menuchoice>
  2434. <guibutton>Do not cache inode data</guibutton>
  2435. </menuchoice>
  2436. </term>
  2437. <listitem>
  2438. <para>
  2439. 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.
  2440. </para>
  2441. <para>
  2442. Default: not selected
  2443. </para>
  2444. </listitem>
  2445. </varlistentry>
  2446. <varlistentry>
  2447. <term>
  2448. <menuchoice>
  2449. <guibutton>Translate reserved characters</guibutton>
  2450. </menuchoice>
  2451. </term>
  2452. <listitem>
  2453. <para>
  2454. Translate six of the seven reserved characters (not backslash, but including the colon, question mark, pipe, asterik, 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.
  2455. </para>
  2456. <para>
  2457. Default: not selected
  2458. </para>
  2459. </listitem>
  2460. </varlistentry>
  2461. <varlistentry>
  2462. <term>
  2463. <menuchoice>
  2464. <guibutton>Do not use locking</guibutton>
  2465. </menuchoice>
  2466. </term>
  2467. <listitem>
  2468. <para>
  2469. Do not use locking. Do not start lockd.
  2470. </para>
  2471. <para>
  2472. Default: not selected
  2473. </para>
  2474. </listitem>
  2475. </varlistentry>
  2476. <varlistentry>
  2477. <term>
  2478. <menuchoice>
  2479. <guibutton>Additional options</guibutton>
  2480. </menuchoice>
  2481. </term>
  2482. <listitem>
  2483. <para>
  2484. 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 options. 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>.
  2485. </para>
  2486. <para>
  2487. Default: none
  2488. </para>
  2489. </listitem>
  2490. </varlistentry>
  2491. </variablelist>
  2492. </sect3>
  2493. <sect3 id="configuration_samba_mount_misc">
  2494. <title>mount : Advanced SMBFS Options</title>
  2495. <para><emphasis>(This widget is not available under FreeBSD.)</emphasis></para>
  2496. <variablelist>
  2497. <varlistentry>
  2498. <term>
  2499. <menuchoice>
  2500. <guibutton>Use unicode when communicating with the server</guibutton>
  2501. </menuchoice>
  2502. </term>
  2503. <listitem>
  2504. <para>
  2505. Sets if unicode should be used when communicating with the server. This option is only available with the SMBFS file system.
  2506. </para>
  2507. <para>
  2508. Default: not selected
  2509. </para>
  2510. </listitem>
  2511. </varlistentry>
  2512. <varlistentry>
  2513. <term>
  2514. <menuchoice>
  2515. <guibutton>Use large file system support</guibutton>
  2516. </menuchoice>
  2517. </term>
  2518. <listitem>
  2519. <para>
  2520. Switch on large file system support (LFS). You should enable this check box, if you want to store large files that are bigger than 2 GB on a SMBFS file system (with CIFS you do not have this limitation). This option is only available with the SMBFS file system.
  2521. </para>
  2522. <para>
  2523. Default: not selected
  2524. </para>
  2525. </listitem>
  2526. </varlistentry>
  2527. <varlistentry>
  2528. <term>
  2529. <menuchoice>
  2530. <guibutton>Caching time of directory listings</guibutton>
  2531. </menuchoice>
  2532. </term>
  2533. <listitem>
  2534. <para>
  2535. Sets how long a directory listing is cached in milliseconds. A higher value means that changes on the server take longer to be notified but it can give better performance on large directories, especially over long distances. This option is only available with the SMBFS file system.
  2536. </para>
  2537. <para>
  2538. Default: 1000 ms
  2539. </para>
  2540. </listitem>
  2541. </varlistentry>
  2542. </variablelist>
  2543. </sect3>
  2544. <sect3 id="configuration_samba_net_protocol">
  2545. <title>net : Protocol Hint</title>
  2546. <para>With the settings in this box 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.</para>
  2547. <variablelist>
  2548. <varlistentry>
  2549. <term>
  2550. <menuchoice>
  2551. <guibutton>Automatic detection</guibutton>
  2552. </menuchoice>
  2553. </term>
  2554. <listitem>
  2555. <para>
  2556. 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 RAP protocol.
  2557. </para>
  2558. <para><emphasis role="bold">Note:</emphasis> If only a few and not all servers are affected, you should consider to use the <link linkend="mainwindow_network_custom">Custom Options</link> dialog to set the protocol hint and leave this option untouched.</para>
  2559. <para>
  2560. Default: selected
  2561. </para>
  2562. </listitem>
  2563. </varlistentry>
  2564. <varlistentry>
  2565. <term>
  2566. <menuchoice>
  2567. <guibutton>RPC: Modern operating systems</guibutton>
  2568. </menuchoice>
  2569. </term>
  2570. <listitem>
  2571. <para>
  2572. The RPC protocol is used by the modern Windows variants (2000/XP/2003) and by Samba.
  2573. </para>
  2574. <para>
  2575. Default: not selected
  2576. </para>
  2577. </listitem>
  2578. </varlistentry>
  2579. <varlistentry>
  2580. <term>
  2581. <menuchoice>
  2582. <guibutton>RAP: Older operating systems</guibutton>
  2583. </menuchoice>
  2584. </term>
  2585. <listitem>
  2586. <para>
  2587. 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.
  2588. </para>
  2589. <para>
  2590. Default: not selected
  2591. </para>
  2592. </listitem>
  2593. </varlistentry>
  2594. <varlistentry>
  2595. <term>
  2596. <menuchoice>
  2597. <guibutton>ADS: Active Directory environment (LDAP/Kerberos)</guibutton>
  2598. </menuchoice>
  2599. </term>
  2600. <listitem>
  2601. <para>
  2602. &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.
  2603. </para>
  2604. <para>
  2605. Default: not selected
  2606. </para>
  2607. </listitem>
  2608. </varlistentry>
  2609. </variablelist>
  2610. </sect3>
  2611. <sect3 id="configuration_samba_smbclient_misc">
  2612. <title>smbclient : Miscellaneous</title>
  2613. <variablelist>
  2614. <varlistentry>
  2615. <term>
  2616. <menuchoice>
  2617. <guibutton>Resolve order</guibutton>
  2618. </menuchoice>
  2619. </term>
  2620. <listitem>
  2621. <para>
  2622. 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>.
  2623. </para>
  2624. <para>
  2625. Default: options defined in <filename>smb.conf</filename>
  2626. </para>
  2627. </listitem>
  2628. </varlistentry>
  2629. <varlistentry>
  2630. <term>
  2631. <menuchoice>
  2632. <guibutton>Buffer size</guibutton>
  2633. </menuchoice>
  2634. </term>
  2635. <listitem>
  2636. <para>
  2637. Change the transmit/send buffer size when getting or putting a file from/to a remote server.
  2638. </para>
  2639. <para>
  2640. Default: 65520
  2641. </para>
  2642. </listitem>
  2643. </varlistentry>
  2644. <varlistentry>
  2645. <term>
  2646. <menuchoice>
  2647. <guibutton>Signing state</guibutton>
  2648. </menuchoice>
  2649. </term>
  2650. <listitem>
  2651. <para>
  2652. Set the client signing state.
  2653. </para>
  2654. <para>
  2655. Default: none
  2656. </para>
  2657. </listitem>
  2658. </varlistentry>
  2659. </variablelist>
  2660. </sect3>
  2661. <sect3 id="configuration_samba_nmblookup_misc">
  2662. <title>nmblookup : Miscellaneous</title>
  2663. <variablelist>
  2664. <varlistentry>
  2665. <term>
  2666. <menuchoice>
  2667. <guibutton>Broadcast address</guibutton>
  2668. </menuchoice>
  2669. </term>
  2670. <listitem>
  2671. <para>
  2672. 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.
  2673. </para>
  2674. <para>
  2675. Default: options defined in <filename>smb.conf</filename>
  2676. </para>
  2677. </listitem>
  2678. </varlistentry>
  2679. <varlistentry>
  2680. <term>
  2681. <menuchoice>
  2682. <guibutton>Try and bind to UDP port 137 to send and receive UDP datagrams</guibutton>
  2683. </menuchoice>
  2684. </term>
  2685. <listitem>
  2686. <para>
  2687. 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.
  2688. </para>
  2689. <para>
  2690. Default: not selected
  2691. </para>
  2692. </listitem>
  2693. </varlistentry>
  2694. </variablelist>
  2695. </sect3>
  2696. <sect3 id="configuration_samba_custom_options">
  2697. <title>Custom</title>
  2698. <para>All servers and shares for which you defined custom options are listed here. The options can be changed by selecting an item and modifying the settings with the input widgets. A single entry can be removed by clicking the <guibutton>Remove</guibutton> button. The <guibutton>Remove All</guibutton> button removes all entries at once.</para>
  2699. </sect3>
  2700. </sect2>
  2701. <!-- Configuration: Synchronization -->
  2702. <sect2 id="configuration_sync">
  2703. <title>Synchronization</title>
  2704. <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 or 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, save settings are pre-defined. You will do no harm, if you start right away.</para>
  2705. <screenshot>
  2706. <screeninfo>Screenshot of the "Synchronization" configuration tab</screeninfo>
  2707. <mediaobject>
  2708. <imageobject>
  2709. <imagedata fileref="configuration_synchronization.png" format="PNG" />
  2710. </imageobject>
  2711. <textobject>
  2712. <phrase>The "Synchronization" configuration tab</phrase>
  2713. </textobject>
  2714. </mediaobject>
  2715. </screenshot>
  2716. <sect3 id="configuration_sync_copying_defdest">
  2717. <title>Copying : Default Destination</title>
  2718. <variablelist>
  2719. <varlistentry>
  2720. <term>
  2721. <menuchoice>
  2722. <guibutton>Rsync prefix</guibutton>
  2723. </menuchoice>
  2724. </term>
  2725. <listitem>
  2726. <para>This is the directory where <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> stores the transferred data by default. If you want to synchronize several shares, you should define different directories in the <link linkend="mainwindow_shares_synchronization">synchronization dialog</link>.</para>
  2727. <para>
  2728. Default: <filename class="directory">$HOME/smb4k_sync/</filename>
  2729. </para>
  2730. </listitem>
  2731. </varlistentry>
  2732. </variablelist>
  2733. </sect3>
  2734. <sect3 id="configuration_sync_copying_general">
  2735. <title>Copying : General</title>
  2736. <variablelist>
  2737. <varlistentry>
  2738. <term>
  2739. <menuchoice>
  2740. <guibutton>Archive mode</guibutton>
  2741. </menuchoice>
  2742. </term>
  2743. <listitem>
  2744. <para>Option: <option>-a</option>/<option>--archive</option>, same as <option>-rlptgoD</option> (no <option>-H</option>)</para>
  2745. <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>
  2746. <para>
  2747. Default: selected
  2748. </para>
  2749. </listitem>
  2750. </varlistentry>
  2751. <varlistentry>
  2752. <term>
  2753. <menuchoice>
  2754. <guibutton>Recurse into directories</guibutton>
  2755. </menuchoice>
  2756. </term>
  2757. <listitem>
  2758. <para>Option: <option>-r</option>/<option>--recursive</option></para>
  2759. <para>Recurse into subdirectories.</para>
  2760. <para>
  2761. Default: selected
  2762. </para>
  2763. </listitem>
  2764. </varlistentry>
  2765. <varlistentry>
  2766. <term>
  2767. <menuchoice>
  2768. <guibutton>Skip files that are newer in target directory</guibutton>
  2769. </menuchoice>
  2770. </term>
  2771. <listitem>
  2772. <para>Option: <option>-u</option>/<option>--update</option></para>
  2773. <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>
  2774. <para>
  2775. Default: selected
  2776. </para>
  2777. </listitem>
  2778. </varlistentry>
  2779. <varlistentry>
  2780. <term>
  2781. <menuchoice>
  2782. <guibutton>Update destination files in place</guibutton>
  2783. </menuchoice>
  2784. </term>
  2785. <listitem>
  2786. <para>Option: <option>--inplace</option></para>
  2787. <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 can't 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>
  2788. <para>For further information you ought to read the <ulink url="man:/rsync">manual page</ulink>.</para>
  2789. <para>
  2790. Default: not selected
  2791. </para>
  2792. </listitem>
  2793. </varlistentry>
  2794. <varlistentry>
  2795. <term>
  2796. <menuchoice>
  2797. <guibutton>Use relative path names</guibutton>
  2798. </menuchoice>
  2799. </term>
  2800. <listitem>
  2801. <para>Option: <option>-R</option>/<option>--relative</option></para>
  2802. <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>
  2803. <para>
  2804. Default: not selected
  2805. </para>
  2806. </listitem>
  2807. </varlistentry>
  2808. <varlistentry>
  2809. <term>
  2810. <menuchoice>
  2811. <guibutton>Don't send implied directories</guibutton>
  2812. </menuchoice>
  2813. </term>
  2814. <listitem>
  2815. <para>Option: <option>--no-implied-dirs</option></para>
  2816. <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 directory on one side of the transfer, and a real directory on the other side.</para>
  2817. <para>For further information you ought to read the <ulink url="man:/rsync">manual page</ulink>.</para>
  2818. <para>
  2819. Default: not selected
  2820. </para>
  2821. </listitem>
  2822. </varlistentry>
  2823. <varlistentry>
  2824. <term>
  2825. <menuchoice>
  2826. <guibutton>Transfer directories without recursing</guibutton>
  2827. </menuchoice>
  2828. </term>
  2829. <listitem>
  2830. <para>Option: <option>-d</option>/<option>--dirs</option></para>
  2831. <para>Tell the sending side to include any directories that are encountered. Unlike <option>--recursive</option>, a directory's contents is not copied unless the directory name specified is "." or ends with a trailing slash (e.g. ".", "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>
  2832. <para>
  2833. Default: not selected
  2834. </para>
  2835. </listitem>
  2836. </varlistentry>
  2837. <varlistentry>
  2838. <term>
  2839. <menuchoice>
  2840. <guibutton>Compress data during transfer</guibutton>
  2841. </menuchoice>
  2842. </term>
  2843. <listitem>
  2844. <para>Option: <option>-z</option>/<option>--compress</option></para>
  2845. <para>Compress file data during the transfer.</para>
  2846. <para>
  2847. Default: not selected
  2848. </para>
  2849. </listitem>
  2850. </varlistentry>
  2851. </variablelist>
  2852. </sect3>
  2853. <sect3 id="configuration_sync_copying_links">
  2854. <title>Copying : Links</title>
  2855. <variablelist>
  2856. <varlistentry>
  2857. <term>
  2858. <menuchoice>
  2859. <guibutton>Preserve symlinks</guibutton>
  2860. </menuchoice>
  2861. </term>
  2862. <listitem>
  2863. <para>Option: <option>-l</option>/<option>--links</option></para>
  2864. <para>Copy symlinks as symlinks.</para>
  2865. <para>
  2866. Default: selected
  2867. </para>
  2868. </listitem>
  2869. </varlistentry>
  2870. <varlistentry>
  2871. <term>
  2872. <menuchoice>
  2873. <guibutton>Transform symlinks</guibutton>
  2874. </menuchoice>
  2875. </term>
  2876. <listitem>
  2877. <para>Option: <option>-L</option>/<option>--copy-links</option></para>
  2878. <para>When symlinks are encountered, the item that they point to is copied, rather than the symlink.</para>
  2879. <para>
  2880. Default: not selected
  2881. </para>
  2882. </listitem>
  2883. </varlistentry>
  2884. <varlistentry>
  2885. <term>
  2886. <menuchoice>
  2887. <guibutton>Only transform unsafe symlinks</guibutton>
  2888. </menuchoice>
  2889. </term>
  2890. <listitem>
  2891. <para>Option: <option>--copy-unsafe-links</option></para>
  2892. <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>
  2893. <para>
  2894. Default: not selected
  2895. </para>
  2896. </listitem>
  2897. </varlistentry>
  2898. <varlistentry>
  2899. <term>
  2900. <menuchoice>
  2901. <guibutton>Ignore unsafe symlinks</guibutton>
  2902. </menuchoice>
  2903. </term>
  2904. <listitem>
  2905. <para>Option: <option>--safe-links</option></para>
  2906. <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>
  2907. <para>
  2908. Default: not selected
  2909. </para>
  2910. </listitem>
  2911. </varlistentry>
  2912. <varlistentry>
  2913. <term>
  2914. <menuchoice>
  2915. <guibutton>Preserve hard links</guibutton>
  2916. </menuchoice>
  2917. </term>
  2918. <listitem>
  2919. <para>Option: <option>-H</option>/<option>--hard-links</option></para>
  2920. <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>
  2921. <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>
  2922. <para>
  2923. Default: not selected
  2924. </para>
  2925. </listitem>
  2926. </varlistentry>
  2927. <varlistentry>
  2928. <term>
  2929. <menuchoice>
  2930. <guibutton>Keep directory symlinks</guibutton>
  2931. </menuchoice>
  2932. </term>
  2933. <listitem>
  2934. <para>Option: <option>-K</option>/<option>--keep-dirlinks</option></para>
  2935. <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>
  2936. <para>
  2937. Default: not selected
  2938. </para>
  2939. </listitem>
  2940. </varlistentry>
  2941. </variablelist>
  2942. </sect3>
  2943. <sect3 id="configuration_sync_copying_perms">
  2944. <title>Copying : File Permissions, etc.</title>
  2945. <variablelist>
  2946. <varlistentry>
  2947. <term>
  2948. <menuchoice>
  2949. <guibutton>Preserve permissions</guibutton>
  2950. </menuchoice>
  2951. </term>
  2952. <listitem>
  2953. <para>Option: <option>-p</option>/<option>--perms</option></para>
  2954. <para>This option causes the receiving side to set the destination permissions to be the same as the source permissions.</para>
  2955. <para>
  2956. Default: selected
  2957. </para>
  2958. </listitem>
  2959. </varlistentry>
  2960. <varlistentry>
  2961. <term>
  2962. <menuchoice>
  2963. <guibutton>Preserve group</guibutton>
  2964. </menuchoice>
  2965. </term>
  2966. <listitem>
  2967. <para>Option: <option>-g</option>/<option>--group</option></para>
  2968. <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 th 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>
  2969. <para>
  2970. Default: selected
  2971. </para>
  2972. </listitem>
  2973. </varlistentry>
  2974. <varlistentry>
  2975. <term>
  2976. <menuchoice>
  2977. <guibutton>Preserve owner</guibutton>
  2978. </menuchoice>
  2979. </term>
  2980. <listitem>
  2981. <para>Option: <option>-o</option>/<option>--owner</option></para>
  2982. <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>
  2983. <para>
  2984. Default: selected
  2985. </para>
  2986. </listitem>
  2987. </varlistentry>
  2988. <varlistentry>
  2989. <term>
  2990. <menuchoice>
  2991. <guibutton>Preserve device and special files</guibutton>
  2992. </menuchoice>
  2993. </term>
  2994. <listitem>
  2995. <para>Option: <option>-D</option>/<option>--devices --specials</option></para>
  2996. <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 no effect if the receiving side is not run as the super user and <option>--super</option> is not specified.</para>
  2997. <para>
  2998. Default: selected
  2999. </para>
  3000. </listitem>
  3001. </varlistentry>
  3002. <varlistentry>
  3003. <term>
  3004. <menuchoice>
  3005. <guibutton>Preserve times</guibutton>
  3006. </menuchoice>
  3007. </term>
  3008. <listitem>
  3009. <para>Option: <option>-t</option>/<option>--times</option></para>
  3010. <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>
  3011. <para>
  3012. Default: selected
  3013. </para>
  3014. </listitem>
  3015. </varlistentry>
  3016. <varlistentry>
  3017. <term>
  3018. <menuchoice>
  3019. <guibutton>Omit directories when preserving times</guibutton>
  3020. </menuchoice>
  3021. </term>
  3022. <listitem>
  3023. <para>Option: <option>-O</option>/<option>--omit-dir-times</option></para>
  3024. <para>This tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to omit directories when it is preserving modifiction times (see <option>--times</option>).</para>
  3025. <para>
  3026. Default: not selected
  3027. </para>
  3028. </listitem>
  3029. </varlistentry>
  3030. </variablelist>
  3031. </sect3>
  3032. <sect3 id="configuration_sync_filedel_filedel">
  3033. <title>File Deletion &amp; Transfer : File Deletion</title>
  3034. <variablelist>
  3035. <varlistentry>
  3036. <term>
  3037. <menuchoice>
  3038. <guibutton>Remove synchronized source files</guibutton>
  3039. </menuchoice>
  3040. </term>
  3041. <listitem>
  3042. <para>Option: <option>--remove-source-files</option></para>
  3043. <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>
  3044. <para>
  3045. Default: not selected
  3046. </para>
  3047. </listitem>
  3048. </varlistentry>
  3049. <varlistentry>
  3050. <term>
  3051. <menuchoice>
  3052. <guibutton>Delete extraneous files</guibutton>
  3053. </menuchoice>
  3054. </term>
  3055. <listitem>
  3056. <para>Option: <option>--delete</option></para>
  3057. <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 directory (e.g. "<filename class="directory">dir</filename>" or "<filename class="directory">dir/</filename>") without using a wildcard for the directory's contents (e.g. "<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 directory. 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>
  3058. <para>
  3059. Default: not selected
  3060. </para>
  3061. </listitem>
  3062. </varlistentry>
  3063. <varlistentry>
  3064. <term>
  3065. <menuchoice>
  3066. <guibutton>Delete files before transfer</guibutton>
  3067. </menuchoice>
  3068. </term>
  3069. <listitem>
  3070. <para>Option: <option>--delete-before</option></para>
  3071. <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>
  3072. <para>
  3073. Default: not selected
  3074. </para>
  3075. </listitem>
  3076. </varlistentry>
  3077. <varlistentry>
  3078. <term>
  3079. <menuchoice>
  3080. <guibutton>Delete files after transfer</guibutton>
  3081. </menuchoice>
  3082. </term>
  3083. <listitem>
  3084. <para>Option: <option>--delete-after</option></para>
  3085. <para>Request that the file deletions on the receiving side be done after the transfer has completed.</para>
  3086. <para>
  3087. Default: not selected
  3088. </para>
  3089. </listitem>
  3090. </varlistentry>
  3091. <varlistentry>
  3092. <term>
  3093. <menuchoice>
  3094. <guibutton>Delete files during transfer</guibutton>
  3095. </menuchoice>
  3096. </term>
  3097. <listitem>
  3098. <para>Option: <option>--delete-during</option></para>
  3099. <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>
  3100. <para>
  3101. Default: not selected
  3102. </para>
  3103. </listitem>
  3104. </varlistentry>
  3105. <varlistentry>
  3106. <term>
  3107. <menuchoice>
  3108. <guibutton>Also delete excluded files</guibutton>
  3109. </menuchoice>
  3110. </term>
  3111. <listitem>
  3112. <para>Option: <option>--delete-excluded</option></para>
  3113. <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>
  3114. <para>
  3115. Default: not selected
  3116. </para>
  3117. </listitem>
  3118. </varlistentry>
  3119. <varlistentry>
  3120. <term>
  3121. <menuchoice>
  3122. <guibutton>Delete even if I/O errors occur</guibutton>
  3123. </menuchoice>
  3124. </term>
  3125. <listitem>
  3126. <para>Option: <option>--ignore-errors</option></para>
  3127. <para>Tells <option>--delete</option> to go ahead and delete files even when there are I/O errors.</para>
  3128. <para>
  3129. Default: not selected
  3130. </para>
  3131. </listitem>
  3132. </varlistentry>
  3133. <varlistentry>
  3134. <term>
  3135. <menuchoice>
  3136. <guibutton>Force deletion of non-void directories</guibutton>
  3137. </menuchoice>
  3138. </term>
  3139. <listitem>
  3140. <para>Option: <option>--force</option></para>
  3141. <para>This option tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to delete a non-empty directory when it is to be replaced by a non-directory. This is only relevant if deletions are not active (see <option>--delete</option>).</para>
  3142. <para>
  3143. Default: not selected
  3144. </para>
  3145. </listitem>
  3146. </varlistentry>
  3147. </variablelist>
  3148. </sect3>
  3149. <sect3 id="configuration_sync_filedel_restrict">
  3150. <title>File Deletion &amp; Transfer : Restrictions</title>
  3151. <variablelist>
  3152. <varlistentry>
  3153. <term>
  3154. <menuchoice>
  3155. <guibutton>Don't delete more than this many files</guibutton>
  3156. </menuchoice>
  3157. </term>
  3158. <listitem>
  3159. <para>Option: <option>--max-delete=NUM</option></para>
  3160. <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>
  3161. <para>
  3162. Default: not selected; NUM: 0
  3163. </para>
  3164. </listitem>
  3165. </varlistentry>
  3166. </variablelist>
  3167. </sect3>
  3168. <sect3 id="configuration_sync_filedel_transfer">
  3169. <title>File Deletion &amp; Transfer : File Transfer</title>
  3170. <variablelist>
  3171. <varlistentry>
  3172. <term>
  3173. <menuchoice>
  3174. <guibutton>Don't transfer any file smaller than</guibutton>
  3175. </menuchoice>
  3176. </term>
  3177. <listitem>
  3178. <para>Option: <option>--min-size=NUM</option></para>
  3179. <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>
  3180. <para>
  3181. Default: not selected; NUM: 0 kB
  3182. </para>
  3183. </listitem>
  3184. </varlistentry>
  3185. <varlistentry>
  3186. <term>
  3187. <menuchoice>
  3188. <guibutton>Don't transfer any file larger than</guibutton>
  3189. </menuchoice>
  3190. </term>
  3191. <listitem>
  3192. <para>Option: <option>--max-size=NUM</option></para>
  3193. <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>
  3194. <para>
  3195. Default: not selected; NUM: 0 kB
  3196. </para>
  3197. </listitem>
  3198. </varlistentry>
  3199. <varlistentry>
  3200. <term>
  3201. <menuchoice>
  3202. <guibutton>Keep partially transferred files</guibutton>
  3203. </menuchoice>
  3204. </term>
  3205. <listitem>
  3206. <para>Option: <option>--partial</option></para>
  3207. <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>
  3208. <para>
  3209. Default: not selected
  3210. </para>
  3211. </listitem>
  3212. </varlistentry>
  3213. <varlistentry>
  3214. <term>
  3215. <menuchoice>
  3216. <guibutton>Put a partially transferred file into</guibutton>
  3217. </menuchoice>
  3218. </term>
  3219. <listitem>
  3220. <para>Option: <option>--partial-dir=DIR</option></para>
  3221. <para>A better way to keep partial files than the <option>--partial</option> option is to specify a directory 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 directory 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>
  3222. <para>
  3223. Default: not selected; DIR: <filename class="directory">$HOME</filename>
  3224. </para>
  3225. </listitem>
  3226. </varlistentry>
  3227. </variablelist>
  3228. </sect3>
  3229. <sect3 id="configuration_sync_filter_general">
  3230. <title>Filtering : General</title>
  3231. <variablelist>
  3232. <varlistentry>
  3233. <term>
  3234. <menuchoice>
  3235. <guibutton>Auto-ignore files in the same way CVS does</guibutton>
  3236. </menuchoice>
  3237. </term>
  3238. <listitem>
  3239. <para>Option: <option>-C</option>/<option>--cvs-exclude</option></para>
  3240. <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>
  3241. <para>
  3242. Default: not selected
  3243. </para>
  3244. </listitem>
  3245. </varlistentry>
  3246. <varlistentry>
  3247. <term>
  3248. <menuchoice>
  3249. <guibutton>Exclude files matching this pattern</guibutton>
  3250. </menuchoice>
  3251. </term>
  3252. <listitem>
  3253. <para>Option: <option>--exclude=PATTERN</option></para>
  3254. <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>
  3255. <para>
  3256. Default: not selected; PATTERN: empty
  3257. </para>
  3258. </listitem>
  3259. </varlistentry>
  3260. <varlistentry>
  3261. <term>
  3262. <menuchoice>
  3263. <guibutton>Read exclude exclude patterns from</guibutton>
  3264. </menuchoice>
  3265. </term>
  3266. <listitem>
  3267. <para>Option: <option>--exclude-from=FILE</option></para>
  3268. <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>
  3269. <para>
  3270. Default: not selected; FILE: <filename>$HOME/exclude.txt</filename>
  3271. </para>
  3272. </listitem>
  3273. </varlistentry>
  3274. <varlistentry>
  3275. <term>
  3276. <menuchoice>
  3277. <guibutton>Don't exclude files matching this pattern</guibutton>
  3278. </menuchoice>
  3279. </term>
  3280. <listitem>
  3281. <para>Option: <option>--include=PATTERN</option></para>
  3282. <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>
  3283. <para>
  3284. Default: not selected; PATTERN: empty
  3285. </para>
  3286. </listitem>
  3287. </varlistentry>
  3288. <varlistentry>
  3289. <term>
  3290. <menuchoice>
  3291. <guibutton>Read include patterns from</guibutton>
  3292. </menuchoice>
  3293. </term>
  3294. <listitem>
  3295. <para>Option: <option>--include-from=FILE</option></para>
  3296. <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>
  3297. <para>
  3298. Default: not selected; FILE: <filename>$HOME/include.txt</filename>
  3299. </para>
  3300. </listitem>
  3301. </varlistentry>
  3302. </variablelist>
  3303. </sect3>
  3304. <sect3 id="configuration_sync_filter_rules">
  3305. <title>Filtering : Filter Rules</title>
  3306. <variablelist>
  3307. <varlistentry>
  3308. <term>
  3309. <menuchoice>
  3310. <guibutton>[Filter rules text box]</guibutton>
  3311. </menuchoice>
  3312. </term>
  3313. <listitem>
  3314. <para>Option: <option>-f</option>/<option>--filter=RULE</option></para>
  3315. <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>
  3316. <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>
  3317. <para>You may use as many <option>--filter</option> options as you like to build up the list of files to exclude.</para>
  3318. <para>See the FILTER RULES section of the <ulink url="man:/rsync">manual page</ulink> for detailed information on this option.</para>
  3319. <para>
  3320. Default: empty
  3321. </para>
  3322. </listitem>
  3323. </varlistentry>
  3324. <varlistentry>
  3325. <term>
  3326. <menuchoice>
  3327. <guibutton>Use --filter='dir-merge /.rsync-filter' filter rule</guibutton>
  3328. </menuchoice>
  3329. </term>
  3330. <listitem>
  3331. <para>Option: <option>-F</option></para>
  3332. <para>This option tells <ulink url="man:/rsync"><citerefentry><refentrytitle>rsync</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to look for per-directory <filename>.rsync-filter</filename> files that have been sprinkled through the hierarchy and use their rules to filter the files in the transfer.</para>
  3333. <para>See the FILTER RULES section of the <ulink url="man:/rsync">manual page</ulink> for detailed information on how this option works.</para>
  3334. <para>
  3335. Default: not selected
  3336. </para>
  3337. </listitem>
  3338. </varlistentry>
  3339. <varlistentry>
  3340. <term>
  3341. <menuchoice>
  3342. <guibutton>Use --filter='exclude .rsync-filter' filter rule</guibutton>
  3343. </menuchoice>
  3344. </term>
  3345. <listitem>
  3346. <para>Option: <option>-FF</option></para>
  3347. <para>This option filters out the <filename>.rsync-filter</filename> files themselves from the transfer.</para>
  3348. <para>See the FILTER RULES section of the <ulink url="man:/rsync">manual page</ulink> for detailed information on how this option works.</para>
  3349. <para>
  3350. Default: not selected
  3351. </para>
  3352. </listitem>
  3353. </varlistentry>
  3354. </variablelist>
  3355. </sect3>
  3356. <sect3 id="configuration_sync_advanced_general">
  3357. <title>Advanced : General</title>
  3358. <variablelist>
  3359. <varlistentry>
  3360. <term>
  3361. <menuchoice>
  3362. <guibutton>Handle sparse files efficiently</guibutton>
  3363. </menuchoice>
  3364. </term>
  3365. <listitem>
  3366. <para>Option: <option>-S</option>/<option>--sparse</option></para>
  3367. <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>
  3368. <para><emphasis role="bold">Note:</emphasis> Don't 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>
  3369. <para>
  3370. Default: not selected
  3371. </para>
  3372. </listitem>
  3373. </varlistentry>
  3374. <varlistentry>
  3375. <term>
  3376. <menuchoice>
  3377. <guibutton>Copy files whole (no rsync algorithm)</guibutton>
  3378. </menuchoice>
  3379. </term>
  3380. <listitem>
  3381. <para>Option: <option>-W</option>/<option>--whole-file</option></para>
  3382. <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>
  3383. <para>
  3384. Default: not selected
  3385. </para>
  3386. </listitem>
  3387. </varlistentry>
  3388. <varlistentry>
  3389. <term>
  3390. <menuchoice>
  3391. <guibutton>Don't cross file system boundaries</guibutton>
  3392. </menuchoice>
  3393. </term>
  3394. <listitem>
  3395. <para>Option: <option>-x</option>/<option>--one-file-system</option></para>
  3396. <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 directory 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>
  3397. <para>
  3398. Default: not selected
  3399. </para>
  3400. </listitem>
  3401. </varlistentry>
  3402. <varlistentry>
  3403. <term>
  3404. <menuchoice>
  3405. <guibutton>Only update files that already exist</guibutton>
  3406. </menuchoice>
  3407. </term>
  3408. <listitem>
  3409. <para>Option: <option>--existing</option>/<option>--ignore-non-existing</option></para>
  3410. <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>
  3411. <para>
  3412. Default: not selected
  3413. </para>
  3414. </listitem>
  3415. </varlistentry>
  3416. <varlistentry>
  3417. <term>
  3418. <menuchoice>
  3419. <guibutton>Ignore files that already exist</guibutton>
  3420. </menuchoice>
  3421. </term>
  3422. <listitem>
  3423. <para>Option: <option>--ignore-existing</option></para>
  3424. <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>
  3425. <para>
  3426. Default: not selected
  3427. </para>
  3428. </listitem>
  3429. </varlistentry>
  3430. <varlistentry>
  3431. <term>
  3432. <menuchoice>
  3433. <guibutton>Delay updates until the end of transfer</guibutton>
  3434. </menuchoice>
  3435. </term>
  3436. <listitem>
  3437. <para>Option: <option>--delay-updates</option></para>
  3438. <para>This option puts the temporary file from each updated file into a holding directory until the end of the transfer, at which time all the files are renamed into place in rapid succession.</para>
  3439. <para>It is strongly recommended that you read the <ulink url="man:/rsync">manual page</ulink> before using this option.</para>
  3440. <para>
  3441. Default: not selected
  3442. </para>
  3443. </listitem>
  3444. </varlistentry>
  3445. </variablelist>
  3446. </sect3>
  3447. <sect3 id="configuration_sync_advanced_backup">
  3448. <title>Advanced : Backup</title>
  3449. <variablelist>
  3450. <varlistentry>
  3451. <term>
  3452. <menuchoice>
  3453. <guibutton>Make backups</guibutton>
  3454. </menuchoice>
  3455. </term>
  3456. <listitem>
  3457. <para>Option: <option>-b</option>/<option>--backups</option></para>
  3458. <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>
  3459. <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 (e.g. <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 (e.g., if your rules specify a trailing inclusion/exclusion of '*', the auto-added rule would never be reached).</para>
  3460. <para>
  3461. Default: not selected
  3462. </para>
  3463. </listitem>
  3464. </varlistentry>
  3465. <varlistentry>
  3466. <term>
  3467. <menuchoice>
  3468. <guibutton>Backup suffix</guibutton>
  3469. </menuchoice>
  3470. </term>
  3471. <listitem>
  3472. <para>Option: <option>--suffix=SUFFIX</option></para>
  3473. <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>
  3474. <para>This option is only available if you ticked the <guilabel>Make backups</guilabel> option above.</para>
  3475. <para>
  3476. Default: not selected; SUFFIX: ~
  3477. </para>
  3478. </listitem>
  3479. </varlistentry>
  3480. <varlistentry>
  3481. <term>
  3482. <menuchoice>
  3483. <guibutton>Backup directory</guibutton>
  3484. </menuchoice>
  3485. </term>
  3486. <listitem>
  3487. <para>Option: <option>--backup-dir=DIR</option></para>
  3488. <para>In combination with the <option>--backup</option> option, this tells rsync to store all backups in the specified directory. 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 directory will keep their original filenames).</para>
  3489. <para>This option is only available if you ticked the <guilabel>Make backups</guilabel> option above.</para>
  3490. <para>
  3491. Default: not selected; DIR: <envar>$HOME</envar>
  3492. </para>
  3493. </listitem>
  3494. </varlistentry>
  3495. </variablelist>
  3496. </sect3>
  3497. <sect3 id="configuration_sync_advanced_checksums">
  3498. <title>Advanced : Checksums</title>
  3499. <variablelist>
  3500. <varlistentry>
  3501. <term>
  3502. <menuchoice>
  3503. <guibutton>Force fixed checksum block size</guibutton>
  3504. </menuchoice>
  3505. </term>
  3506. <listitem>
  3507. <para>Option: <option>-B</option>/<option>--block-size=SIZE</option></para>
  3508. <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="">technical report</ulink> for details.</para>
  3509. <para>
  3510. Default: not selected; SIZE: 0
  3511. </para>
  3512. </listitem>
  3513. </varlistentry>
  3514. <varlistentry>
  3515. <term>
  3516. <menuchoice>
  3517. <guibutton>Set block/file checksum seed</guibutton>
  3518. </menuchoice>
  3519. </term>
  3520. <listitem>
  3521. <para>Option: <option>--checksum-seed=NUM</option></para>
  3522. <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>
  3523. <para>
  3524. Default: not selected; NUM: 0
  3525. </para>
  3526. </listitem>
  3527. </varlistentry>
  3528. <varlistentry>
  3529. <term>
  3530. <menuchoice>
  3531. <guibutton>Skip files based on checksum</guibutton>
  3532. </menuchoice>
  3533. </term>
  3534. <listitem>
  3535. <para>Option: <option>-c</option>/<option>--checksum</option></para>
  3536. <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>
  3537. <para>
  3538. Default: not selected
  3539. </para>
  3540. </listitem>
  3541. </varlistentry>
  3542. </variablelist>
  3543. </sect3>
  3544. </sect2>
  3545. <!-- Configuration: Super User -->
  3546. <sect2 id="configuration_superuser">
  3547. <title>Super User</title>
  3548. <para>The options listed here are used for a normal user to gain limited super user privileges. You will only be able to apply the necessary changes to the involved system files, if you know the root password. In many cases you do not need super user privileges, because your Linux distribution already supports user mounts.</para>
  3549. <para>An alternative way to enable mounting is to set the SUID root bit to <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>, <ulink url="man:/umount.cifs"><citerefentry><refentrytitle>umount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>, <ulink url="man:/smbmnt"><citerefentry><refentrytitle>smbmnt</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> and <ulink url="man:/smbumount"><citerefentry><refentrytitle>smbumount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>. The procedure is described in the <link linkend="trouble_shooting">Trouble Shooting</link> chapter.</para>
  3550. <para>If neither <ulink url="man:/super"><citerefentry><refentrytitle>super</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> nor <ulink url="man:/sudo"><citerefentry><refentrytitle>sudo</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> is installed on your system, this configuration page is disabled.</para>
  3551. <screenshot>
  3552. <screeninfo>Screenshot of the "Super User" configuration tab</screeninfo>
  3553. <mediaobject>
  3554. <imageobject>
  3555. <imagedata fileref="configuration_superuser.png" format="PNG" />
  3556. </imageobject>
  3557. <textobject>
  3558. <phrase>The "Super User" configuration tab</phrase>
  3559. </textobject>
  3560. </mediaobject>
  3561. </screenshot>
  3562. <sect3 id="configuration_superuser_programs">
  3563. <title>Programs</title>
  3564. <variablelist>
  3565. <varlistentry>
  3566. <term>
  3567. <menuchoice>
  3568. <guibutton>sudo</guibutton>
  3569. </menuchoice>
  3570. </term>
  3571. <listitem>
  3572. <para>
  3573. Use the program <ulink url="man:/sudo"><citerefentry><refentrytitle>sudo</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> to gain super user privileges.
  3574. </para>
  3575. <para>
  3576. Default: not selected
  3577. </para>
  3578. </listitem>
  3579. </varlistentry>
  3580. <varlistentry>
  3581. <term>
  3582. <menuchoice>
  3583. <guibutton>super</guibutton>
  3584. </menuchoice>
  3585. </term>
  3586. <listitem>
  3587. <para>
  3588. Use the program <ulink url="man:/super"><citerefentry><refentrytitle>super</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to gain super user privileges.
  3589. </para>
  3590. <para>
  3591. Default: selected
  3592. </para>
  3593. </listitem>
  3594. </varlistentry>
  3595. </variablelist>
  3596. <para>If you have only one of the programs installed, &smb4k; will automatically choose the one that is present on your system.</para>
  3597. </sect3>
  3598. <sect3 id="configuration_superuser_actions">
  3599. <title>Actions</title>
  3600. <variablelist>
  3601. <varlistentry>
  3602. <term>
  3603. <menuchoice>
  3604. <guibutton>Use super user privileges to force the unmounting of (inaccessible) shares</guibutton>
  3605. </menuchoice>
  3606. </term>
  3607. <listitem>
  3608. <para>
  3609. Ticking this option will enable the <menuchoice><shortcut><keycombo action="simul">&Ctrl; <keycap>F</keycap></keycombo></shortcut><guimenuitem>Force Unmounting</guimenuitem></menuchoice> action. If clicked, it will execute a "lazy" unmount that detaches the filesystem of the mounted share from the file system hierarchy immediately and cleans up all references to the file system as soon as it is not busy anymore. This is a handy feature if you experience <link linkend="trouble_shooting_unmounting_resource_busy">problems unmounting shares</link>.
  3610. </para>
  3611. <para><emphasis role="bold">Note:</emphasis> This option requires Linux kernel 2.4.11 or later and is not available under other operating systems.</para>
  3612. <para>
  3613. Default: not selected
  3614. </para>
  3615. </listitem>
  3616. </varlistentry>
  3617. <varlistentry>
  3618. <term>
  3619. <menuchoice>
  3620. <guibutton>Use super user privileges to mount and unmount shares</guibutton>
  3621. </menuchoice>
  3622. </term>
  3623. <listitem>
  3624. <para>
  3625. Super user privileges will be used to mount and unmount shares.
  3626. </para>
  3627. <para>
  3628. Default: not selected
  3629. </para>
  3630. </listitem>
  3631. </varlistentry>
  3632. <varlistentry>
  3633. <term>
  3634. <menuchoice>
  3635. <guibutton>Remove Entries</guibutton>
  3636. </menuchoice>
  3637. </term>
  3638. <listitem>
  3639. <para>
  3640. Depending on the choice under <guilabel>Programs</guilabel>, the entries in the <filename></filename> or <filename>sudoers</filename> configuration file will be removed. The root password is needed.
  3641. </para>
  3642. </listitem>
  3643. </varlistentry>
  3644. </variablelist>
  3645. </sect3>
  3646. </sect2>
  3647. </sect1>
  3648. <sect1 id="freebsd_remarks">
  3649. <title>Remarks for FreeBSD Users</title>
  3650. <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:/smbmount"><citerefentry><refentrytitle>smbmount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>/<ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> programs 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>
  3651. <para>Fortunately, you do not have to prepare the <filename>~/.nsmbrc</filename> file manually to be able to use &smb4k;. It 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>
  3652. <para>If you do not trust &smb4k;, there are different ways how to fill the <filename>~/.nsmbrc</filename> file with the necessary data. The package maintainer of &smb4k; has written a README supplied with the binary FreeBSD package. Please refer to it in the case you prefer the manual or semi-automatic set-up.</para>
  3653. </sect1>
  3654. </chapter>
  3655. <!-- Command Reference -->
  3656. <chapter id="commands" >
  3657. <title>Command Reference</title>
  3658. <sect1 id="commands_mainwindow" >
  3659. <title>The Main Window</title>
  3660. <sect2 id="general_commands">
  3661. <title>Global Shortcuts</title>
  3662. <para>These keyboard shortcuts are not associated with any menu entries.</para>
  3663. <para>
  3664. <variablelist>
  3665. <varlistentry>
  3666. <term>
  3667. <menuchoice>
  3668. <shortcut>
  3669. <keycombo action="simul" >
  3670. &Ctrl; <keycap>1</keycap>
  3671. </keycombo>
  3672. </shortcut>
  3673. <guilabel>Jump to Network Browser</guilabel>
  3674. </menuchoice>
  3675. </term>
  3676. <listitem>
  3677. <para>
  3678. The network browser will be shown and get the keyboard focus.
  3679. </para>
  3680. </listitem>
  3681. </varlistentry>
  3682. <varlistentry>
  3683. <term>
  3684. <menuchoice>
  3685. <shortcut>
  3686. <keycombo action="simul" >
  3687. &Ctrl; <keycap>2</keycap>
  3688. </keycombo>
  3689. </shortcut>
  3690. <guilabel>Jump to Search Dialog</guilabel>
  3691. </menuchoice>
  3692. </term>
  3693. <listitem>
  3694. <para>
  3695. The search dialog will be shown and get the keyboard focus.
  3696. </para>
  3697. </listitem>
  3698. </varlistentry>
  3699. <varlistentry>
  3700. <term>
  3701. <menuchoice>
  3702. <shortcut>
  3703. <keycombo action="simul" >
  3704. &Ctrl; <keycap>3</keycap>
  3705. </keycombo>
  3706. </shortcut>
  3707. <guilabel>Jump to Shares View</guilabel>
  3708. </menuchoice>
  3709. </term>
  3710. <listitem>
  3711. <para>
  3712. The shares view will get the keyboard focus.
  3713. </para>
  3714. </listitem>
  3715. </varlistentry>
  3716. </variablelist>
  3717. </para>
  3718. </sect2>
  3719. <sect2 id="file_menu">
  3720. <title>The File Menu</title>
  3721. <para>
  3722. <variablelist>
  3723. <varlistentry>
  3724. <term>
  3725. <menuchoice>
  3726. <shortcut>
  3727. <keycombo action="simul" >
  3728. &Ctrl; <keycap>Q</keycap>
  3729. </keycombo>
  3730. </shortcut>
  3731. <guimenu>File</guimenu>
  3732. <guimenuitem>Quit</guimenuitem>
  3733. </menuchoice>
  3734. </term>
  3735. <listitem>
  3736. <para>
  3737. Quit &smb4k;.
  3738. </para>
  3739. </listitem>
  3740. </varlistentry>
  3741. </variablelist>
  3742. </para>
  3743. </sect2>
  3744. <sect2 id="network_menu">
  3745. <title>The Network Menu</title>
  3746. <para>
  3747. <variablelist>
  3748. <varlistentry>
  3749. <term>
  3750. <menuchoice>
  3751. <shortcut>
  3752. <keycombo action="simul">
  3753. &Ctrl; <keycap>R</keycap>
  3754. </keycombo>
  3755. </shortcut>
  3756. <guimenu>Network</guimenu>
  3757. <guimenuitem>Scan Network|Workgroup|Computer</guimenuitem>
  3758. </menuchoice>
  3759. </term>
  3760. <listitem>
  3761. <para>
  3762. (Re-)scan the network neighborhood, a workgroup, or a computer.
  3763. </para>
  3764. </listitem>
  3765. </varlistentry>
  3766. <varlistentry>
  3767. <term>
  3768. <menuchoice>
  3769. <shortcut>
  3770. <keycombo action="simul">
  3771. &Ctrl; <keycap>A</keycap>
  3772. </keycombo>
  3773. </shortcut>
  3774. <guimenu>Network</guimenu>
  3775. <guimenuitem>Abort</guimenuitem>
  3776. </menuchoice>
  3777. </term>
  3778. <listitem>
  3779. <para>
  3780. <action>Abort the scanning for new workgroups/domains, servers or shares.</action>
  3781. </para>
  3782. </listitem>
  3783. </varlistentry>
  3784. <varlistentry>
  3785. <term>
  3786. <menuchoice>
  3787. <shortcut>
  3788. <keycombo action="simul">
  3789. &Ctrl; <keycap>O</keycap>
  3790. </keycombo>
  3791. </shortcut>
  3792. <guimenu>Network</guimenu>
  3793. <guimenuitem>Mount Manually</guimenuitem>
  3794. </menuchoice>
  3795. </term>
  3796. <listitem>
  3797. <para>
  3798. <action>Open the dialog to "manually" mount a remote share.</action>
  3799. </para>
  3800. </listitem>
  3801. </varlistentry>
  3802. <varlistentry>
  3803. <term>
  3804. <menuchoice>
  3805. <shortcut>
  3806. <keycombo action="simul">
  3807. &Ctrl; <keycap>T</keycap>
  3808. </keycombo>
  3809. </shortcut>
  3810. <guimenu>Network</guimenu>
  3811. <guimenuitem>Authentication</guimenuitem>
  3812. </menuchoice>
  3813. </term>
  3814. <listitem>
  3815. <para>
  3816. <action>Open the authentication dialog where you can enter login information.</action>
  3817. </para>
  3818. </listitem>
  3819. </varlistentry>
  3820. <varlistentry>
  3821. <term>
  3822. <menuchoice>
  3823. <shortcut>
  3824. <keycombo action="simul">
  3825. &Ctrl; <keycap>C</keycap>
  3826. </keycombo>
  3827. </shortcut>
  3828. <guimenu>Network</guimenu>
  3829. <guimenuitem>Custom Options</guimenuitem>
  3830. </menuchoice>
  3831. </term>
  3832. <listitem>
  3833. <para>
  3834. <action>Open a dialog where you can define custom options for a server or share.</action>
  3835. </para>
  3836. </listitem>
  3837. </varlistentry>
  3838. <varlistentry>
  3839. <term>
  3840. <menuchoice>
  3841. <shortcut>
  3842. <keycombo action="simul">
  3843. &Ctrl; <keycap>V</keycap>
  3844. </keycombo>
  3845. </shortcut>
  3846. <guimenu>Network</guimenu>
  3847. <guimenuitem>Preview</guimenuitem>
  3848. </menuchoice>
  3849. </term>
  3850. <listitem>
  3851. <para>
  3852. <action>Open the preview dialog that contains a preview of the contents of the selected share.</action>
  3853. </para>
  3854. </listitem>
  3855. </varlistentry>
  3856. <varlistentry>
  3857. <term>
  3858. <menuchoice>
  3859. <shortcut>
  3860. <keycombo action="simul">
  3861. &Ctrl; <keycap>P</keycap>
  3862. </keycombo>
  3863. </shortcut>
  3864. <guimenu>Network</guimenu>
  3865. <guimenuitem>Print File</guimenuitem>
  3866. </menuchoice>
  3867. </term>
  3868. <listitem>
  3869. <para>
  3870. <action>Open the print dialog.</action>
  3871. </para>
  3872. </listitem>
  3873. </varlistentry>
  3874. <varlistentry>
  3875. <term>
  3876. <menuchoice>
  3877. <shortcut>
  3878. <keycombo action="simul">
  3879. &Ctrl; <keycap>M</keycap>
  3880. </keycombo>
  3881. </shortcut>
  3882. <guimenu>Network</guimenu>
  3883. <guimenuitem>Mount</guimenuitem>
  3884. </menuchoice>
  3885. </term>
  3886. <listitem>
  3887. <para>
  3888. <action>Mount the selected remote share.</action>
  3889. </para>
  3890. </listitem>
  3891. </varlistentry>
  3892. </variablelist>
  3893. </para>
  3894. </sect2>
  3895. <sect2 id="shares_menu">
  3896. <title>The Shares Menu</title>
  3897. <para>
  3898. <variablelist>
  3899. <varlistentry>
  3900. <term>
  3901. <menuchoice>
  3902. <shortcut>
  3903. <keycombo action="simul">
  3904. &Ctrl; <keycap>U</keycap>
  3905. </keycombo>
  3906. </shortcut>
  3907. <guimenu>Shares</guimenu>
  3908. <guimenuitem>Unmount</guimenuitem>
  3909. </menuchoice>
  3910. </term>
  3911. <listitem>
  3912. <para>
  3913. <action>Unmount the selected share.</action>
  3914. </para>
  3915. </listitem>
  3916. </varlistentry>
  3917. <varlistentry>
  3918. <term>
  3919. <menuchoice>
  3920. <shortcut>
  3921. <keycombo action="simul">
  3922. &Ctrl; <keycap>F</keycap>
  3923. </keycombo>
  3924. </shortcut>
  3925. <guimenu>Shares</guimenu>
  3926. <guimenuitem>Force Unmounting</guimenuitem>
  3927. </menuchoice>
  3928. </term>
  3929. <listitem>
  3930. <para>
  3931. <action>Force the unmounting of the selected share. This action is not available under FreeBSD.</action>
  3932. </para>
  3933. </listitem>
  3934. </varlistentry>
  3935. <varlistentry>
  3936. <term>
  3937. <menuchoice>
  3938. <shortcut>
  3939. <keycombo action="simul">
  3940. &Ctrl; <keycap>N</keycap>
  3941. </keycombo>
  3942. </shortcut>
  3943. <guimenu>Shares</guimenu>
  3944. <guimenuitem>Unmount All</guimenuitem>
  3945. </menuchoice>
  3946. </term>
  3947. <listitem>
  3948. <para>
  3949. <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>
  3950. </para>
  3951. </listitem>
  3952. </varlistentry>
  3953. <varlistentry>
  3954. <term>
  3955. <menuchoice>
  3956. <shortcut>
  3957. <keycombo action="simul">
  3958. &Ctrl; <keycap>Y</keycap>
  3959. </keycombo>
  3960. </shortcut>
  3961. <guimenu>Shares</guimenu>
  3962. <guimenuitem>Synchronize</guimenuitem>
  3963. </menuchoice>
  3964. </term>
  3965. <listitem>
  3966. <para>
  3967. <action>Open the synchronization dialog.</action>
  3968. </para>
  3969. </listitem>
  3970. </varlistentry>
  3971. <varlistentry>
  3972. <term>
  3973. <menuchoice>
  3974. <shortcut>
  3975. <keycombo action="simul">
  3976. &Ctrl; <keycap>L</keycap>
  3977. </keycombo>
  3978. </shortcut>
  3979. <guimenu>Shares</guimenu>
  3980. <guimenuitem>Open with Konsole</guimenuitem>
  3981. </menuchoice>
  3982. </term>
  3983. <listitem>
  3984. <para>
  3985. <action>Open the base directory of the selected share in &konsole;.</action>
  3986. </para>
  3987. </listitem>
  3988. </varlistentry>
  3989. <varlistentry>
  3990. <term>
  3991. <menuchoice>
  3992. <shortcut>
  3993. <keycombo action="simul">
  3994. &Ctrl; <keycap>K</keycap>
  3995. </keycombo>
  3996. </shortcut>
  3997. <guimenu>Shares</guimenu>
  3998. <guimenuitem>Open with Konqueror</guimenuitem>
  3999. </menuchoice>
  4000. </term>
  4001. <listitem>
  4002. <para>
  4003. <action>Open the contents of the selected share in Konqueror.</action>
  4004. </para>
  4005. </listitem>
  4006. </varlistentry>
  4007. </variablelist>
  4008. </para>
  4009. </sect2>
  4010. <sect2 id="bookmarks_menu">
  4011. <title>The Bookmarks Menu</title>
  4012. <para>
  4013. <variablelist>
  4014. <varlistentry>
  4015. <term>
  4016. <menuchoice>
  4017. <shortcut>
  4018. <keycombo action="simul">
  4019. &Ctrl; <keycap>B</keycap>
  4020. </keycombo>
  4021. </shortcut>
  4022. <guimenu>Bookmarks</guimenu>
  4023. <guimenuitem>Add Bookmark</guimenuitem>
  4024. </menuchoice>
  4025. </term>
  4026. <listitem>
  4027. <para>
  4028. <action>Add the selected share to the bookmarks.</action>
  4029. </para>
  4030. </listitem>
  4031. </varlistentry>
  4032. <varlistentry>
  4033. <term>
  4034. <menuchoice>
  4035. <guimenu>Bookmarks</guimenu>
  4036. <guimenuitem>Edit Bookmarks</guimenuitem>
  4037. </menuchoice>
  4038. </term>
  4039. <listitem>
  4040. <para>
  4041. <action>Open the bookmark editor.</action>
  4042. </para>
  4043. </listitem>
  4044. </varlistentry>
  4045. </variablelist>
  4046. </para>
  4047. </sect2>
  4048. <sect2 id="settings_menu">
  4049. <title>The Settings Menu</title>
  4050. <para>
  4051. <variablelist>
  4052. <varlistentry>
  4053. <term>
  4054. <menuchoice>
  4055. <guimenu>Settings</guimenu>
  4056. <guimenuitem>Toolbars</guimenuitem>
  4057. </menuchoice>
  4058. </term>
  4059. <listitem>
  4060. <para>
  4061. <action>In this submenu you can enable or disable the tool bars.</action>
  4062. </para>
  4063. </listitem>
  4064. </varlistentry>
  4065. <varlistentry>
  4066. <term>
  4067. <menuchoice>
  4068. <guimenu>Settings</guimenu>
  4069. <guimenuitem>Hide Statusbar</guimenuitem>
  4070. </menuchoice>
  4071. </term>
  4072. <listitem>
  4073. <para>
  4074. <action>Hide or show the status bar.</action>
  4075. </para>
  4076. </listitem>
  4077. </varlistentry>
  4078. <varlistentry>
  4079. <term>
  4080. <menuchoice>
  4081. <guimenu>Settings</guimenu>
  4082. <guimenuitem>Dock Widgets</guimenuitem>
  4083. </menuchoice>
  4084. </term>
  4085. <listitem>
  4086. <para>
  4087. <action>Hide or show the dock widgets of the main window.</action>
  4088. </para>
  4089. </listitem>
  4090. </varlistentry>
  4091. <varlistentry>
  4092. <term>
  4093. <menuchoice>
  4094. <guimenu>Settings</guimenu>
  4095. <guimenuitem>Shares View</guimenuitem>
  4096. </menuchoice>
  4097. </term>
  4098. <listitem>
  4099. <para>
  4100. <action>Select between the shares icon and list view.</action>
  4101. </para>
  4102. </listitem>
  4103. </varlistentry>
  4104. <varlistentry>
  4105. <term>
  4106. <menuchoice>
  4107. <guimenu>Settings</guimenu>
  4108. <guimenuitem>Configure &smb4k;...</guimenuitem>
  4109. </menuchoice>
  4110. </term>
  4111. <listitem>
  4112. <para>
  4113. <action>Open the configuration dialog.</action>
  4114. </para>
  4115. </listitem>
  4116. </varlistentry>
  4117. </variablelist>
  4118. </para>
  4119. </sect2>
  4120. <sect2 id="help_menu">
  4121. <title>The Help Menu</title>
  4122. &;
  4123. </sect2>
  4124. </sect1>
  4125. <sect1 id="commands_bookmarkeditor">
  4126. <title>The Bookmark Editor</title>
  4127. <para>Right-click to open the popup menu.</para>
  4128. <para>
  4129. <variablelist>
  4130. <varlistentry>
  4131. <term>
  4132. <menuchoice>
  4133. <shortcut>
  4134. <keycombo action="simul">
  4135. <keycap>Delete</keycap>
  4136. </keycombo>
  4137. </shortcut>
  4138. <guimenuitem>Remove</guimenuitem>
  4139. </menuchoice>
  4140. </term>
  4141. <listitem>
  4142. <para>
  4143. <action>Removes the selected bookmark from the list.</action>
  4144. </para>
  4145. </listitem>
  4146. </varlistentry>
  4147. <varlistentry>
  4148. <term>
  4149. <menuchoice>
  4150. <shortcut>
  4151. <keycombo action="simul">
  4152. &Ctrl; <keycap>X</keycap>
  4153. </keycombo>
  4154. </shortcut>
  4155. <guimenuitem>Remove All</guimenuitem>
  4156. </menuchoice>
  4157. </term>
  4158. <listitem>
  4159. <para>
  4160. <action>Removes all bookmarks from the list.</action>
  4161. </para>
  4162. </listitem>
  4163. </varlistentry>
  4164. </variablelist>
  4165. </para>
  4166. </sect1>
  4167. </chapter>
  4168. <chapter id="utilities">
  4169. <title>The Utility Programs</title>
  4170. <para>&smb4k; comes with several utility programs that are used to mount and unmount the remote shares, kill privileged child processes, and manipulate configuration files. In the following these programs are described.</para>
  4171. <!-- smb4k_mount -->
  4172. <sect1 id="smb4k_mount">
  4173. <title>smb4k_mount</title>
  4174. <simplesect id="smb4k_mount_name">
  4175. <title>Name</title>
  4176. <para>smb4k_mount &#8212; mount remote Samba and Windows shares</para>
  4177. </simplesect>
  4178. <simplesect id="smb4k_mount_synopsis">
  4179. <title>Synopsis</title>
  4180. <para>
  4181. <command>smb4k_mount</command>
  4182. {<option>mode</option>}
  4183. {<option>options</option>}
  4184. {share}
  4185. {mountpoint}
  4186. &nbsp;&nbsp;
  4187. <emphasis>(Linux and similar)</emphasis>
  4188. </para>
  4189. <para>
  4190. <command>smb4k_mount</command>
  4191. {<option>options</option>}
  4192. {share}
  4193. {mountpoint}
  4194. &nbsp;&nbsp;
  4195. <emphasis>(FreeBSD)</emphasis>
  4196. </para>
  4197. <para>
  4198. <command>smb4k_mount</command>
  4199. <option>--help</option>
  4200. </para>
  4201. <para>
  4202. <command>smb4k_mount</command>
  4203. <option>--version</option>
  4204. </para>
  4205. </simplesect>
  4206. <simplesect id="smb4k_mount_description">
  4207. <title>Description</title>
  4208. <para><command>smb4k_mount</command> is the mount utility of &smb4k;. It mounts remote Samba and Windows shares to a certain mount point using either the SMBFS or CIFS file system. It invokes <ulink url="man:/smbmount"><citerefentry><refentrytitle>smbmount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> or <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> in normal user mode and <ulink url="man:/mount"><citerefentry><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> in super user mode. Under FreeBSD, always <ulink url="man:/mount_smbfs"><citerefentry><refentrytitle>mount_smbfs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> is used.</para>
  4209. <para>This program is available since &smb4k; version 0.5.0.</para>
  4210. </simplesect>
  4211. <simplesect id="smb4k_mount_arguments">
  4212. <title>Arguments</title>
  4213. <variablelist>
  4214. <varlistentry>
  4215. <term>{mode}</term>
  4216. <listitem>
  4217. <para>This argument determines if <command>smb4k_mount</command> will switch to normal user mode or to super user mode. It is not available under FreeBSD. Under the other operating systems it is mandatory. These are the possible values:</para>
  4218. <variablelist>
  4219. <varlistentry>
  4220. <term>
  4221. <option>--no-suid</option>
  4222. </term>
  4223. <listitem>
  4224. <para>Run <command>smb4k_mount</command> in normal user mode and thus let it invoke either <ulink url="man:/smbmount"><citerefentry><refentrytitle>smbmount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> or <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> depending on the choice the user made with the file system.</para>
  4225. </listitem>
  4226. </varlistentry>
  4227. <varlistentry>
  4228. <term>
  4229. <option>--suid</option>
  4230. </term>
  4231. <listitem>
  4232. <para>Run <command>smb4k_mount</command> in super user mode and thus let it invoke <ulink url="man:/mount"><citerefentry><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>.</para>
  4233. </listitem>
  4234. </varlistentry>
  4235. <varlistentry>
  4236. <term>
  4237. <option>-n</option>
  4238. </term>
  4239. <listitem>
  4240. <para>The same as the <option>--no-suid</option> argument.</para>
  4241. </listitem>
  4242. </varlistentry>
  4243. <varlistentry>
  4244. <term>
  4245. <option>-s</option>
  4246. </term>
  4247. <listitem>
  4248. <para>The same as the <option>--suid</option> argument.</para>
  4249. </listitem>
  4250. </varlistentry>
  4251. </variablelist>
  4252. </listitem>
  4253. </varlistentry>
  4254. <varlistentry>
  4255. <term>{options}</term>
  4256. <listitem>
  4257. <para>These are the options you can pass to the mount binary (see the <ulink url="man:/smbmount"><citerefentry><refentrytitle>smbmount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>, <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>, <ulink url="man:/mount"><citerefentry><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> or <ulink url="man:/mount_smbfs"><citerefentry><refentrytitle>mount_smbfs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> (FreeBSD) manual page for details).</para>
  4258. <para><emphasis role="bold">Linux and similar:</emphasis> Due to the changes applied to the source of <command>smb4k_mount</command> during the preparation of version 0.8, only the <option>-o</option> and <option>-t</option> arguments are still supported. The use of <option>-t</option> is mandatory and you have to define either the 'cifs' or 'smbfs' file system with it. The choice of any other file system will cause <command>smb4k_mount</command> to exit with an error message. For the available options that go with the <option>-o</option> parameter, please consult the respective manual pages.</para>
  4259. <para><emphasis role="bold">FreeBSD:</emphasis> The full range of arguments available for <ulink url="man:/mount_smbfs"><citerefentry><refentrytitle>mount_smbfs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> is supported. Please refer to its manual page for more information.</para>
  4260. </listitem>
  4261. </varlistentry>
  4262. <varlistentry>
  4263. <term>{share}</term>
  4264. <listitem>
  4265. <para>The remote share that is to be mounted.</para>
  4266. </listitem>
  4267. </varlistentry>
  4268. <varlistentry>
  4269. <term>{mountpoint}</term>
  4270. <listitem>
  4271. <para>The path where the share should be mounted to.</para>
  4272. </listitem>
  4273. </varlistentry>
  4274. <varlistentry>
  4275. <term>--help</term>
  4276. <listitem>
  4277. <para>Display a help screen and exit.</para>
  4278. </listitem>
  4279. </varlistentry>
  4280. <varlistentry>
  4281. <term>--version</term>
  4282. <listitem>
  4283. <para>Display the version information and exit.</para>
  4284. </listitem>
  4285. </varlistentry>
  4286. </variablelist>
  4287. </simplesect>
  4288. <simplesect id="smb4k_mount_examples">
  4289. <title>Examples</title>
  4290. <para>Mount a share under Linux in normal user mode with the CIFS file system:</para>
  4291. <screen><prompt>$</prompt> <userinput><command>smb4k_mount</command> -n -t cifs -o user=USER,pass=PASSWD //SERVER/SHARE /mnt</userinput></screen>
  4292. <para>Mount a share under Linux in super user mode with the SMB file system:</para>
  4293. <screen><prompt>$</prompt> <userinput><command>sudo</command> <command>smb4k_mount</command> -s -t smbfs -o username=USER,password=PASSWD //SERVER/SHARE /mnt</userinput></screen>
  4294. <para>In the latter case an appropriate entry has to be present in the <filename>/etc/sudoers</filename> configuration file to make the command work. See the <ulink url="man:/sudoers"><citerefentry><refentrytitle>sudoers</refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink> manual page for more information.</para>
  4295. </simplesect>
  4296. <simplesect id="smb4k_mount_author">
  4297. <title>Author</title>
  4298. <para><command>smb4k_mount</command> was written by Alexander Reinholdt <email></email>.</para>
  4299. </simplesect>
  4300. </sect1>
  4301. <!-- smb4k_umount -->
  4302. <sect1 id="smb4k_umount">
  4303. <title>smb4k_umount</title>
  4304. <simplesect id="smb4k_umount_name">
  4305. <title>Name</title>
  4306. <para>smb4k_umount &#8212; unmount SMBFS and CIFS shares</para>
  4307. </simplesect>
  4308. <simplesect id="smb4k_umount_synopsis">
  4309. <title>Synopsis</title>
  4310. <para>
  4311. <command>smb4k_umount</command>
  4312. {<option>mode</option>}
  4313. {<option>options</option>}
  4314. {mountpoint}
  4315. &nbsp;&nbsp;
  4316. <emphasis>(Linux and similar)</emphasis>
  4317. </para>
  4318. <para>
  4319. <command>smb4k_umount</command>
  4320. {mountpoint}
  4321. &nbsp;&nbsp;
  4322. <emphasis>(FreeBSD)</emphasis>
  4323. </para>
  4324. <para>
  4325. <command>smb4k_umount</command>
  4326. <option>--help</option>
  4327. </para>
  4328. <para>
  4329. <command>smb4k_umount</command>
  4330. <option>--version</option>
  4331. </para>
  4332. </simplesect>
  4333. <simplesect id="smb4k_umount_description">
  4334. <title>Description</title>
  4335. <para><command>smb4k_umount</command> is the unmount utility of &smb4k;. It unmounts SMBFS and CIFS shares by invoking <ulink url="man:/smbumount"><citerefentry><refentrytitle>smbumount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> or <ulink url="man:/umount.cifs"><citerefentry><refentrytitle>umount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> in normal user mode and <ulink url="man:/umount"><citerefentry><refentrytitle>umount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> in super user mode. Under FreeBSD, always <ulink url="man:/umount"><citerefentry><refentrytitle>umount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> is used</para>
  4336. <para>This program is available since &smb4k; version 0.5.0.</para>
  4337. </simplesect>
  4338. <simplesect id="smb4k_umount_arguments">
  4339. <title>Arguments</title>
  4340. <variablelist>
  4341. <varlistentry>
  4342. <term>{mode}</term>
  4343. <listitem>
  4344. <para>This argument determines if <command>smb4k_umount</command> will switch to normal user mode or to super user mode. It is not available under FreeBSD. Under the other operating systems it is mandatory. These are the possible values:</para>
  4345. <variablelist>
  4346. <varlistentry>
  4347. <term>
  4348. <option>--no-suid</option>
  4349. </term>
  4350. <listitem>
  4351. <para>Run <command>smb4k_umount</command> in normal user mode and thus let it invoke either <ulink url="man:/smbumount"><citerefentry><refentrytitle>smbumount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> or <ulink url="man:/umount.cifs"><citerefentry><refentrytitle>umount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>
  4352. depending on the choice the user made with the file system.</para>
  4353. </listitem>
  4354. </varlistentry>
  4355. <varlistentry>
  4356. <term>
  4357. <option>--suid</option>
  4358. </term>
  4359. <listitem>
  4360. <para>Run <command>smb4k_umount</command> in super user mode and thus let it invoke <ulink url="man:/umount"><citerefentry><refentrytitle>umount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>.</para>
  4361. </listitem>
  4362. </varlistentry>
  4363. <varlistentry>
  4364. <term>
  4365. <option>-n</option>
  4366. </term>
  4367. <listitem>
  4368. <para>The same as the <option>--no-suid</option> argument.</para>
  4369. </listitem>
  4370. </varlistentry>
  4371. <varlistentry>
  4372. <term>
  4373. <option>-s</option>
  4374. </term>
  4375. <listitem>
  4376. <para>The same as the <option>--suid</option> argument.</para>
  4377. </listitem>
  4378. </varlistentry>
  4379. </variablelist>
  4380. </listitem>
  4381. </varlistentry>
  4382. <varlistentry>
  4383. <term>{options}</term>
  4384. <listitem>
  4385. <variablelist>
  4386. <varlistentry>
  4387. <term>
  4388. <option>-t filesystem</option>
  4389. </term>
  4390. <listitem>
  4391. <para>Define the file system that should be used for unmounting. Only 'smbfs' and 'cifs' are supported. The use of any other file system will result in an error. This argument is not available under FreeBSD. Under the other operating systems it is mandatory.</para>
  4392. </listitem>
  4393. </varlistentry>
  4394. <varlistentry>
  4395. <term>
  4396. <option>-l</option>
  4397. </term>
  4398. <listitem>
  4399. <para>Perform a lazy unmount. This option is only available under Linux in super user mode. See the manual page of <ulink url="man:/umount"><citerefentry><refentrytitle>umount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> for more information. You need Linux kernel version 2.4.11 or later.</para>
  4400. </listitem>
  4401. </varlistentry>
  4402. </variablelist>
  4403. </listitem>
  4404. </varlistentry>
  4405. <varlistentry>
  4406. <term>{mountpoint}</term>
  4407. <listitem>
  4408. <para>The path where the share has been mounted to.</para>
  4409. </listitem>
  4410. </varlistentry>
  4411. <varlistentry>
  4412. <term>--help</term>
  4413. <listitem>
  4414. <para>Display a help screen and exit.</para>
  4415. </listitem>
  4416. </varlistentry>
  4417. <varlistentry>
  4418. <term>--version</term>
  4419. <listitem>
  4420. <para>Display the version information and exit.</para>
  4421. </listitem>
  4422. </varlistentry>
  4423. </variablelist>
  4424. </simplesect>
  4425. <simplesect id="smb4k_umount_examples">
  4426. <title>Examples</title>
  4427. <para>Unmount a CIFS share (under Linux) with normal user privileges:</para>
  4428. <screen><prompt>$</prompt> <userinput><command>smb4k_umount</command> -n -t cifs /mnt</userinput></screen>
  4429. <para>Unmount a SMBFS share with super user privileges:</para>
  4430. <screen><prompt>$</prompt> <userinput><command>sudo</command> <command>smb4k_umount</command> -s -t smbfs /mnt</userinput></screen>
  4431. <para>In the latter case an appropriate entry has to be present in the <filename>/etc/sudoers</filename> configuration file to make the command work. See the <ulink url="man:/sudoers"><citerefentry><refentrytitle>sudoers</refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink> manual page for more information.</para>
  4432. </simplesect>
  4433. <simplesect id="smb4k_umount_author">
  4434. <title>Author</title>
  4435. <para><command>smb4k_umount</command> was written by Alexander Reinholdt <email></email>.</para>
  4436. </simplesect>
  4437. </sect1>
  4438. <!-- smb4k_kill -->
  4439. <sect1 id="smb4k_kill">
  4440. <title>smb4k_kill</title>
  4441. <simplesect id="smb4k_kill_name">
  4442. <title>Name</title>
  4443. <para>smb4k_kill &#8212; kill processes</para>
  4444. </simplesect>
  4445. <simplesect id="smb4k_kill_synopsis">
  4446. <title>Synopsis</title>
  4447. <para>
  4448. <command>smb4k_kill</command>
  4449. {pid}
  4450. </para>
  4451. <para>
  4452. <command>smb4k_kill</command>
  4453. <option>--help</option>
  4454. </para>
  4455. <para>
  4456. <command>smb4k_kill</command>
  4457. <option>--version</option>
  4458. </para>
  4459. </simplesect>
  4460. <simplesect id="smb4k_kill_description">
  4461. <title>Description</title>
  4462. <para><command>smb4k_kill</command> is the kill utility of &smb4k;. It kills processes by invoking the <ulink url="man:/kill"><citerefentry><refentrytitle>kill</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> command.</para>
  4463. <para>This program is available since &smb4k; version 0.5.0, and a major change in its behavior happened in <command>smb4k_kill</command> 0.6 (i.e. in April 2007).</para>
  4464. </simplesect>
  4465. <simplesect id="smb4k_kill_arguments">
  4466. <title>Arguments</title>
  4467. <variablelist>
  4468. <varlistentry>
  4469. <term>{pid}</term>
  4470. <listitem>
  4471. <para>This is the ID of the process you want to kill.</para>
  4472. </listitem>
  4473. </varlistentry>
  4474. <varlistentry>
  4475. <term>--help</term>
  4476. <listitem>
  4477. <para>Display a help screen and exit.</para>
  4478. </listitem>
  4479. </varlistentry>
  4480. <varlistentry>
  4481. <term>--version</term>
  4482. <listitem>
  4483. <para>Display the version information and exit.</para>
  4484. </listitem>
  4485. </varlistentry>
  4486. </variablelist>
  4487. </simplesect>
  4488. <simplesect id="smb4k_kill_examples">
  4489. <title>Example</title>
  4490. <para>Kill a process that is running with super user privileges:</para>
  4491. <screen><prompt>$</prompt> <userinput><command>super</command> <command>smb4k_kill</command> 1423</userinput></screen>
  4492. <para>An appropriate entry has to be present in the <filename>/etc/</filename> configuration file to make this command work. See the <ulink url="man:/"><citerefentry><refentrytitle></refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink> manual page for more information.</para>
  4493. </simplesect>
  4494. <simplesect id="smb4k_kill_author">
  4495. <title>Author</title>
  4496. <para><command>smb4k_kill</command> was written by Alexander Reinholdt <email></email>.</para>
  4497. </simplesect>
  4498. </sect1>
  4499. <!-- smb4k_cat -->
  4500. <sect1 id="smb4k_cat">
  4501. <title>smb4k_cat</title>
  4502. <simplesect id="smb4k_cat_name">
  4503. <title>Name</title>
  4504. <para>smb4k_cat &#8212; write the contents of files to stdout</para>
  4505. </simplesect>
  4506. <simplesect id="smb4k_cat_synopsis">
  4507. <title>Synopsis</title>
  4508. <para>
  4509. <command>smb4k_cat</command>
  4510. {file}
  4511. </para>
  4512. <para>
  4513. <command>smb4k_cat</command>
  4514. <option>--help</option>
  4515. </para>
  4516. <para>
  4517. <command>smb4k_cat</command>
  4518. <option>--version</option>
  4519. </para>
  4520. </simplesect>
  4521. <simplesect id="smb4k_cat_description">
  4522. <title>Description</title>
  4523. <para><command>smb4k_cat</command> is a replacement of the <ulink url="man:/cat"><citerefentry><refentrytitle>cat</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> command. It is part of &smb4k; and is used to read (text) files and put their contents to stdout.</para>
  4524. <para>This program is available since &smb4k; version 0.7.0.</para>
  4525. </simplesect>
  4526. <simplesect id="smb4k_cat_arguments">
  4527. <title>Arguments</title>
  4528. <variablelist>
  4529. <varlistentry>
  4530. <term>{file}</term>
  4531. <listitem>
  4532. <para>The (full) path of the file that should be printed to stdout.</para>
  4533. </listitem>
  4534. </varlistentry>
  4535. <varlistentry>
  4536. <term>--help</term>
  4537. <listitem>
  4538. <para>Display a help screen and exit.</para>
  4539. </listitem>
  4540. </varlistentry>
  4541. <varlistentry>
  4542. <term>--version</term>
  4543. <listitem>
  4544. <para>Display the version information and exit.</para>
  4545. </listitem>
  4546. </varlistentry>
  4547. </variablelist>
  4548. </simplesect>
  4549. <simplesect id="smb4k_cat_examples">
  4550. <title>Example</title>
  4551. <para>Read a file and put its contents to stdout:</para>
  4552. <screen><prompt>$</prompt> <userinput><command>smb4k_cat</command> /etc/samba/smb.conf</userinput></screen>
  4553. </simplesect>
  4554. <simplesect id="smb4k_cat_author">
  4555. <title>Author</title>
  4556. <para><command>smb4k_cat</command> was written by Alexander Reinholdt <email></email>.</para>
  4557. </simplesect>
  4558. </sect1>
  4559. <!-- smb4k_mv -->
  4560. <sect1 id="smb4k_mv">
  4561. <title>smb4k_mv</title>
  4562. <simplesect id="smb4k_mv_name">
  4563. <title>Name</title>
  4564. <para>smb4k_mv &#8212; move files and simulaneously change their permissions, UID and GID</para>
  4565. </simplesect>
  4566. <simplesect id="smb4k_mv_synopsis">
  4567. <title>Synopsis</title>
  4568. <para>
  4569. <command>smb4k_mv</command>
  4570. {<option>user:group</option>}
  4571. {<option>permissions</option>}
  4572. {source}
  4573. {destination}
  4574. </para>
  4575. <para>
  4576. <command>smb4k_mv</command>
  4577. <option>--help</option>
  4578. </para>
  4579. <para>
  4580. <command>smb4k_mv</command>
  4581. <option>--version</option>
  4582. </para>
  4583. </simplesect>
  4584. <simplesect id="smb4k_mv_description">
  4585. <title>Description</title>
  4586. <para><command>smb4k_mv</command> is part of &smb4k; and is an utility to move files. It has the ability to change the user, group, and permissions of a file while moving it. Thus, it can be used as a replacement for a shell command construction like</para>
  4587. <screen><prompt>$</prompt> <userinput><command>chown</command> USER:GROUP FILE &amp;&amp; <command>chmod</command> PERMS FILE &amp;&amp; mv FILE DESTINATON</userinput></screen>
  4588. <para>This program is available since &smb4k; version 0.7.0.</para>
  4589. </simplesect>
  4590. <simplesect id="smb4k_mv_arguments">
  4591. <title>Arguments</title>
  4592. <variablelist>
  4593. <varlistentry>
  4594. <term>{user:group}</term>
  4595. <listitem>
  4596. <para>The user and group the file should have after it has been moved. You may specify the user and group either by the numeric user and group ID, by the user and group name, or by a mixture of both. Read the manual page of <ulink url="man:/chown"><citerefentry><refentrytitle>chown</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> for details.</para>
  4597. </listitem>
  4598. </varlistentry>
  4599. <varlistentry>
  4600. <term>{permissions}</term>
  4601. <listitem>
  4602. <para>The permissions the file should have after it has been moved. You have to specify them in <emphasis>numeric mode</emphasis> like described in the <ulink url="man:/chmod"><citerefentry><refentrytitle>chmod</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> manual page.</para>
  4603. </listitem>
  4604. </varlistentry>
  4605. <varlistentry>
  4606. <term>{source}</term>
  4607. <listitem>
  4608. <para>The source file that is to be moved.</para>
  4609. </listitem>
  4610. </varlistentry>
  4611. <varlistentry>
  4612. <term>{destination}</term>
  4613. <listitem>
  4614. <para>The destination where the source file will be moved to.</para>
  4615. </listitem>
  4616. </varlistentry>
  4617. <varlistentry>
  4618. <term>--help</term>
  4619. <listitem>
  4620. <para>Display a help screen and exit.</para>
  4621. </listitem>
  4622. </varlistentry>
  4623. <varlistentry>
  4624. <term>--version</term>
  4625. <listitem>
  4626. <para>Display the version information and exit.</para>
  4627. </listitem>
  4628. </varlistentry>
  4629. </variablelist>
  4630. </simplesect>
  4631. <simplesect id="smb4k_mv_examples">
  4632. <title>Example</title>
  4633. <para>Move a file, set the user and group, and change the file permissions:</para>
  4634. <screen><prompt>$</prompt> <userinput><command>smb4k_mv</command> 1000:1000 0700 $HOME/test.txt $HOME/backup/test.txt</userinput></screen>
  4635. </simplesect>
  4636. <simplesect id="smb4k_mv_author">
  4637. <title>Author</title>
  4638. <para><command>smb4k_mv</command> was written by Alexander Reinholdt <email></email>.</para>
  4639. </simplesect>
  4640. </sect1>
  4641. </chapter>
  4642. <!-- Trouble Shooting -->
  4643. <chapter id="trouble_shooting">
  4644. <title>Trouble Shooting</title>
  4645. <para>If you cannot find your problem covered here, please ask for help on the <ulink url="">Smb4K-general</ulink> mailing list or visit <ulink url=""></ulink> and look for an updated version of the handbook.</para>
  4646. <!-- Compilation & Installation -->
  4647. <sect1 id="trouble_shooting_compilation_installation">
  4648. <title>Compilation and Installation</title>
  4649. <itemizedlist id="trouble_shooting_list_compilation">
  4650. <listitem id="trouble_shooting_enable_final">
  4651. <para><emphasis role="bold">Problem:</emphasis> Compilation fails with an error similar to this one:
  4652. <screen>smb4kscanner.cpp:96: error: conflicting declaration 'Smb4KScannerPrivate p'
  4653. smb4kmounter.cpp:167: error: 'p' has a previous declaration as 'Smb4KMounterPrivate p'</screen></para>
  4654. <para><emphasis role="bold">Solution:</emphasis> Remove the <option>--enable-final</option> configure argument and reconfigure the source. This should fix the problem.</para>
  4655. <para><emphasis role="bold">Note:</emphasis> This issue only occurrs with versions prior to 0.9.0.</para>
  4656. </listitem>
  4657. <listitem id="trouble_shooting_libtool">
  4658. <para><emphasis role="bold">Problem:</emphasis> Compilation fails with the following error message:
  4659. <screen>libtool: link: cannot find the library &#96;&#39;</screen></para>
  4660. <para><emphasis role="bold">Solution:</emphasis> Replace the file <filename>admin/</filename> by the one shipped with your libtool package. Run e.g.</para>
  4661. <screen><prompt>$</prompt> <userinput><command>locate</command> &#124; <command>grep</command> libtool</userinput></screen>
  4662. <para>to find it.</para>
  4663. </listitem>
  4664. <listitem id="trouble_shooting_linker">
  4665. <para><emphasis role="bold">Problem:</emphasis> Installation fails with a linker error similar to this one:
  4666. <screen>/usr/bin/ld: cannot find -lsmb4kcore
  4667. libtool: install: error: relink `´ with the above command before installing it</screen></para>
  4668. <para><emphasis role="bold">Solution:</emphasis> One possibility to avoid this failure is to enable the building of static libraries during configuration:</para>
  4669. <screen><prompt>$</prompt> <userinput><command>./configure</command> --prefix=`<command>tde-config</command> --prefix` --enable-static</userinput></screen>
  4670. <para>This will convert the error into a warning and the installation will succeed.</para>
  4671. </listitem>
  4672. <listitem id="trouble_shooting_wrong_place">
  4673. <para><emphasis role="bold">Problem:</emphasis> After starting a self-compiled version of &smb4k;, the toolbar cannot be seen.</para>
  4674. <para><emphasis role="bold">Solution:</emphasis> Most likely, &smb4k; has been installed to the wrong place. To correct this, it has to be uninstalled first. Go to the base directory of your &smb4k; distribution and run</para>
  4675. <screen><prompt>$</prompt> <userinput><command>su</command> -c "<command>make</command> uninstall"</userinput></screen>
  4676. <para>from the shell. Please note that this will not work, if you ran
  4677. <screen><prompt>$</prompt> <userinput><command>make</command> distclean</userinput></screen>
  4678. in the meantime.</para>
  4679. <para>Reconfigure the source by passing the <option>--prefix=PREFIX</option> option to the configure script:</para>
  4680. <screen><prompt>$</prompt> <userinput><command>./configure</command> --prefix=`<command>tde-config</command> --prefix`</userinput></screen>
  4681. <para>Compile and install &smb4k; (see also <link linkend="appendix_compilation">here</link>):</para>
  4682. <screen><prompt>$</prompt> <userinput><command>make</command> &amp;&amp; <command>su</command> -c &quot;<command>make</command> install&quot;</userinput></screen>
  4683. <para>&smb4k; will be installed to the right path and everything should work fine.</para>
  4684. </listitem>
  4685. <listitem id="trouble_shooting_no_qt">
  4686. <para><emphasis role="bold">Problem:</emphasis> The configure script fails and complains about a missing Qt installation.</para>
  4687. <para><emphasis role="bold">Solution:</emphasis> There are two things that should check:</para>
  4688. <itemizedlist>
  4689. <listitem><para>Maybe the Qt header files are not installed. If this is the case, install them and run the configure script again.</para></listitem>
  4690. <listitem><para>The <envar>QTDIR</envar> environment variable might not be set properly or at all. Make sure you export it in your shell's configuration file.</para>
  4691. <para>If you are using the bash, check for the following line in your <filename>~/.bashrc</filename> file</para>
  4692. <screen>export QTDIR=PREFIX</screen>
  4693. <para>and add it, if it is not present. Replace PREFIX with the prefix of your Qt installation. Run</para>
  4694. <screen><prompt>$</prompt> <userinput><command>source</command> ~/.bashrc</userinput></screen>
  4695. <para>from the shell. Now, you're set for a second configuration attempt.</para></listitem>
  4696. </itemizedlist>
  4697. <para>If the header files are installed and the <envar>QTDIR</envar> variable is set, but you still get the same error, you might want to try to pass the <option>--with-qt-includes=/path/to/header/files</option> option to the configure script.</para>
  4698. </listitem>
  4699. <listitem id="trouble_shooting_no_kde">
  4700. <para><emphasis role="bold">Problem:</emphasis> The configure script fails and complains about a missing &kde; installation.</para>
  4701. <para><emphasis role="bold">Solution:</emphasis> There are two things you should check:</para>
  4702. <itemizedlist>
  4703. <listitem><para>Maybe the &kde; header files are not installed. If this is the case, install them and run the configure script again.</para></listitem>
  4704. <listitem><para>The <envar>TDEDIR</envar> environment variable might not be set properly or at all. Make sure you export it in your shell's configuration file.</para>
  4705. <para>If you are using the bash, check for the following line in your <filename>~/.bashrc</filename> file</para>
  4706. <screen>export TDEDIR=PREFIX</screen>
  4707. <para>and add it, if it is not present. Replace PREFIX with the prefix of your &kde; installation. Run</para>
  4708. <screen><prompt>$</prompt> <userinput><command>source</command> ~/.bashrc</userinput></screen>
  4709. <para>from the shell. Now, you're set for a new configuration attempt.</para></listitem>
  4710. </itemizedlist>
  4711. </listitem>
  4712. </itemizedlist>
  4713. </sect1>
  4714. <!-- Browsing -->
  4715. <sect1 id="trouble_shooting_browsing">
  4716. <title>Browsing</title>
  4717. <itemizedlist id="trouble_shooting_list_browsing">
  4718. <listitem id="trouble_shooting_unfunc_browser">
  4719. <para><emphasis role="bold">Problem:</emphasis> There is nothing in the network browser.</para>
  4720. <para><emphasis role="bold">Solution:</emphasis> This problem may have several causes. Here is a list of common solutions:</para>
  4721. <itemizedlist>
  4722. <listitem><para>Include the 'interfaces' option in the [global] section of your <filename>smb.conf</filename>. It should include the interface(s) that is/are connected to your network neighborhood, e.g.</para>
  4723. <screen>interfaces =</screen>
  4724. <para>or alternatively</para>
  4725. <screen>interfaces = eth0</screen>
  4726. <para>You may also add the local interface</para>
  4727. <screen>interfaces =</screen>
  4728. <para>or alternatively</para>
  4729. <screen>interfaces = eth0 lo</screen>
  4730. <para>Samba allows a few more ways how to define the network interface(s) (see the <ulink url="man:/smb.conf">manual page</ulink>). However, we recommend that you use the IP/mask pair (e.g.</para>
  4731. </listitem>
  4732. <listitem><para>Add the WINS server of your network neighborhood &#8212; if available &#8212; to the [global] section of your <filename>smb.conf</filename>:</para>
  4733. <screen>wins server =</screen>
  4734. <para>Replace the above IP address with the one of your WINS server.</para></listitem>
  4735. <listitem><para>Open the ports 137 (TCP+UDP), 138 (UDP), 139 (TCP+UDP), and 445 (TCP+UDP) in your firewall. If you have SUSE's firewall running, see <link linkend="trouble_shooting_suse_firewall">below</link>.</para></listitem>
  4736. <listitem><para>Use a different look-up method. Therefore, change the settings under <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure &smb4k;...</guimenuitem><guimenuitem>Network</guimenuitem><guimenuitem>Browse List</guimenuitem></menuchoice>.</para></listitem>
  4737. </itemizedlist>
  4738. <para>After having applied a change to the <filename>smb.conf</filename>, please do not forget to restart Samba and &smb4k;. Check if your problem disappeared. If nothing helps, please ask for assistance on the <ulink url="">Smb4K-general mailing list</ulink> or file a <ulink url="" >bug report</ulink>.</para>
  4739. </listitem>
  4740. <listitem id="trouble_shooting_suse_firewall">
  4741. <para><emphasis role="bold">Problem:</emphasis> The browser window is empty when SUSE's firewall is running.</para>
  4742. <para><emphasis role="bold">Solution:</emphasis> Have a look at <ulink url=""><emphasis>Novell Cool Solutions</emphasis></ulink> or replace your firewall (recommended).</para>
  4743. </listitem>
  4744. <listitem id="trouble_shooting_selinux">
  4745. <para><emphasis role="bold">Problem:</emphasis> When using SELinux, the workgroup/domain only contains the master browser.</para>
  4746. <para><emphasis role="bold">Solution:</emphasis> Set SELinux to 'permissive'.</para>
  4747. </listitem>
  4748. <listitem id="trouble_shooting_no_shares_displayed">
  4749. <para><emphasis role="bold">Problem:</emphasis> When opening a (certain) Windows server, its shares are not displayed.</para>
  4750. <para><emphasis role="bold">Solution:</emphasis> As of version 0.6.0, &smb4k; uses the <ulink url="man:/net"><citerefentry><refentrytitle>net</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> command to retrieve the list of shares from a host. With the default settings, it will try to guess the protocol that is needed to communicate with the server (RAP or RPC). Unfortunately, this does not seem to work well with Windows XP/2000/2003 servers. The query fails in some cases (sometimes accompanied with an NT_STATUS_IO_TIMEOUT error but mostly with no error message at all). Please try to set the protocol to RAP either through the <link linkend="mainwindow_network_custom">custom options dialog</link> (recommended) or directly in the <link linkend="configuration_samba_net_protocol">configuration dialog</link>.</para>
  4751. <para><emphasis role="bold">Note:</emphasis> This does not apply to versions prior to 0.6.0, because they use the RAP protocol based <ulink url="man:/smbclient"><citerefentry><refentrytitle>smbclient</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> command to retrieve the browse list.</para>
  4752. </listitem>
  4753. <listitem id="trouble_shooting_special_chars_browser">
  4754. <para><emphasis role="bold">Problem:</emphasis> Special characters (accents, umlauts, etc.) are not displayed correctly.</para>
  4755. <para><emphasis role="bold">Solution:</emphasis> For a solution see <link linkend="trouble_shooting_special_chars">here</link>.</para>
  4756. </listitem>
  4757. </itemizedlist>
  4758. </sect1>
  4759. <!-- Mounting & Unmounting -->
  4760. <sect1 id="trouble_shooting_mounting_unmounting">
  4761. <title>Mounting and Unmounting of Shares</title>
  4762. <itemizedlist id="trouble_shooting_list_mounting">
  4763. <listitem id="trouble_shooting_no_mounting">
  4764. <para><emphasis role="bold">Problem:</emphasis> Mounting a share fails without any error message being displayed. The share is only shown for a few seconds and then vanishes.</para>
  4765. <para><emphasis role="bold">Solution:</emphasis> This issues arises sometimes if you are not allowed to mount the shares as normal user. Depending on the file system your are using, have a look <link linkend="trouble_shooting_mount_cifs">here</link> (CIFS) or <link linkend="trouble_shooting_smbmnt">here</link> (SMBFS) for a solution.</para>
  4766. <para><emphasis role="bold">Note:</emphasis> Linux and similar operating systems</para>
  4767. </listitem>
  4768. <listitem id="trouble_shooting_mount_cifs">
  4769. <para><emphasis role="bold">Problem:</emphasis> Using the CIFS file system, mounting fails with the following error message:
  4770. <screen><errortext>mount error 1 = Operation not permitted
  4771. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)</errortext></screen></para>
  4772. <para><emphasis role="bold">Solution:</emphasis> There are two possible causes for this:</para>
  4773. <orderedlist>
  4774. <listitem>
  4775. <para>You are trying to use <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> as normal user, but the SUID root bit is not set. The following (or a similar) command can be used as root to set the SUID bit:
  4776. <screen><prompt>$</prompt> <userinput><command>chmod</command> +s &#096;<command>which</command> mount.cifs&#096;</userinput></screen></para>
  4777. </listitem>
  4778. <listitem>
  4779. <para>It has been reported that <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> fails if the <emphasis>Samba</emphasis> server uses the</para>
  4780. <screen>security = share</screen>
  4781. <para>option instead of</para>
  4782. <screen>security = user</screen>
  4783. <para>Change the settings on the server.</para>
  4784. </listitem>
  4785. </orderedlist>
  4786. <para><emphasis role="bold">Note:</emphasis> Linux and similar operating systems</para>
  4787. </listitem>
  4788. <listitem id="trouble_shooting_smbmnt">
  4789. <para><emphasis role="bold">Problem:</emphasis> Using the SMBFS file system, mounting fails with this error message:
  4790. <screen><errortext>smbmnt must be installed suid root for direct user mounts (500,500)
  4791. smbmnt failed: 1</errortext></screen></para>
  4792. <para><emphasis role="bold">Solution:</emphasis> The cause of this error is that you do not have enough permissions to mount SMB shares. There are two things you can do:</para>
  4793. <orderedlist>
  4794. <listitem>
  4795. <para>Set the SUID root bit for smbmnt. Execute this command in the shell:</para>
  4796. <screen><prompt>$</prompt> <userinput><command>chmod</command> +s `<command>which</command> smbmnt`</userinput></screen>
  4797. <para>Under normal circumstances this should fix the problem.</para>
  4798. <para><emphasis role="bold">Warning:</emphasis> Do not set the SUID root bit for <ulink url="man:/smbmount"><citerefentry><refentrytitle>smbmount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>. Otherwise mounting will fail with the following error message:</para>
  4799. <para><screen><errortext>libsmb based programs must *NOT* be setuid root.
  4800. 6002: Connection to &#060;HOSTNAME&#062; failed
  4801. SMB connection failed
  4802. </errortext></screen></para>
  4803. </listitem>
  4804. <listitem>
  4805. <para>Execute <ulink url="man:/mount"><citerefentry><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> and <ulink url="man:/umount"><citerefentry><refentrytitle>umount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> with super user privileges using the program <ulink url="man:/super"><citerefentry><refentrytitle>super</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> (since &smb4k; 0.4.0) or <ulink url="man:/sudo"><citerefentry><refentrytitle>sudo</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> (since &smb4k; 0.5.0). To enable this feature, you have to go to <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure &smb4k;...</guimenuitem><guimenuitem>Super User</guimenuitem></menuchoice> and adjust the settings.</para>
  4806. </listitem>
  4807. </orderedlist>
  4808. <para><emphasis role="bold">Note:</emphasis> Linux and similar operating systems</para>
  4809. </listitem>
  4810. <listitem id="trouble_shooting_mounting_w2k3">
  4811. <para><emphasis role="bold">Problem:</emphasis> Mounting a share from a Windows 2003 server fails with this error message:
  4812. <screen><errortext>cli_negprot: SMB signing is mandatory and we have disabled it.
  4813. 4377: protocol negotiation failed
  4814. SMB connection failed</errortext></screen></para>
  4815. <para><emphasis role="bold">Solution:</emphasis> You are using the SMBFS file system which does not support signing. You have to switch to the CIFS file system in order to be able to mount the share. Go to <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure &smb4k;...</guimenuitem><guimenuitem>Samba</guimenuitem><guimenuitem>File System</guimenuitem></menuchoice> and choose <guilabel>CIFS</guilabel> instead of <guilabel>SMBFS</guilabel>. Depending on the configuration of your system, you might also need to enable the "<guilabel>Use super user privileges to mount and unmount shares</guilabel>" option under <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure &smb4k;...</guimenuitem><guimenuitem>Super User</guimenuitem><guimenuitem>Actions</guimenuitem></menuchoice>. Alternatively, you can set the SUID root bit for <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> (and <ulink url="man:/umount.cifs"><citerefentry><refentrytitle>umount.cifs</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink>).</para>
  4816. <para><emphasis role="bold">Note:</emphasis> Linux and similar operating systems</para>
  4817. </listitem>
  4818. <listitem id="trouble_shooting_mounting_special_chars">
  4819. <para><emphasis role="bold">Problem:</emphasis> Mounting a share that contains special characters in the name (e.g. umlauts) with the CIFS file system fails with the following error message:</para>
  4820. <para><screen><errortext>mount error 6 = No such device or address
  4821. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)</errortext></screen></para>
  4822. <para><emphasis role="bold">Solution:</emphasis> Please follow the instructions given <link linkend="trouble_shooting_special_chars">here</link>. Alternatively, you can try to explicitly define the correct Linux charset in the configuration dialog (see <link linkend="configuration_samba_mount_char">here</link>).</para>
  4823. <para><emphasis role="bold">Note:</emphasis> Linux and similar operating systems</para>
  4824. </listitem>
  4825. <listitem id="trouble_shooting_mounting_sudo">
  4826. <para><emphasis role="bold">Problem:</emphasis> When using <ulink url="man:/sudo"><citerefentry><refentrytitle>sudo</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> and the CIFS file system, mounting fails with the following error message:</para>
  4827. <para><screen><errortext>mount error 13 = Permission denied
  4828. Refer to the mount.cifs(8) manual page ( mount.cifs)</errortext></screen></para>
  4829. <para><emphasis role="bold">Solution:</emphasis> It is very possible, that the 'env_reset' flag has been set in the <filename>/etc/sudoers</filename> file (It's the default in Gentoo and Debian for example.). It resets the environment to only contain a limited number of environment variables. Especially, the <envar>PASSWD</envar> variable is removed that is needed by &smb4k;. To make mounting work, there are three things you can do alternatively:</para>
  4830. <itemizedlist>
  4831. <listitem><para>Manually insert the following line after the statement beginning with "User_Alias SMB4KUSERS":</para>
  4832. <screen>Defaults:SMB4KUSERS env_keep=PASSWD</screen>
  4833. <para>This is the preferred method on a multi-user system.</para></listitem>
  4834. <listitem><para>Remove the &smb4k; user entries from <filename>/etc/sudoers</filename> and rewrite them using &smb4k; (>= 0.6.4).</para></listitem>
  4835. <listitem><para>Comment out the 'env_reset' variable (not recommended).</para></listitem>
  4836. </itemizedlist>
  4837. <para>If you are still not able to mount a share, please file a <ulink url="" >bug report</ulink>.</para>
  4838. <para><emphasis role="bold">Note:</emphasis> Linux and similar operating systems</para>
  4839. </listitem>
  4840. <listitem id="trouble_shooting_mounting_cifs_ids">
  4841. <para><emphasis role="bold">Problem:</emphasis> When using the CIFS file system, &smb4k; does not seem to care about the UID and GID that was set in the configuration dialog.</para>
  4842. <para><emphasis role="bold">Solution:</emphasis> This is a Samba feature. If the target server supports the CIFS Unix extensions, the <option>uid=UID</option> and <option>gid=GID</option> option is ignored. For more information see the <ulink url="man:/mount.cifs"><citerefentry><refentrytitle>mount.cifs</refentrytitle>
  4843. <manvolnum>8</manvolnum></citerefentry></ulink> manual page.</para>
  4844. <para><emphasis role="bold">Note:</emphasis> Linux and similar operating systems</para>
  4845. </listitem>
  4846. <listitem id="trouble_shooting_unmounting_smbumount">
  4847. <para><emphasis role="bold">Problem:</emphasis> Unmounting a share fails with an error message similar to this one:</para>
  4848. <para><screen><errortext>smbumount must be installed suid root</errortext></screen></para>
  4849. <para><emphasis role="bold">Solution:</emphasis> You do not have enough permissions to unmount SMB shares. To fix this problem you can either set the SUID root bit for <ulink url="man:/smbumount"><citerefentry><refentrytitle>smbumount</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> or enable the feature "<guilabel>Use super user privileges to mount and unmount shares</guilabel>" under <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure &smb4k;...</guimenuitem><guimenuitem>Super User</guimenuitem><guimenuitem>Actions</guimenuitem></menuchoice>. For more information you might want to read <link linkend="trouble_shooting_smbmnt">this entry</link>, too.</para>
  4850. <para><emphasis role="bold">Note:</emphasis> Linux and similar operating systems</para>
  4851. </listitem>
  4852. <listitem id="trouble_shooting_unmounting_resource_busy">
  4853. <para><emphasis role="bold">Problem:</emphasis> Unmounting a share fails with the following error message:</para>
  4854. <para><screen><errortext>Could not unmount &#060;PATH&#062;: Device or resource busy</errortext></screen></para>
  4855. <para><emphasis role="bold">Solution:</emphasis> First of all, check that you do not access any directory or file of the share with any program. If this isn't the case, you might have encountered a problem, that is known but not related to &smb4k;. It seems that under certain circumstances (that we could not figure out exactly) tdeinit background processes access files and/or directories of the share and keep them open (&kde; &#060; 3.4). Unmounting is not possible unless you send
  4856. <screen><prompt>$</prompt> <userinput><command>kill</command> -HUP PID</userinput></screen>
  4857. to each tdeinit instance that has access to the share or its files. Replace PID by the pid of the tdeinit instance. You can find it out by using e. g. &ksysguard;.</para>
  4858. <para>Alternatively, you can force the unmounting of the share (not recommended). Highlight the share and use the <menuchoice><guimenu>Shares</guimenu><guimenuitem>Force Unmounting</guimenuitem></menuchoice> menu item or press <keycombo action="simul">&Ctrl;<keycap>F</keycap></keycombo>.</para>
  4859. <para><emphasis role="bold">Note:</emphasis> Linux and similar operating systems</para>
  4860. </listitem>
  4861. <listitem id="trouble_shooting_special_chars">
  4862. <para><emphasis role="bold">Problem:</emphasis> Special characters (accents, umlauts, etc.) are not displayed correctly.</para>
  4863. <para><emphasis role="bold">Solution:</emphasis> Make sure the following options are set to the correct values in the [global] section of the <ulink url="man:/smb.conf"><citerefentry><refentrytitle><filename>smb.conf</filename></refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink> of each Samba server and client:
  4864. <screen>
  4865. dos charset = VAL1
  4866. unix charset = VAL2
  4867. display charset = VAL3
  4868. </screen></para>
  4869. <para>Replace VAL1, VAL2, VAL3 with the correct values. Read the <ulink url="man:/smb.conf">manual page</ulink> for more information.</para>
  4870. <para><emphasis role="bold">Note:</emphasis> Linux and similar operating systems</para>
  4871. </listitem>
  4872. <listitem id="trouble_shooting_mounting_mount_smbfs_failure_1">
  4873. <para><emphasis role="bold">Problem:</emphasis> Mounting a share fails with the following error message:</para>
  4874. <para><screen><errortext>mount_smbfs: kldload(smbfs): Operation not permitted</errortext></screen></para>
  4875. <para><emphasis role="bold">Solution:</emphasis> Use <ulink url="man:/sudo"><citerefentry><refentrytitle>sudo</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> or <ulink url="man:/super"><citerefentry><refentrytitle>super</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to gain super user privileges for mounting (see section <link linkend="configuration_superuser_actions">The <guilabel>Super User</guilabel> Tab</link>). The error occurs, because only root is allowed to load kernel modules.</para>
  4876. <para><emphasis role="bold">Note:</emphasis> FreeBSD only</para>
  4877. </listitem>
  4878. <listitem id="trouble_shooting_mounting_mount_smbfs_failure_2">
  4879. <para><emphasis role="bold">Problem:</emphasis> Mounting a share fails with the following error message:</para>
  4880. <para><screen><errortext>mount_smbfs: can not setup kernel iconv table
  4881. (ISO8859-1:tolower): syserr = Operation not permitted</errortext></screen></para>
  4882. <para><emphasis role="bold">Solution:</emphasis> Most likely, this error occurs after you decided to not use <ulink url="man:/sudo"><citerefentry><refentrytitle>sudo</refentrytitle><manvolnum>8</manvolnum></citerefentry></ulink> or <ulink url="man:/super"><citerefentry><refentrytitle>super</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink> to mount a share anymore. Since only root is allowed to set up the kernel's iconv table, you should use one of these programs to gain super user privileges for mounting (see section <link linkend="configuration_superuser_actions">The <guilabel>Super User</guilabel> Tab</link>).</para>
  4883. <para><emphasis role="bold">Note:</emphasis> FreeBSD only</para>
  4884. </listitem>
  4885. </itemizedlist>
  4886. </sect1>
  4887. <!-- FAQ: Miscellaneous -->
  4888. <sect1 id="trouble_shooting_misc">
  4889. <title>Miscellaneous</title>
  4890. <itemizedlist>
  4891. <listitem id="trouble_shooting_misc_konqplugin">
  4892. <para><emphasis role="bold">Problem:</emphasis> After installing &smb4k;, I wanted to take advantage of the Konqueror plugin but I couldn't find it. Where can I find it and what do I have to do?</para>
  4893. <para><emphasis role="bold">Solution:</emphasis> The procedure to add the &konqueror; plugin is described in detail <link linkend="konqplugin">here</link>.</para>
  4894. </listitem>
  4895. <listitem id="trouble_shooting_misc_kde_upgrade">
  4896. <para><emphasis role="bold">Problem:</emphasis> After a KDE upgrade &smb4k; does not work anymore.</para>
  4897. <para><emphasis role="bold">Solution:</emphasis> If you upgraded from e.g. &kde; 3.5.1 to 3.5.2, it suffices to restart &kde;. If you moved from one major version to another, i.e. from 3.3.x to 3.5.x, you have to install a package suitable for the new &kde; version. If neither helps, ask for help on the <ulink url="">Smb4K-general mailing list</ulink>.</para>
  4898. </listitem>
  4899. </itemizedlist>
  4900. </sect1>
  4901. </chapter>
  4902. <!-- Reporting bugs -->
  4903. <chapter id="reporting_bugs">
  4904. <title>Reporting Bugs</title>
  4905. <para>Before considering to file a bug report, please read the <link linkend="trouble_shooting">Trouble Shooting</link> section. Many common problems are already covered there. Also, try the <ulink url="">latest version</ulink> of &smb4k;. Maybe your problem has already been fixed.</para>
  4906. <para>Please follow these directions for your bug report:</para>
  4907. <itemizedlist>
  4908. <listitem><para>Describe <emphasis>in detail</emphasis> what you did to receive the problem you are reporting.</para></listitem>
  4909. <listitem><para>Provide the version of &smb4k; and &kde;.</para></listitem>
  4910. <listitem><para>Mention your operating system (Linux, FreeBSD, etc.) and the distribution that is running on your computer.</para></listitem>
  4911. <listitem><para>Include the full error message if an error dialog was displayed.</para></listitem>
  4912. <listitem><para>Add additional data, i.e. attach the backtrace if you experienced a crash, send a screen shot if you are reporting a GUI related problem, etc.</para></listitem>
  4913. </itemizedlist>
  4914. <para>The recommended method to report a bug is to go to our <ulink url="">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>
  4915. </chapter>
  4916. <!-- Credits and License -->
  4917. <chapter id="credits" >
  4918. <title>Credits and License</title>
  4919. <para>Copyright (c) 2003 - 2007, Alexander Reinholdt <email></email></para>
  4920. <para>Copyright (c) 2004 -2007, Massimo Callegari <email></email></para>
  4921. <para>Copyright (c) 2004, Franck Babin <email></email></para>
  4922. &underGPL;
  4923. <para>This documentation is licensed under the terms of the <ulink url="common/gpl-license.html">GNU General Public License</ulink>.</para>
  4924. <simplesect>
  4925. <title>Developers (active and retired)</title>
  4926. <itemizedlist>
  4927. <listitem><para>Alexander Reinholdt <email></email></para></listitem>
  4928. <listitem><para>Massimo Callegari<email></email></para></listitem>
  4929. <listitem><para>Franck Babin <email></email></para></listitem>
  4930. </itemizedlist>
  4931. </simplesect>
  4932. <simplesect>
  4933. <title>Translators (active and retired)</title>
  4934. <itemizedlist>
  4935. <listitem><para><emphasis role="bold">Brazilian Portuguese:</emphasis> Giovanni Degani <email></email>, Lamarque V. Souza <email></email></para></listitem>
  4936. <listitem><para><emphasis role="bold">Bulgarian:</emphasis> Atanas Mavrov <email></email></para></listitem>
  4937. <listitem><para><emphasis role="bold">Catalan:</emphasis> Leopold Palomo Avellaneda <email></email></para></listitem>
  4938. <listitem><para><emphasis role="bold">Czech:</emphasis> Alois Ne&#353;por <email></email></para></listitem>
  4939. <listitem><para><emphasis role="bold">Chinese Simplified (zh_CN):</emphasis> Nick Chen <email></email></para></listitem>
  4940. <listitem><para><emphasis role="bold">Chinese Traditional (zh_TW):</emphasis> Jack Liu <email></email>, Wei-Lun Chao <email></email></para></listitem>
  4941. <listitem><para><emphasis role="bold">Danish:</emphasis> Michael Brinkloev <email></email></para></listitem>
  4942. <listitem><para><emphasis role="bold">Dutch:</emphasis> Joop Beris <email></email></para></listitem>
  4943. <listitem><para><emphasis role="bold">French:</emphasis> Nicolas Ternisien <email></email></para></listitem>
  4944. <listitem><para><emphasis role="bold">German:</emphasis> Alexander Reinholdt <email></email></para></listitem>
  4945. <listitem><para><emphasis role="bold">Hungarian:</emphasis> Karoly Barcza <email></email></para></listitem>
  4946. <listitem><para><emphasis role="bold">Icelandic:</emphasis> Arnar Le&#243;sson <email></email></para></listitem>
  4947. <listitem><para><emphasis role="bold">Italian:</emphasis> Isidoro Russo <email></email></para></listitem>
  4948. <listitem><para><emphasis role="bold">Japanese:</emphasis> Toyohiro Asukai <email></email></para></listitem>
  4949. <listitem><para><emphasis role="bold">Norwegian (Bookmal &amp; Nynorsk):</emphasis> Nils Kristian Tomren <email></email></para></listitem>
  4950. <listitem><para><emphasis role="bold">Polish:</emphasis> Rados&#322;aw Zawartko <email></email>, Jerzy Trzeciak <email></email></para></listitem>
  4951. <listitem><para><emphasis role="bold">Russian:</emphasis> Stanislav Yudin <email></email></para></listitem>
  4952. <listitem><para><emphasis role="bold">Slovak:</emphasis> Michal &#352;ulek <email></email></para></listitem>
  4953. <listitem><para><emphasis role="bold">Swedish:</emphasis> Marc Hansen <email></email></para></listitem>
  4954. <listitem><para><emphasis role="bold">Spanish:</emphasis> Quique <email></email>, Mart&#237;n Carr <email></email></para></listitem>
  4955. <listitem><para><emphasis role="bold">Turkish:</emphasis> G&ouml;rkem &#199;etin <email></email>, Serdar Soytetir <email></email></para></listitem>
  4956. <listitem><para><emphasis role="bold">Ukrainian:</emphasis> Ivan Petrouchtchak <email></email></para></listitem>
  4957. </itemizedlist>
  4958. </simplesect>
  4959. <simplesect>
  4960. <title>Special Thanks</title>
  4961. <para>The &smb4k; team would like to thank everyone who contibuted by sending patches. Also, a big "Thank you!" goes to Rashid N. Achilov <email></email>, who convinced us to port &smb4k; to FreeBSD and helped us a great deal to achieve this goal.</para>
  4962. </simplesect>
  4963. </chapter>
  4964. <!-- Appendix -->
  4965. <appendix id="appendix_installation" >
  4966. <title>Installation</title>
  4967. <sect1 id="appendix_getting_smb4k" >
  4968. <title>How to obtain &smb4k;</title>
  4969. <para>The latest stable release is available at <ulink url=""></ulink>.</para>
  4970. </sect1>
  4971. <sect1 id="appendix_requirements" >
  4972. <title>Requirements</title>
  4973. <para>&smb4k; officially supports Linux (>= 2.2.x) and FreeBSD (>= 4.10). It might also run on other Unix systems.</para>
  4974. <para>If you want to compile &smb4k; from source, a standard &kde; installation (3.3.0 or later) including the header files is needed. </para>
  4975. <para>In order to use &smb4k; successfully, you have to install the Samba software suite (3.0.0 or later), GNU grep, GNU awk or similar, GNU sed, the GNU findutils, and the util-linux package (Linux only). If you are using Linux, you also need support of the <filename class="directory">/proc</filename> file system compiled into your kernel.</para>
  4976. <para>To enable full functionality, you should also install super and/or sudo, a TeX software distribution (for dvips), GNU enscript, and rsync.</para>
  4977. <para>&smb4k; uses about 20 MB of memory to run, but this may vary depending on your platform and configuration.</para>
  4978. <para>Links to all required libraries and programs as well as &smb4k; itself can be found on <ulink url="" >the &smb4k; home page</ulink>.</para>
  4979. <para>The list of changes can be found in the <filename>ChangeLog</filename> file.</para>
  4980. </sect1>
  4981. <sect1 id="appendix_compilation" >
  4982. <title>Compilation and Installation</title>
  4983. <sect2 id="appendix_compilation_full_install">
  4984. <title>Full Installation</title>
  4985. <para>This section describes a full installation of &smb4k;. Please note that you might have to adjust the <command>./configure</command> command to match the installation paths of your distribution (e.g. Debian, Ubuntu).</para>
  4986. <orderedlist>
  4987. <listitem><para>Change into the root directory of the source code: <screen><prompt>$</prompt> <userinput><command>cd</command> smb4k-x.x.x</userinput></screen> (Replace x.x.x with the version number)</para></listitem>
  4988. <listitem><para>Configure the source code with at least the following command: <screen><prompt>$</prompt> <userinput><command>./configure</command> --prefix=`<command>tde-config</command> --prefix`</userinput></screen> Several more options can be added. Run <screen><prompt>$</prompt> <userinput><command>./configure</command> --help</userinput></screen> to find out which ones are available.</para></listitem>
  4989. <listitem><para>Compile the source code: <screen><prompt>$</prompt> <userinput><command>make</command></userinput></screen></para></listitem>
  4990. <listitem><para>Install the application. For that, become root <screen><prompt>$</prompt> <userinput><command>su</command></userinput></screen> and run <screen><prompt>$</prompt> <userinput><command>make</command> install</userinput></screen> in the root directory of the source code. If you want to be able to remove Smb4K with your package manager, install the 'checkinstall' package and run <screen><prompt>$</prompt> <userinput><command>checkinstall</command></userinput></screen> instead.</para></listitem>
  4991. </orderedlist>
  4992. </sect2>
  4993. <sect2 id="appendix_compilation_without_konqplugin">
  4994. <title>Installation without Konqueror Plugin</title>
  4995. <para>If you are not interested in the &konqueror; plugin that comes with &smb4k;, you should configure the source code as follows:
  4996. <screen><prompt>$</prompt> <userinput><command>./configure</command> --prefix=`<command>tde-config</command> --prefix` --without-konqplugin</userinput></screen>
  4997. The procedure to compile and install the application is the same as mentioned above.</para>
  4998. </sect2>
  4999. </sect1>
  5000. <sect1 id="appendix_debugging">
  5001. <title>Debugging the Source Code</title>
  5002. <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 configure command slightly:</para>
  5003. <screen><prompt>$</prompt> <userinput><command>./configure</command> --prefix=`<command>tde-config</command> --prefix` --enable-debug=full</userinput></screen>
  5004. <para>Now compile and install the program as stated <link linkend="appendix_compilation">before</link>. If you do not want to
  5005. install but only debug the newly compiled program, you may execute &smb4k; from
  5006. within the source code directory. Change into the <filename role="directory">smb4k</filename> subdirectory and run:</para>
  5007. <screen><prompt>$</prompt> <userinput><command>./smb4k</command> --nofork</userinput></screen>
  5008. <para>If you found the cause for a bug, please let us know. A backtrace or a patch will be much appreciated.</para>
  5009. </sect1>
  5010. </appendix>
  5011. </book>