How to reset default window positions and sizes?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







10















Short Version



How do you reset the default window positioning and sizing rules? As in, when an application starts, it remembers its last position and size. I want it to not do that, and start in whatever position it would have started in a fresh install.



Is there a list somewhere that I can just delete (or modify)?



System info



Ubuntu MATE 16.04 LTS, using Compiz



Long Version and Explanation



My reason for asking is probably a little weird. I have an application (specifically, Kerbal Space Program) that has started crashing immediately on load. I had been tweaking the keyboard shortcuts within the game, and accidentally set one to one of Compiz's window resize shortcuts that I never use (mea culpa) and when I used it the game immediately crashed. Ever since then, it won't load at all.



Answers to questions before you ask them:



"This sounds like a bug in KSP and is therefore not relevant here"
You're probably right, but I can't rewrite the game's code. I have multiple versions of the game installed, and they're all giving me exactly the same problem. So wherever the problem is, it's not anywhere in the game's local files, because those are all separate. I think it's a case of KSP not responding intelligently to a situation it didn't expect.



Basically, I have a suspicion that if I can reset the default window size, the problem will go away, which is why I'm asking this here.



"Is KSP giving any helpful error messages?" No.



"Is KSP giving any unhelpful error messages?" No.



"Surely you've tried this in other window managers?" Indeed. Same problem in Compiz and Marco. I haven't tried installing any others.



"Does it work in other user accounts?" Like a dream. I have all my KSP installs on a separate drive, so they're accessible for my test user -- and it loads just fine.










share|improve this question




















  • 1





    just a wild hunch, but does Kerbal Space normally have a fixed window size? if so, try and see if the command dconf dump / has any information on default window size of kerbal (that might be incorrect and make it crash).

    – Jacob Vlijm
    Jul 4 '16 at 21:23













  • @JacobVlijm No-go. The only the things it turns up about "ksp" are some scripts I made myself. Oh, and a bunch of stuff about worKSPaces too... sigh

    – TheTrippmeister
    Jul 5 '16 at 5:53


















10















Short Version



How do you reset the default window positioning and sizing rules? As in, when an application starts, it remembers its last position and size. I want it to not do that, and start in whatever position it would have started in a fresh install.



Is there a list somewhere that I can just delete (or modify)?



System info



Ubuntu MATE 16.04 LTS, using Compiz



Long Version and Explanation



My reason for asking is probably a little weird. I have an application (specifically, Kerbal Space Program) that has started crashing immediately on load. I had been tweaking the keyboard shortcuts within the game, and accidentally set one to one of Compiz's window resize shortcuts that I never use (mea culpa) and when I used it the game immediately crashed. Ever since then, it won't load at all.



Answers to questions before you ask them:



"This sounds like a bug in KSP and is therefore not relevant here"
You're probably right, but I can't rewrite the game's code. I have multiple versions of the game installed, and they're all giving me exactly the same problem. So wherever the problem is, it's not anywhere in the game's local files, because those are all separate. I think it's a case of KSP not responding intelligently to a situation it didn't expect.



Basically, I have a suspicion that if I can reset the default window size, the problem will go away, which is why I'm asking this here.



"Is KSP giving any helpful error messages?" No.



"Is KSP giving any unhelpful error messages?" No.



"Surely you've tried this in other window managers?" Indeed. Same problem in Compiz and Marco. I haven't tried installing any others.



"Does it work in other user accounts?" Like a dream. I have all my KSP installs on a separate drive, so they're accessible for my test user -- and it loads just fine.










share|improve this question




















  • 1





    just a wild hunch, but does Kerbal Space normally have a fixed window size? if so, try and see if the command dconf dump / has any information on default window size of kerbal (that might be incorrect and make it crash).

    – Jacob Vlijm
    Jul 4 '16 at 21:23













  • @JacobVlijm No-go. The only the things it turns up about "ksp" are some scripts I made myself. Oh, and a bunch of stuff about worKSPaces too... sigh

    – TheTrippmeister
    Jul 5 '16 at 5:53














10












10








10


1






Short Version



How do you reset the default window positioning and sizing rules? As in, when an application starts, it remembers its last position and size. I want it to not do that, and start in whatever position it would have started in a fresh install.



