Plasma 5 - shutting down kills apps











up vote
0
down vote

favorite












I'm using KDE/Plasma for several years now and I always had a problem with shutting down but it's just now it started to annoy me.



The problem is that when I shutdown my laptop (with Plasma shutdown button) it seems it is just trying to kill every app or kills X server so the other apps just crash.



Why is that a problem? If I have a LibreOffice document opened and I shutdown my laptop without closing it and later when I start my laptop back up and I want to open LibreOffice it would ask about recovering of lost documents. It would do that even if I've saved the document before shutdown.



Other example is Spotify. If I restart my laptop without closing Spotify it will "forget" the last track it was playing.



Only application that seems to have some kind of protection against shutdown is VirtualBox. If I try to shutdown my laptop when VirtualBox's VM is running I would get a message (as plasma notification) that VirtualBox is blocking shutting down.



While it's good that VirtualBox is blocking the shutdown, I would prefer for the other apps to try and close properly before shutting down the system. Is there anything that can be done to fix that?










share|improve this question


























    up vote
    0
    down vote

    favorite












    I'm using KDE/Plasma for several years now and I always had a problem with shutting down but it's just now it started to annoy me.



    The problem is that when I shutdown my laptop (with Plasma shutdown button) it seems it is just trying to kill every app or kills X server so the other apps just crash.



    Why is that a problem? If I have a LibreOffice document opened and I shutdown my laptop without closing it and later when I start my laptop back up and I want to open LibreOffice it would ask about recovering of lost documents. It would do that even if I've saved the document before shutdown.



    Other example is Spotify. If I restart my laptop without closing Spotify it will "forget" the last track it was playing.



    Only application that seems to have some kind of protection against shutdown is VirtualBox. If I try to shutdown my laptop when VirtualBox's VM is running I would get a message (as plasma notification) that VirtualBox is blocking shutting down.



    While it's good that VirtualBox is blocking the shutdown, I would prefer for the other apps to try and close properly before shutting down the system. Is there anything that can be done to fix that?










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm using KDE/Plasma for several years now and I always had a problem with shutting down but it's just now it started to annoy me.



      The problem is that when I shutdown my laptop (with Plasma shutdown button) it seems it is just trying to kill every app or kills X server so the other apps just crash.



      Why is that a problem? If I have a LibreOffice document opened and I shutdown my laptop without closing it and later when I start my laptop back up and I want to open LibreOffice it would ask about recovering of lost documents. It would do that even if I've saved the document before shutdown.



      Other example is Spotify. If I restart my laptop without closing Spotify it will "forget" the last track it was playing.



      Only application that seems to have some kind of protection against shutdown is VirtualBox. If I try to shutdown my laptop when VirtualBox's VM is running I would get a message (as plasma notification) that VirtualBox is blocking shutting down.



      While it's good that VirtualBox is blocking the shutdown, I would prefer for the other apps to try and close properly before shutting down the system. Is there anything that can be done to fix that?










      share|improve this question













      I'm using KDE/Plasma for several years now and I always had a problem with shutting down but it's just now it started to annoy me.



      The problem is that when I shutdown my laptop (with Plasma shutdown button) it seems it is just trying to kill every app or kills X server so the other apps just crash.



      Why is that a problem? If I have a LibreOffice document opened and I shutdown my laptop without closing it and later when I start my laptop back up and I want to open LibreOffice it would ask about recovering of lost documents. It would do that even if I've saved the document before shutdown.



      Other example is Spotify. If I restart my laptop without closing Spotify it will "forget" the last track it was playing.



      Only application that seems to have some kind of protection against shutdown is VirtualBox. If I try to shutdown my laptop when VirtualBox's VM is running I would get a message (as plasma notification) that VirtualBox is blocking shutting down.



      While it's good that VirtualBox is blocking the shutdown, I would prefer for the other apps to try and close properly before shutting down the system. Is there anything that can be done to fix that?







      kde shutdown reboot plasma5






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 5 at 8:07









      FilipK

      488




      488



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f486093%2fplasma-5-shutting-down-kills-apps%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2funix.stackexchange.com%2fquestions%2f486093%2fplasma-5-shutting-down-kills-apps%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

          List directoties down one level, excluding some named directories and files

          list processes belonging to a network namespace

          list systemd RuntimeDirectory mounts