How to synchronize KiCad user settings between Linux and Windows?

Is there a clean and easy way to synchronize KiCad user settings between Linux and Windows (e.g. Pcbnew colors etc)?

Do they use the same files?
On windows they are in:

C:\Users\JonDoe\AppData\Roaming\kicad

should a copy&paste&modify work?

PS: with modify I mean opening them in a text editor and comparing them to the linux version… I guess some folders will be different.

Sure, diffing and editing it manually will work. But maybe some has already created a script (or something else) to do that automatically.

I believe one can’t simply replace KiCad config files in Windows with Linux ones (or vice verse) as they contain some paths.

That’s the thing… all paths I see in the windows config files seem to be the same…

Sorry, I meant format of the path is different between Linux and Windows though they point to the same location eventually.