How to configure KODI to run in windowed mode from command line?












1















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?










share|improve this question



























    1















    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?










    share|improve this question

























      1












      1








      1


      1






      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?










      share|improve this question














      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?







      kodi






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 11 '16 at 19:02









      DimsDims

      50731530




      50731530






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Encountered the same issue. Within the section <videoscreen> of file ~/.kodi/userdata/guisettings.xml you have to change this:



          <screenmode default="true">DESKTOP</screenmode>


          To this:



          <screenmode>WINDOW</screenmode>


          Start Kodi now and it will be windowed.






          share|improve this answer































            0














            In Leia it changed a bit. This will fix it as of today.



            edit ~/.kodi/userdata/guisettings.xml



            change



            <setting id="videoscreen.screenmode" default="true">DESKTOP</setting>



            to



            <setting id="videoscreen.screenmode" default="false">WINDOW</setting>



            and you're all set.






            share|improve this answer










            New contributor




            glassdrop is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.




















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f811147%2fhow-to-configure-kodi-to-run-in-windowed-mode-from-command-line%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              Encountered the same issue. Within the section <videoscreen> of file ~/.kodi/userdata/guisettings.xml you have to change this:



              <screenmode default="true">DESKTOP</screenmode>


              To this:



              <screenmode>WINDOW</screenmode>


              Start Kodi now and it will be windowed.






              share|improve this answer




























                0














                Encountered the same issue. Within the section <videoscreen> of file ~/.kodi/userdata/guisettings.xml you have to change this:



                <screenmode default="true">DESKTOP</screenmode>


                To this:



                <screenmode>WINDOW</screenmode>


                Start Kodi now and it will be windowed.






                share|improve this answer


























                  0












                  0








                  0







                  Encountered the same issue. Within the section <videoscreen> of file ~/.kodi/userdata/guisettings.xml you have to change this:



                  <screenmode default="true">DESKTOP</screenmode>


                  To this:



                  <screenmode>WINDOW</screenmode>


                  Start Kodi now and it will be windowed.






                  share|improve this answer













                  Encountered the same issue. Within the section <videoscreen> of file ~/.kodi/userdata/guisettings.xml you have to change this:



                  <screenmode default="true">DESKTOP</screenmode>


                  To this:



                  <screenmode>WINDOW</screenmode>


                  Start Kodi now and it will be windowed.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 13 '18 at 15:59









                  user2304170user2304170

                  1113




                  1113

























                      0














                      In Leia it changed a bit. This will fix it as of today.



                      edit ~/.kodi/userdata/guisettings.xml



                      change



                      <setting id="videoscreen.screenmode" default="true">DESKTOP</setting>



                      to



                      <setting id="videoscreen.screenmode" default="false">WINDOW</setting>



                      and you're all set.






                      share|improve this answer










                      New contributor




                      glassdrop is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.

























                        0














                        In Leia it changed a bit. This will fix it as of today.



                        edit ~/.kodi/userdata/guisettings.xml



                        change



                        <setting id="videoscreen.screenmode" default="true">DESKTOP</setting>



                        to



                        <setting id="videoscreen.screenmode" default="false">WINDOW</setting>



                        and you're all set.






                        share|improve this answer










                        New contributor




                        glassdrop is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.























                          0












                          0








                          0







                          In Leia it changed a bit. This will fix it as of today.



                          edit ~/.kodi/userdata/guisettings.xml



                          change



                          <setting id="videoscreen.screenmode" default="true">DESKTOP</setting>



                          to



                          <setting id="videoscreen.screenmode" default="false">WINDOW</setting>



                          and you're all set.






                          share|improve this answer










                          New contributor




                          glassdrop is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.










                          In Leia it changed a bit. This will fix it as of today.



                          edit ~/.kodi/userdata/guisettings.xml



                          change



                          <setting id="videoscreen.screenmode" default="true">DESKTOP</setting>



                          to



                          <setting id="videoscreen.screenmode" default="false">WINDOW</setting>



                          and you're all set.







                          share|improve this answer










                          New contributor




                          glassdrop is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          share|improve this answer



                          share|improve this answer








                          edited 2 hours ago





















                          New contributor




                          glassdrop is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 3 hours ago









                          glassdropglassdrop

                          13




                          13




                          New contributor




                          glassdrop is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          glassdrop is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          glassdrop is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f811147%2fhow-to-configure-kodi-to-run-in-windowed-mode-from-command-line%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              香粉寮

                              GameSpot