Is there a list somewhere that I can just delete (or modify)?



System info



Ubuntu MATE 16.04 LTS, using Compiz



Long Version and Explanation



My reason for asking is probably a little weird. I have an application (specifically, Kerbal Space Program) that has started crashing immediately on load. I had been tweaking the keyboard shortcuts within the game, and accidentally set one to one of Compiz's window resize shortcuts that I never use (mea culpa) and when I used it the game immediately crashed. Ever since then, it won't load at all.



Answers to questions before you ask them:



"This sounds like a bug in KSP and is therefore not relevant here"
You're probably right, but I can't rewrite the game's code. I have multiple versions of the game installed, and they're all giving me exactly the same problem. So wherever the problem is, it's not anywhere in the game's local files, because those are all separate. I think it's a case of KSP not responding intelligently to a situation it didn't expect.



Basically, I have a suspicion that if I can reset the default window size, the problem will go away, which is why I'm asking this here.



"Is KSP giving any helpful error messages?" No.



"Is KSP giving any unhelpful error messages?" No.



"Surely you've tried this in other window managers?" Indeed. Same problem in Compiz and Marco. I haven't tried installing any others.



"Does it work in other user accounts?" Like a dream. I have all my KSP installs on a separate drive, so they're accessible for my test user -- and it loads just fine.










share|improve this question
















Short Version



How do you reset the default window positioning and sizing rules? As in, when an application starts, it remembers its last position and size. I want it to not do that, and start in whatever position it would have started in a fresh install.



Is there a list somewhere that I can just delete (or modify)?



System info



Ubuntu MATE 16.04 LTS, using Compiz



Long Version and Explanation



My reason for asking is probably a little weird. I have an application (specifically, Kerbal Space Program) that has started crashing immediately on load. I had been tweaking the keyboard shortcuts within the game, and accidentally set one to one of Compiz's window resize shortcuts that I never use (mea culpa) and when I used it the game immediately crashed. Ever since then, it won't load at all.



Answers to questions before you ask them:



"This sounds like a bug in KSP and is therefore not relevant here"
You're probably right, but I can't rewrite the game's code. I have multiple versions of the game installed, and they're all giving me exactly the same problem. So wherever the problem is, it's not anywhere in the game's local files, because those are all separate. I think it's a case of KSP not responding intelligently to a situation it didn't expect.



Basically, I have a suspicion that if I can reset the default window size, the problem will go away, which is why I'm asking this here.



"Is KSP giving any helpful error messages?" No.



"Is KSP giving any unhelpful error messages?" No.



"Surely you've tried this in other window managers?" Indeed. Same problem in Compiz and Marco. I haven't tried installing any others.



"Does it work in other user accounts?" Like a dream. I have all my KSP installs on a separate drive, so they're accessible for my test user -- and it loads just fine.







16.04 compiz window-manager window mate






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 13 '16 at 1:36









Juan Antonio

8401626




8401626










asked Jul 4 '16 at 21:10









TheTrippmeisterTheTrippmeister

5113




5113








  • 1





    just a wild hunch, but does Kerbal Space normally have a fixed window size? if so, try and see if the command dconf dump / has any information on default window size of kerbal (that might be incorrect and make it crash).

    – Jacob Vlijm
    Jul 4 '16 at 21:23













  • @JacobVlijm No-go. The only the things it turns up about "ksp" are some scripts I made myself. Oh, and a bunch of stuff about worKSPaces too... sigh

    – TheTrippmeister
    Jul 5 '16 at 5:53














  • 1





    just a wild hunch, but does Kerbal Space normally have a fixed window size? if so, try and see if the command dconf dump / has any information on default window size of kerbal (that might be incorrect and make it crash).

    – Jacob Vlijm
    Jul 4 '16 at 21:23













  • @JacobVlijm No-go. The only the things it turns up about "ksp" are some scripts I made myself. Oh, and a bunch of stuff about worKSPaces too... sigh

    – TheTrippmeister
    Jul 5 '16 at 5:53








1




1





just a wild hunch, but does Kerbal Space normally have a fixed window size? if so, try and see if the command dconf dump / has any information on default window size of kerbal (that might be incorrect and make it crash).

