I am running Kodi via XServer from a 2-monitor remote computer. When Kodi starts, it occupies entire 2 monitor areas and is absolutely useless.
It has a config to run in windowed mode, but how to activate it from command line?
I have edited
~/.kodi/userdata/guisettings.xml
and changed
<screenmode default="true">DESKTOP</screenmode>
to
<screenmode default="true">WINDOW</screenmode>
but it changes back to DESKTOP each run.
How to overcome?