Show different Plymouth screen on boot vs. shutdown

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am working on a project which has a custom Plymouth boot screen. I wanted to make the progress bar out of text (so the text slides from grey to white/color), but then it would show "nekOS 7 is starting up" on the shutdown screen. Especially in those random instances where it takes a long time to shut down, that would probably confuse the end-user.



So, what I am wondering is if there is a relatively easy way (or any way at all, as treacherous as it may be, hopefully aside from redoing code in the Plymouth splash screen) to have a separate boot screen for shutdown compared to the one at startup?



Thanks for any help in advance!







share|improve this question
























    up vote
    0
    down vote

    favorite












    I am working on a project which has a custom Plymouth boot screen. I wanted to make the progress bar out of text (so the text slides from grey to white/color), but then it would show "nekOS 7 is starting up" on the shutdown screen. Especially in those random instances where it takes a long time to shut down, that would probably confuse the end-user.



    So, what I am wondering is if there is a relatively easy way (or any way at all, as treacherous as it may be, hopefully aside from redoing code in the Plymouth splash screen) to have a separate boot screen for shutdown compared to the one at startup?



    Thanks for any help in advance!







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am working on a project which has a custom Plymouth boot screen. I wanted to make the progress bar out of text (so the text slides from grey to white/color), but then it would show "nekOS 7 is starting up" on the shutdown screen. Especially in those random instances where it takes a long time to shut down, that would probably confuse the end-user.



      So, what I am wondering is if there is a relatively easy way (or any way at all, as treacherous as it may be, hopefully aside from redoing code in the Plymouth splash screen) to have a separate boot screen for shutdown compared to the one at startup?



      Thanks for any help in advance!







      share|improve this question












      I am working on a project which has a custom Plymouth boot screen. I wanted to make the progress bar out of text (so the text slides from grey to white/color), but then it would show "nekOS 7 is starting up" on the shutdown screen. Especially in those random instances where it takes a long time to shut down, that would probably confuse the end-user.



      So, what I am wondering is if there is a relatively easy way (or any way at all, as treacherous as it may be, hopefully aside from redoing code in the Plymouth splash screen) to have a separate boot screen for shutdown compared to the one at startup?



      Thanks for any help in advance!









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 4 at 16:07









      Brenden McFarling

      4611




      4611




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          In the script for your custom theme use Plymouth.GetMode() and compare against "boot", "shutdown", "suspend" or "resume".



          I.e



          if (Plymouth.GetMode () == "suspend")

          ShowSuspendBackground();



          See: https://www.freedesktop.org/wiki/Software/Plymouth/Scripts/






          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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1032059%2fshow-different-plymouth-screen-on-boot-vs-shutdown%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote













            In the script for your custom theme use Plymouth.GetMode() and compare against "boot", "shutdown", "suspend" or "resume".



            I.e



            if (Plymouth.GetMode () == "suspend")

            ShowSuspendBackground();



            See: https://www.freedesktop.org/wiki/Software/Plymouth/Scripts/






            share|improve this answer
























              up vote
              1
              down vote













              In the script for your custom theme use Plymouth.GetMode() and compare against "boot", "shutdown", "suspend" or "resume".



              I.e



              if (Plymouth.GetMode () == "suspend")

              ShowSuspendBackground();



              See: https://www.freedesktop.org/wiki/Software/Plymouth/Scripts/






              share|improve this answer






















                up vote
                1
                down vote










                up vote
                1
                down vote









                In the script for your custom theme use Plymouth.GetMode() and compare against "boot", "shutdown", "suspend" or "resume".



                I.e



                if (Plymouth.GetMode () == "suspend")

                ShowSuspendBackground();



                See: https://www.freedesktop.org/wiki/Software/Plymouth/Scripts/






                share|improve this answer












                In the script for your custom theme use Plymouth.GetMode() and compare against "boot", "shutdown", "suspend" or "resume".



                I.e



                if (Plymouth.GetMode () == "suspend")

                ShowSuspendBackground();



                See: https://www.freedesktop.org/wiki/Software/Plymouth/Scripts/







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 30 at 12:07









                Anthony Myatt

                111




                111






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1032059%2fshow-different-plymouth-screen-on-boot-vs-shutdown%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error

                    How do I move numbers in filenames, in a batch renaming operation?