The Oda settings file

DataMind Oda keeps one settings file for each of its profiles on this computer, applied on top of the built-in defaults. This page is the reference for how Oda applies that file, how it normalises it, and when an edit takes effect. The file as you meet it in the app is on The profile settings file.

What the file is

yaml
# DataMind Oda settings for this computer, applied on top of the built-in defaults.
# DataMind Oda keeps this file up to date; edit it only when DataMind support asks you to.
[]

How Oda applies the file

Edit the file when support asks

  1. Open the file DataMind support points you to. Keep the two header lines and keep the body a list of changes.
  2. Make exactly the change support describes, with the names they give you.
  3. Save. Oda watches the file by its exact path and applies a valid change while it runs; a change saved while Oda is still starting waits until it is ready.
  4. If a change cannot be applied, Oda reports the problem, and the settings already in effect stay until you correct the file. Fix the file and save again.

How Oda normalises the file

Oda normalises the file when it updates it:

Turning the file's changes off

Keep the header lines and replace the list below them with an empty one: []. The file stays valid and Oda starts normally, with nothing added on top of the built-in setup.

Warning

Never empty the file or leave only comments in it: a file with no list fails the next start. To turn off what the file adds, keep the header lines and write [].

When a change takes effect

Questions, answered

Is there one settings file or several?

One per profile. Each profile keeps its own file in its folder under the Oda home folder, and the ways Oda runs use their own profiles; Oda profiles and launchers covers them.

Does the file replace Oda's built-in setup?

No. It carries only what is different on this computer and is applied on top of the built-in defaults; where it sets a value, its value wins over the default.

Which parts of the file does Oda rewrite by itself?

An older header is replaced with the current one, Oda's own plugin names are brought to the @datamind/<name> form, and a row for one of your presets is adjusted so its instructions add to Oda's base behaviour. Comments and expressions outside those values stay as they are.

Will Oda keep the comments I add to the file?

Yes, for comments and expressions outside the values Oda replaces: they stay as they are when Oda updates the file, and when a change is saved from the app. Keep edits to what support describes.

What does Oda check before it saves a change into the file?

The whole result. Oda validates the complete change before anything is written, so the file never ends up in a state Oda cannot apply; a change it cannot apply, or one a higher-priority setting already owns, writes nothing.

Is the copy beside the file kept up to date?

No. The first rewrite leaves a copy of the file's earlier content beside it, with .before-update.bak added to its name, and later rewrites never overwrite that copy. Leave it in place.

Does editing the file need a restart?

Not while Oda runs with hot reload on: a valid edit is applied without a restart, once Oda is ready. With hot reload off, it is applied at the next start; nothing else about the file needs a restart.

What does it mean when Oda reports the file was left unchanged?

A rewrite could not be done safely, so the file was not touched and the settings already in effect stay. The report names the file and the reason: Profile settings file <path> was left unchanged: <error>. Correct the file and save again, or ask DataMind support.