Web defaults
As a server administrator, you can set default values for many of the options in the web UI Settings menu, such as the time zone and the date-time format. Users can still change these settings for themselves. When a user changes a setting in the Settings menu, their browser stores the new value, and it overrides the server default.
The only setting you can stop users from changing is Enable WebGL, as described in Advanced properties.
The Settings menu groups its options into sections. This page covers the Default Format & Time zone, Editor, and Advanced sections, the only sections whose defaults a server can set. The screenshot shows the Default Format & Time zone section expanded:

Set a default
You set defaults in the Deephaven configuration file. See Create a Deephaven configuration file for details.
To configure a default setting:
- Set the value of one or more of the properties listed in the tables below in the configuration file.
- Add your property names to
client.configuration.list, the comma-separated list of configuration properties that the server sends to the web UI. Setting this property replaces its default value, so copy the default list fromdh-defaults.propand append your names to it. - Restart the server. The server reads the configuration file only at startup.
- Check the new default in a browser where that setting hasn't been changed. A user who already changed a setting in their browser keeps their own value.
For example, this configuration file sets defaults for the time zone and the date-time format:
Default format and time zone properties
These properties set the defaults for the Default Format & Time zone options in the Settings menu. To use one, set its value in your configuration file and add its name to client.configuration.list, as described in Set a default.
| Setting | Property | Value |
|---|---|---|
| Time zone | timeZone | A time zone ID from the menu's list, such as America/Chicago, America/New_York, Europe/London, or UTC |
| DateTime | dateTimeFormat | A date-time format, such as one of the menu's choices: yyyy-MM-dd HH:mm:ss, yyyy-MM-dd HH:mm:ss.SSS, or yyyy-MM-dd HH:mm:ss.SSSSSSSSS |
| Show time zone in dates | showTimeZone | true or false |
| Show 'T' separator | showTSeparator | true or false |
| Decimal | decimalFormat | A number format, such as ###,##0.0000 |
| Integer | integerFormat | A number format, such as ###,##0 |
| Show truncated numbers as ### | truncateNumbersWithPound | true or false |
| Show empty strings as empty | showEmptyStrings | true or false |
| Show null strings as null | showNullStrings | true or false |
| Show extra "group" column | showExtraGroupColumn | true or false |
Editor properties
These properties set the defaults for the Editor options in the Settings menu, which control the notebook editor. To use one, set its value in your configuration file and add its name to client.configuration.list, as described in Set a default.
| Setting | Property | Value |
|---|---|---|
| Enable Minimap | web.user.notebookSettings.isMinimapEnabled | true or false |
| Format on Save | web.user.notebookSettings.formatOnSave | true or false |
| Enable Ruff Python Linter | web.user.notebookSettings.python.linter.isEnabled | true or false |
| Customize Ruff Settings | web.user.notebookSettings.python.linter.config | A JSON object of Ruff settings, on one line |
The web.user.notebookSettings.python.linter.config value replaces the UI's built-in Ruff settings rather than merging with them, so include every setting you want. If the value isn't valid JSON, the UI ignores it and uses its built-in settings.
Changing any one Editor option in the Settings menu saves the current values of Enable Minimap, Format on Save, and Enable Ruff Python Linter in the user's browser, even the ones the user didn't change. After that, a change to one of those server defaults no longer reaches that user. Customize Ruff Settings is saved the same way only if it already had a value, from the user or from the server. If it had none, a Ruff configuration that the server adds later still applies.
Advanced properties
These properties control the Enable WebGL option in the Advanced section of the Settings menu. The default client.configuration.list already includes both, so you only need to set their values. Setting web.webgl.editable to false stops users from changing the Enable WebGL option, but it doesn't override a WebGL setting that a user saved in their browser before you set it.
| Property | Effect | Value |
|---|---|---|
web.webgl | Default for the Enable WebGL option | true or false |
web.webgl.editable | Whether users can change Enable WebGL in the Settings menu | true or false |