I am running Kodi via XServer from 2-monitor remote conputer. When Kodi starts, it occupies entire 2 monitor are and 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?