"window.titleBarStyle" not working / not persistent

Both on Windows and Linux, the advanced setting "window.titleBarStyle" does not persist. I change it to "custom", the window reloads with slightly glitched buttons, and the system title bar disappears as expected. But after closing and reopening the IDE, it always reverts back to "native".

On Windows I can ignore this, but on Linux with GNOME, the system title bar is huge and causes issues in full-screen mode, the bottom part of the program becomes inaccessible because of it. When "window.titleBarStyle" is set to "custom", everything looks perfect, but the setting just won’t stick after restarting.

Is there a way to make this setting persistent?

I can confirm this in Linux and KDE. The actual setting is found in /home/<user>/.arduinoIDE/settings.json and after one run is reverted back. If I change the settings directly in the settings.json it's ignored, and changed from 'custom' to 'native'. Write protect the file doesn't do any good either, it just stays there but isn't read in. My guess is that the IDE creates something in /tmp that is read but erased after next restart then, and settings.json is not read in but "sanitized" if it's writable.

Hi @victor8d. The setting was intentionally disabled due to the UI being partially non-functional if it was changed to "custom".

The Arduino IDE developers are tracking the task of adding full support for the setting here:

If you have a GitHub account, you can subscribe to that thread to get notifications of any new developments related to this subject:


:red_exclamation_mark: Please only comment on the GitHub issue thread if you have new technical information that will assist with the resolution. General discussion and support requests are always welcome here on the Arduino Forum.


I think the only way would be modifying the code:

but maybe one of the other forum helpers will have an idea of an easier way to accomplish this.