I created an ansible script that installs Arduino IDE together with an icon and Freedesktop compliant launcher file. This parts works very well.
Now I want to preconfigure the IDE's language. A lot of sites mention that preferences are stored in ~/.arduino15/preferences.txt
. Such a file does not exist on my computers. When I create it and add the language setting, it is completely ignored.
Instead I found the file ~/.arduinoIDE/settings.json
, but it seems to not contain any language settings.
Then there is ~/.arduinoIDE/arduino-cli.yaml
, and it has a locale
key that is set to the value chosen in the UI. However it seems not authorative for IDE startup. Whatever I put in the file, the IDE will still used the language I configured in the IDE.
Where does Arduino IDE store it's preferences that I can use to control the IDE's language on next startup?