2018-01-29 03:15:00 +03:00
|
|
|
The Nextcloud Client reads a configuration file. You can locate this configuration file as follows:
|
2013-02-09 15:23:32 +04:00
|
|
|
|
2014-09-18 13:44:25 +04:00
|
|
|
On Linux distributions:
|
2018-01-29 03:15:00 +03:00
|
|
|
``$HOME/.config/Nextcloud/nextcloud.cfg``
|
2013-02-09 15:23:32 +04:00
|
|
|
|
2014-09-18 13:44:25 +04:00
|
|
|
On Microsoft Windows systems:
|
2018-01-29 03:15:00 +03:00
|
|
|
``%APPDATA%\Nextcloud\nextcloud.cfg``
|
2013-02-09 15:23:32 +04:00
|
|
|
|
2018-06-04 12:44:03 +03:00
|
|
|
On macOS systems:
|
2018-01-29 03:15:00 +03:00
|
|
|
``$HOME/Library/Preferences/Nextcloud/nextcloud.cfg``
|
2013-02-09 15:23:32 +04:00
|
|
|
|
|
|
|
|
2014-06-26 00:04:33 +04:00
|
|
|
The configuration file contains settings using the Microsoft Windows .ini file
|
2018-01-29 03:15:00 +03:00
|
|
|
format. You can overwrite changes using the Nextcloud configuration dialog.
|
2013-02-09 15:23:32 +04:00
|
|
|
|
2018-01-29 03:15:00 +03:00
|
|
|
.. note:: Use caution when making changes to the Nextcloud Client configuration
|
2014-06-26 00:04:33 +04:00
|
|
|
file. Incorrect settings can produce unintended results.
|
2013-02-09 15:23:32 +04:00
|
|
|
|
2017-03-17 15:16:38 +03:00
|
|
|
Some interesting values that can be set on the configuration file are:
|
2013-02-09 15:23:32 +04:00
|
|
|
|
2017-03-17 15:16:38 +03:00
|
|
|
+----------------------------------------------------------------------------------------------------------------------------------------------------------+
|
2018-01-29 03:15:00 +03:00
|
|
|
| ``[Nextcloud]`` section |
|
2017-03-17 15:16:38 +03:00
|
|
|
+=================================+===============+========================================================================================================+
|
|
|
|
| Variable | Default | Meaning |
|
|
|
|
+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``remotePollInterval`` | ``30000`` | Specifies the poll time for the remote repository in milliseconds. |
|
|
|
|
+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``forceSyncInterval`` | ``7200000`` | The duration of no activity after which a synchronization run shall be triggered automatically. |
|
|
|
|
+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+
|
2017-09-14 17:43:23 +03:00
|
|
|
| ``fullLocalDiscoveryInterval`` | ``3600000`` | The interval after which the next synchronization will perform a full local discovery. |
|
|
|
|
+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+
|
2017-03-17 15:16:38 +03:00
|
|
|
| ``notificationRefreshInterval`` | ``300000`` | Specifies the default interval of checking for new server notifications in milliseconds. |
|
|
|
|
+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+
|
2013-02-09 15:23:32 +04:00
|
|
|
|
2017-01-11 13:25:03 +03:00
|
|
|
|
2022-04-14 16:35:15 +03:00
|
|
|
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``[General]`` section |
|
|
|
|
+==================================+==========================+========================================================================================================+
|
|
|
|
| Variable | Default | Meaning |
|
|
|
|
+----------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``chunkSize`` | ``10000000`` (10 MB) | Specifies the chunk size of uploaded files in bytes. |
|
|
|
|
| | | The client will dynamically adjust this size within the maximum and minimum bounds (see below). |
|
|
|
|
+----------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------+
|
2023-12-06 11:58:17 +03:00
|
|
|
| ``forceLoginV2`` | ``false`` | If the client should force the new login flow, eventhough some circumstances might need the old flow. |
|
|
|
|
+----------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------+
|
2023-11-20 19:45:26 +03:00
|
|
|
| ``minChunkSize`` | ``5000000`` (5 MB) | Specifies the minimum chunk size of uploaded files in bytes. |
|
2022-04-14 16:35:15 +03:00
|
|
|
+----------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------+
|
2023-11-20 19:45:26 +03:00
|
|
|
| ``maxChunkSize`` | ``5000000000`` (5000 MB) | Specifies the maximum chunk size of uploaded files in bytes. |
|
2022-04-14 16:35:15 +03:00
|
|
|
+----------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``targetChunkUploadDuration`` | ``60000`` (1 minute) | Target duration in milliseconds for chunk uploads. |
|
|
|
|
| | | The client adjusts the chunk size until each chunk upload takes approximately this long. |
|
|
|
|
| | | Set to 0 to disable dynamic chunk sizing. |
|
|
|
|
+----------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------+
|
2024-06-10 15:30:34 +03:00
|
|
|
| ``promptDeleteAllFiles`` | ``false`` | If a UI prompt should ask for confirmation if it was detected that all files and folders were deleted. |
|
2022-04-14 16:35:15 +03:00
|
|
|
+----------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``timeout`` | ``300`` | The timeout for network connections in seconds. |
|
|
|
|
+----------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``moveToTrash`` | ``false`` | If non-locally deleted files should be moved to trash instead of deleting them completely. |
|
|
|
|
+----------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``showExperimentalOptions`` | ``false`` | Whether to show experimental options that are still undergoing testing in the user interface. |
|
2023-06-02 14:55:08 +03:00
|
|
|
| | | Turning this on does not enable experimental behavior on its own. It does enable user interface |
|
2022-04-14 16:35:15 +03:00
|
|
|
| | | options that can be used to opt in to experimental features. |
|
|
|
|
+----------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``showMainDialogAsNormalWindow`` | ``false`` | Whether the main dialog should be shown as a normal window even if tray icons are available. |
|
|
|
|
+----------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------+
|
2017-01-11 13:25:03 +03:00
|
|
|
|
2013-02-09 15:23:32 +04:00
|
|
|
|
2017-03-17 15:16:38 +03:00
|
|
|
+----------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``[Proxy]`` section |
|
|
|
|
+=================================+===============+========================================================================================================+
|
|
|
|
| Variable | Default | Meaning |
|
|
|
|
+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``host`` | ``127.0.0.1`` | The address of the proxy server. |
|
|
|
|
+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``port`` | ``8080`` | The port were the proxy is listening. |
|
|
|
|
+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+
|
|
|
|
| ``type`` | ``2`` | ``0`` for System Proxy. |
|
|
|
|
+ + +--------------------------------------------------------------------------------------------------------+
|
|
|
|
| | | ``1`` for SOCKS5 Proxy. |
|
|
|
|
+ + +--------------------------------------------------------------------------------------------------------+
|
|
|
|
| | | ``2`` for No Proxy. |
|
|
|
|
+ + +--------------------------------------------------------------------------------------------------------+
|
|
|
|
| | | ``3`` for HTTP(S) Proxy. |
|
2017-09-14 17:43:23 +03:00
|
|
|
+---------------------------------+---------------+--------------------------------------------------------------------------------------------------------+
|