navigating.rst 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. ================================
  2. Using the Synchronization Client
  3. ================================
  4. .. index:: navigating, usage
  5. The Nextcloud Desktop Client remains in the background and is visible as an icon
  6. in the system tray (Windows, KDE), menu bar (Mac OS X), or notification area
  7. (Linux).
  8. .. figure:: images/icon.png
  9. :alt: Status icon, green circle and white checkmark
  10. The status indicator uses icons to indicate the current status of your
  11. synchronization. The green circle with the white checkmark tells you that your
  12. synchronization is current and you are connected to your Nextcloud server.
  13. .. figure:: images/icon-syncing.png
  14. :alt: Status icon, blue circle and white semi-circles
  15. The blue icon with the white semi-circles means synchronization is in progress.
  16. .. figure:: images/icon-paused.png
  17. :alt: Status icon, yellow circle and vertical parallel
  18. lines
  19. The yellow icon with the parallel lines tells you your synchronization
  20. has been paused. (Most likely by you.)
  21. .. figure:: images/icon-offline.png
  22. :alt: Status icon, gray circle and three horizontal
  23. white dots
  24. The gray icon with three white dots means your sync client has lost its
  25. connection with your Nextcloud server.
  26. .. figure:: images/icon-information.png
  27. :alt: Status icon, sign "!" in yellow circle
  28. When you see a yellow circle with the sign "!" that is the informational icon,
  29. so you should click it to see what it has to tell you.
  30. .. figure:: images/icon-error.png
  31. :alt: Status icon, red circle and white x
  32. The red circle with the white "x" indicates a configuration error, such as an
  33. incorrect login or server URL.
  34. Systray Icon
  35. ------------
  36. A right-click on the systray icon opens a menu for quick access to multiple
  37. operations.
  38. .. figure:: images/menu.png
  39. :alt: the right-click sync client menu
  40. This menu provides the following options:
  41. * Quick access to your accounts
  42. * Sync status
  43. * Recent Changes, showing latest activities
  44. * Settings
  45. * Help menu
  46. * Pause synchronizations
  47. * An option to log in or log out of all of your accounts at once
  48. * Quit Nextcloud, logging out and closing the client
  49. A left-click on your systray icon opens the desktop client to the account
  50. settings window.
  51. .. figure:: images/client-6.png
  52. :alt: Account settings window
  53. Configuring Nextcloud Account Settings
  54. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  55. .. index:: account settings, user, password, Server URL
  56. At the top of the window are tabs for each configured sync account, and three
  57. others for Activity, General and Network settings. On your account tabs you
  58. have the following features:
  59. * Connection status, showing which Nextcloud server you are connected to, and
  60. your Nextcloud username.
  61. * An **Account** button, which contains a dropdown menu with **Add New**,
  62. **Log Out**, and **Remove**.
  63. * Used and available space on the server.
  64. * Current synchronization status.
  65. * **Add Folder Sync Connection** button.
  66. The little button with three dots (the overflow menu) that sits to the right of
  67. the sync status bar offers four additional options:
  68. * Open Folder
  69. * Choose What to Sync (This appears only when your file tree is collapsed, and
  70. expands the file tree)
  71. * Pause Sync / Resume Sync
  72. * Remove folder sync connection
  73. **Open Folder** opens your local Nextcloud sync folder.
  74. **Pause Sync** pauses sync operations without making any changes to your
  75. account. It will continue to update file and folder lists, without
  76. downloading or updating files. To stop all sync activity use **Remove
  77. Folder Sync Connection**.
  78. .. figure:: images/client-7.png
  79. :alt: Extra options for sync operations
  80. .. note:: Nextcloud does not preserve the mtime (modification time) of
  81. directories, though it does update the mtimes on files. See
  82. `Wrong folder date when syncing
  83. <https://github.com/owncloud/core/issues/7009>`_ for discussion of this.
  84. Adding New Accounts
  85. ^^^^^^^^^^^^^^^^^^^
  86. You may configure multiple Nextcloud accounts in your desktop sync client. Simply
  87. click the **Account** > **Add New** button on any account tab to add a new
  88. account, and then follow the account creation wizard. The new account will
  89. appear as a new tab in the settings dialog, where you can adjust its settings at
  90. any time. Use **Account** > **Remove** to delete accounts.
  91. File Manager Overlay Icons
  92. --------------------------
  93. The Nextcloud sync client provides overlay icons, in addition to the normal file
  94. type icons, for your system file manager (Explorer on Windows, Finder on Mac and
  95. Nautilus on Linux) to indicate the sync status of your Nextcloud files.
  96. The overlay icons are similar to the systray icons introduced above. They
  97. behave differently on files and directories according to sync status
  98. and errors.
  99. The overlay icon of an individual file indicates its current sync state. If the
  100. file is in sync with the server version, it displays a green checkmark.
  101. If the file is ignored from syncing, for example because it is on your
  102. exclude list, or because it is a symbolic link, it displays a warning icon.
  103. If there is a sync error, or the file is blacklisted, it displays an
  104. eye-catching red X.
  105. If the file is waiting to be synced, or is currently syncing, the overlay
  106. icon displays a blue cycling icon.
  107. When the client is offline, no icons are shown to reflect that the
  108. folder is currently out of sync and no changes are synced to the server.
  109. The overlay icon of a synced directory indicates the status of the files in the
  110. directory. If there are any sync errors, the directory is marked with a warning
  111. icon.
  112. If a directory includes ignored files that are marked with warning icons
  113. that does not change the status of the parent directories.
  114. Sharing From Your Desktop
  115. -------------------------
  116. The Nextcloud desktop sync client integrates with your file manager. Finder on
  117. macOS and Explorer on Windows. Linux users must install an additional package
  118. depending on the used file manager. Available are e.g. ``nautilus-nextcloud``
  119. (Ubuntu/Debian), ``dolphin-nextcloud`` (Kubuntu), ``nemo-nextcloud`` and
  120. ``caja-nextcloud``. You can create share links, and share with internal
  121. Nextcloud users the same way as in your Nextcloud Web interface.
  122. .. figure:: images/mac-share.png
  123. :alt: Sync client integration in Windows Explorer.
  124. Right-click your systray icon, hover over the account you want to use, and
  125. left-click "Open folder [folder name] to quickly enter your local Nextcloud
  126. folder. Right-click the file or folder you want to share to expose the share
  127. dialog, and click **Share with Nextcloud**.
  128. .. figure:: images/share-1.png
  129. :alt: Sharing from Windows Explorer.
  130. The share dialog has all the same options as your Nextcloud Web interface.
  131. .. figure:: images/share-2.png
  132. :alt: Share dialog in Windows Explorer.
  133. Use **Share with Nextcloud** to see who you have shared with, and to modify
  134. their permissions, or to delete the share.
  135. Activity Window
  136. ---------------
  137. The Activity window contains the log of your recent activities, organized over
  138. three tabs: **Server Activities**, which includes new shares and files
  139. downloaded and deleted, **Sync Protocol**, which displays local activities such
  140. as which local folders your files went into, and **Not Synced** shows errors
  141. such as files not synced. Double clicking an entry pointing to an existing
  142. file in **Server Activities** or **Sync Protocol** will open the folder containing
  143. the file and highlight it.
  144. .. figure:: images/client-8.png
  145. :alt: Activity windows logs all server and client activities.
  146. Server Notifications
  147. --------------------
  148. Starting with version 2.2.0, the client will display notifications from your
  149. Nextcloud server that require manual interaction by you. For example, when a
  150. user on a remote Nextcloud creates a new Federated share for you, you can accept
  151. it from your desktop client.
  152. The desktop client automatically checks for available notifications
  153. automatically on a regular basis. Notifications are displayed in the Server
  154. Activity tab, and if you have **Show Desktop Notifications** enabled (General
  155. tab) you'll also see a systray notification.
  156. .. figure:: images/client-12.png
  157. :alt: Activity window with notification.
  158. This also displays notifications sent to users by the Nextcloud admin via the
  159. Announcements app.
  160. General Window
  161. --------------
  162. The General window has configuration options such as **Launch on System
  163. Startup**, **Use Monochrome Icons**, and **Show Desktop Notifications**. This
  164. is where you will find the **Edit Ignored Files** button, to launch the ignored
  165. files editor, and **Ask confirmation before downloading
  166. folders larger than [folder size]**.
  167. .. figure:: images/client-9.png
  168. :alt: General window contains configuration options.
  169. Using the Network Window
  170. ------------------------
  171. .. index:: proxy settings, SOCKS, bandwith, throttling, limiting
  172. The Network settings window enables you to define network proxy settings, and
  173. also to limit download and upload bandwidth.
  174. .. figure:: images/settings_network.png
  175. .. _usingIgnoredFilesEditor-label:
  176. Using the Ignored Files Editor
  177. ------------------------------
  178. .. index:: ignored files, exclude files, pattern
  179. You might have some local files or directories that you do not want to backup
  180. and store on the server. To identify and exclude these files or directories, you
  181. can use the *Ignored Files Editor* (General tab.)
  182. .. figure:: images/ignored_files_editor.png
  183. For your convenience, the editor is pre-populated with a default list of
  184. typical
  185. ignore patterns. These patterns are contained in a system file (typically
  186. ``sync-exclude.lst``) located in the Nextcloud Client application directory. You
  187. cannot modify these pre-populated patterns directly from the editor. However,
  188. if
  189. necessary, you can hover over any pattern in the list to show the path and
  190. filename associated with that pattern, locate the file, and edit the
  191. ``sync-exclude.lst`` file.
  192. .. note:: Modifying the global exclude definition file might render the client
  193. unusable or result in undesired behavior.
  194. Each line in the editor contains an ignore pattern string. When creating custom
  195. patterns, in addition to being able to use normal characters to define an
  196. ignore pattern, you can use wildcards characters for matching values. As an
  197. example, you can use an asterisk (``*``) to identify an arbitrary number of
  198. characters or a question mark (``?``) to identify a single character.
  199. Patterns that end with a slash character (``/``) are applied to only directory
  200. components of the path being checked.
  201. .. note:: Custom entries are currently not validated for syntactical
  202. correctness by the editor, so you will not see any warnings for bad
  203. syntax. If your synchronization does not work as you expected, check your
  204. syntax.
  205. Each pattern string in the list is preceded by a checkbox. When the check box
  206. contains a check mark, in addition to ignoring the file or directory component
  207. matched by the pattern, any matched files are also deemed "fleeting metadata"
  208. and removed by the client.
  209. In addition to excluding files and directories that use patterns defined in
  210. this list:
  211. - The Nextcloud Client always excludes files containing characters that cannot
  212. be synchronized to other file systems.
  213. - Files are removed that cause individual errors three times during a
  214. synchronization. However, the client provides the option of retrying a
  215. synchronization three additional times on files that produce errors.
  216. For more detailed information see :ref:`ignored-files-label`.