Keyboard backlight on Xiaomi Notebook keeps turning off












0















Ubuntu 18.04 is installed on my Xiaomi Notebook 13".



I am having an issue with the keyboard backlight : after a few seconds without using the keyboard, the backlight of the keyboard turns off until you press any key.



How can I keep the light always on?



I can't find a setting in the BIOS nor in the setting menus.










share|improve this question



























    0















    Ubuntu 18.04 is installed on my Xiaomi Notebook 13".



    I am having an issue with the keyboard backlight : after a few seconds without using the keyboard, the backlight of the keyboard turns off until you press any key.



    How can I keep the light always on?



    I can't find a setting in the BIOS nor in the setting menus.










    share|improve this question

























      0












      0








      0








      Ubuntu 18.04 is installed on my Xiaomi Notebook 13".



      I am having an issue with the keyboard backlight : after a few seconds without using the keyboard, the backlight of the keyboard turns off until you press any key.



      How can I keep the light always on?



      I can't find a setting in the BIOS nor in the setting menus.










      share|improve this question














      Ubuntu 18.04 is installed on my Xiaomi Notebook 13".



      I am having an issue with the keyboard backlight : after a few seconds without using the keyboard, the backlight of the keyboard turns off until you press any key.



      How can I keep the light always on?



      I can't find a setting in the BIOS nor in the setting menus.







      keyboard 18.04 brightness backlight






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 3 '18 at 13:07









      rbarbazzrbarbazz

      11




      11






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Most keyboard backlights are intended to work that way, turning off after a short time of not typing.



          With that said, there's probably some subdirectory in /sys/class/leds for your keyboard backlight. Mine is /sys/class/leds/dell::kbd_backlight. Inside that are several control files that you can cat to see what they're set to. You can echo to them with sudo to change them.



          With mine, sudo bash -c 'echo 46799s > stop_timeout' in that directory sets the backlight to stay on for half a day after pressing a key, which may not give you exactly what you want, but might be good enough.
          Perhaps yours is similar or there's some other file in your keyboard backlight subdirectory that you can write to to get the effect that you want.






          share|improve this answer


























          • I went through the whole /sys/class/ folder but couldn't find the keyboard nor anything linked to xiaomi. I guess some driver isn't working properly on linux. Thanks for your reply tho !

            – rbarbazz
            Oct 23 '18 at 18:18



















          0














          Restart and boot into BIOS (press F2), in bios go to power settings and change keyboard light from power saving mode to standard mode.






          share|improve this answer








          New contributor




          forte2020 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%2f1051806%2fkeyboard-backlight-on-xiaomi-notebook-keeps-turning-off%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














            Most keyboard backlights are intended to work that way, turning off after a short time of not typing.



            With that said, there's probably some subdirectory in /sys/class/leds for your keyboard backlight. Mine is /sys/class/leds/dell::kbd_backlight. Inside that are several control files that you can cat to see what they're set to. You can echo to them with sudo to change them.



            With mine, sudo bash -c 'echo 46799s > stop_timeout' in that directory sets the backlight to stay on for half a day after pressing a key, which may not give you exactly what you want, but might be good enough.
            Perhaps yours is similar or there's some other file in your keyboard backlight subdirectory that you can write to to get the effect that you want.






            share|improve this answer


























            • I went through the whole /sys/class/ folder but couldn't find the keyboard nor anything linked to xiaomi. I guess some driver isn't working properly on linux. Thanks for your reply tho !

              – rbarbazz
              Oct 23 '18 at 18:18
















            0














            Most keyboard backlights are intended to work that way, turning off after a short time of not typing.



            With that said, there's probably some subdirectory in /sys/class/leds for your keyboard backlight. Mine is /sys/class/leds/dell::kbd_backlight. Inside that are several control files that you can cat to see what they're set to. You can echo to them with sudo to change them.



            With mine, sudo bash -c 'echo 46799s > stop_timeout' in that directory sets the backlight to stay on for half a day after pressing a key, which may not give you exactly what you want, but might be good enough.
            Perhaps yours is similar or there's some other file in your keyboard backlight subdirectory that you can write to to get the effect that you want.






            share|improve this answer


























            • I went through the whole /sys/class/ folder but couldn't find the keyboard nor anything linked to xiaomi. I guess some driver isn't working properly on linux. Thanks for your reply tho !

              – rbarbazz
              Oct 23 '18 at 18:18














            0












            0








            0







            Most keyboard backlights are intended to work that way, turning off after a short time of not typing.



            With that said, there's probably some subdirectory in /sys/class/leds for your keyboard backlight. Mine is /sys/class/leds/dell::kbd_backlight. Inside that are several control files that you can cat to see what they're set to. You can echo to them with sudo to change them.



            With mine, sudo bash -c 'echo 46799s > stop_timeout' in that directory sets the backlight to stay on for half a day after pressing a key, which may not give you exactly what you want, but might be good enough.
            Perhaps yours is similar or there's some other file in your keyboard backlight subdirectory that you can write to to get the effect that you want.






            share|improve this answer















            Most keyboard backlights are intended to work that way, turning off after a short time of not typing.



            With that said, there's probably some subdirectory in /sys/class/leds for your keyboard backlight. Mine is /sys/class/leds/dell::kbd_backlight. Inside that are several control files that you can cat to see what they're set to. You can echo to them with sudo to change them.



            With mine, sudo bash -c 'echo 46799s > stop_timeout' in that directory sets the backlight to stay on for half a day after pressing a key, which may not give you exactly what you want, but might be good enough.
            Perhaps yours is similar or there's some other file in your keyboard backlight subdirectory that you can write to to get the effect that you want.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 16 '18 at 23:17

























            answered Oct 16 '18 at 23:06









            Chai T. RexChai T. Rex

            4,17711536




            4,17711536













            • I went through the whole /sys/class/ folder but couldn't find the keyboard nor anything linked to xiaomi. I guess some driver isn't working properly on linux. Thanks for your reply tho !

              – rbarbazz
              Oct 23 '18 at 18:18



















            • I went through the whole /sys/class/ folder but couldn't find the keyboard nor anything linked to xiaomi. I guess some driver isn't working properly on linux. Thanks for your reply tho !

              – rbarbazz
              Oct 23 '18 at 18:18

















            I went through the whole /sys/class/ folder but couldn't find the keyboard nor anything linked to xiaomi. I guess some driver isn't working properly on linux. Thanks for your reply tho !

            – rbarbazz
            Oct 23 '18 at 18:18





            I went through the whole /sys/class/ folder but couldn't find the keyboard nor anything linked to xiaomi. I guess some driver isn't working properly on linux. Thanks for your reply tho !

            – rbarbazz
            Oct 23 '18 at 18:18













            0














            Restart and boot into BIOS (press F2), in bios go to power settings and change keyboard light from power saving mode to standard mode.






            share|improve this answer








            New contributor




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

























              0














              Restart and boot into BIOS (press F2), in bios go to power settings and change keyboard light from power saving mode to standard mode.






              share|improve this answer








              New contributor




              forte2020 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







                Restart and boot into BIOS (press F2), in bios go to power settings and change keyboard light from power saving mode to standard mode.






                share|improve this answer








                New contributor




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










                Restart and boot into BIOS (press F2), in bios go to power settings and change keyboard light from power saving mode to standard mode.







                share|improve this answer








                New contributor




                forte2020 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






                New contributor




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









                answered 2 hours ago









                forte2020forte2020

                1




                1




                New contributor




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





                New contributor





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






                forte2020 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%2f1051806%2fkeyboard-backlight-on-xiaomi-notebook-keeps-turning-off%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

                    日野市

                    Tu-95轟炸機