– Jacob Vlijm
Jul 4 '16 at 21:23







just a wild hunch, but does Kerbal Space normally have a fixed window size? if so, try and see if the command dconf dump / has any information on default window size of kerbal (that might be incorrect and make it crash).

– Jacob Vlijm
Jul 4 '16 at 21:23















@JacobVlijm No-go. The only the things it turns up about "ksp" are some scripts I made myself. Oh, and a bunch of stuff about worKSPaces too... sigh

– TheTrippmeister
Jul 5 '16 at 5:53





@JacobVlijm No-go. The only the things it turns up about "ksp" are some scripts I made myself. Oh, and a bunch of stuff about worKSPaces too... sigh

– TheTrippmeister
Jul 5 '16 at 5:53










2 Answers
2






active

oldest

votes


















0














I found this answer while doing some research into your problem and I thought that it might be of use as while it wont reset the default permissions it will allow you to choose the size of the window when the program is opened.






share|improve this answer

































    0














    General solution:



    Using the dconf editor (the GUI one, via the dconf-editor package on ubuntu and similar, is most convenient, though the command line one via dconf-cli probably will work too) search for the relevant settings. For GTK standard dialogs such as the file chooser, color chooser, etc, they are likely located in org/gtk/settings, and for standalone applications, they are likely located in org/gnome.



    Different applications store their settings in different ways so your mileage may vary, but try looking around in there for the application (or vendor thereof) you are using, and see if you can find a key relating to window size.



    I fixed my problem by setting org/gtk/settings/file-chooser/window-size to (800, 600), and the next time I used the open-file dialog, it had the requested size.



    Here's what I was doing:




    I use X11 forwarding on a remote server for home development and somehow the open file dialog was resized to a very large size, such that it exceeded the size of the monitors upon which I do my work, and I was thus unable to navigate the GUI easily, having to use it by keyboard shortcuts only. This was annoying, but not annoying enough to do something drastic to fix, so it persisted for years (as you cannot resize this dialog via ordinary means when using X11 forwarding on xming). Every so often it would frustrate me and I would search the internet for a solution about how to fix it, finding this and other questions like it on stackoverflow, but with no applicable answers.







    share|improve this answer
























      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%2f794868%2fhow-to-reset-default-window-positions-and-sizes%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














      I found this answer while doing some research into your problem and I thought that it might be of use as while it wont reset the default permissions it will allow you to choose the size of the window when the program is opened.






      share|improve this answer






























        0














        I found this answer while doing some research into your problem and I thought that it might be of use as while it wont reset the default permissions it will allow you to choose the size of the window when the program is opened.






        share|improve this answer




























          0












          0








          0







          I found this answer while doing some research into your problem and I thought that it might be of use as while it wont reset the default permissions it will allow you to choose the size of the window when the program is opened.






          share|improve this answer















          I found this answer while doing some research into your problem and I thought that it might be of use as while it wont reset the default permissions it will allow you to choose the size of the window when the program is opened.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:24









          Community

          1




          1










          answered Jan 10 '17 at 14:20









          LinuxSailorTechLinuxSailorTech

          4851520




          4851520

























              0














              General solution:



              Using the dconf editor (the GUI one, via the dconf-editor package on ubuntu and similar, is most convenient, though the command line one via dconf-cli probably will work too) search for the relevant settings. For GTK standard dialogs such as the file chooser, color chooser, etc, they are likely located in org/gtk/settings, and for standalone applications, they are likely located in org/gnome.



              Different applications store their settings in different ways so your mileage may vary, but try looking around in there for the application (or vendor thereof) you are using, and see if you can find a key relating to window size.



              I fixed my problem by setting org/gtk/settings/file-chooser/window-size to (800, 600), and the next time I used the open-file dialog, it had the requested size.



              Here's what I was doing:




              I use X11 forwarding on a remote server for home development and somehow the open file dialog was resized to a very large size, such that it exceeded the size of the monitors upon which I do my work, and I was thus unable to navigate the GUI easily, having to use it by keyboard shortcuts only. This was annoying, but not annoying enough to do something drastic to fix, so it persisted for years (as you cannot resize this dialog via ordinary means when using X11 forwarding on xming). Every so often it would frustrate me and I would search the internet for a solution about how to fix it, finding this and other questions like it on stackoverflow, but with no applicable answers.







              share|improve this answer




























                0














                General solution:



                Using the dconf editor (the GUI one, via the dconf-editor package on ubuntu and similar, is most convenient, though the command line one via dconf-cli probably will work too) search for the relevant settings. For GTK standard dialogs such as the file chooser, color chooser, etc, they are likely located in org/gtk/settings, and for standalone applications, they are likely located in org/gnome.



                Different applications store their settings in different ways so your mileage may vary, but try looking around in there for the application (or vendor thereof) you are using, and see if you can find a key relating to window size.



                I fixed my problem by setting org/gtk/settings/file-chooser/window-size to (800, 600), and the next time I used the open-file dialog, it had the requested size.



                Here's what I was doing:




                I use X11 forwarding on a remote server for home development and somehow the open file dialog was resized to a very large size, such that it exceeded the size of the monitors upon which I do my work, and I was thus unable to navigate the GUI easily, having to use it by keyboard shortcuts only. This was annoying, but not annoying enough to do something drastic to fix, so it persisted for years (as you cannot resize this dialog via ordinary means when using X11 forwarding on xming). Every so often it would frustrate me and I would search the internet for a solution about how to fix it, finding this and other questions like it on stackoverflow, but with no applicable answers.







                share|improve this answer


























                  0












                  0








                  0







                  General solution:



                  Using the dconf editor (the GUI one, via the dconf-editor package on ubuntu and similar, is most convenient, though the command line one via dconf-cli probably will work too) search for the relevant settings. For GTK standard dialogs such as the file chooser, color chooser, etc, they are likely located in org/gtk/settings, and for standalone applications, they are likely located in org/gnome.



                  Different applications store their settings in different ways so your mileage may vary, but try looking around in there for the application (or vendor thereof) you are using, and see if you can find a key relating to window size.



                  I fixed my problem by setting org/gtk/settings/file-chooser/window-size to (800, 600), and the next time I used the open-file dialog, it had the requested size.



                  Here's what I was doing:




                  I use X11 forwarding on a remote server for home development and somehow the open file dialog was resized to a very large size, such that it exceeded the size of the monitors upon which I do my work, and I was thus unable to navigate the GUI easily, having to use it by keyboard shortcuts only. This was annoying, but not annoying enough to do something drastic to fix, so it persisted for years (as you cannot resize this dialog via ordinary means when using X11 forwarding on xming). Every so often it would frustrate me and I would search the internet for a solution about how to fix it, finding this and other questions like it on stackoverflow, but with no applicable answers.







                  share|improve this answer













                  General solution:



                  Using the dconf editor (the GUI one, via the dconf-editor package on ubuntu and similar, is most convenient, though the command line one via dconf-cli probably will work too) search for the relevant settings. For GTK standard dialogs such as the file chooser, color chooser, etc, they are likely located in org/gtk/settings, and for standalone applications, they are likely located in org/gnome.



                  Different applications store their settings in different ways so your mileage may vary, but try looking around in there for the application (or vendor thereof) you are using, and see if you can find a key relating to window size.



                  I fixed my problem by setting org/gtk/settings/file-chooser/window-size to (800, 600), and the next time I used the open-file dialog, it had the requested size.



                  Here's what I was doing:




                  I use X11 forwarding on a remote server for home development and somehow the open file dialog was resized to a very large size, such that it exceeded the size of the monitors upon which I do my work, and I was thus unable to navigate the GUI easily, having to use it by keyboard shortcuts only. This was annoying, but not annoying enough to do something drastic to fix, so it persisted for years (as you cannot resize this dialog via ordinary means when using X11 forwarding on xming). Every so often it would frustrate me and I would search the internet for a solution about how to fix it, finding this and other questions like it on stackoverflow, but with no applicable answers.








                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered May 12 '17 at 7:22









                  WugWug

                  1013




                  1013






























                      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%2f794868%2fhow-to-reset-default-window-positions-and-sizes%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

                      How to change which sound is reproduced for terminal bell?

                      Can I use Tabulator js library in my java Spring + Thymeleaf project?

                      Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents