How do I disable automatic screen locking in Xubuntu?












7















After about 10 minutes, Xubuntu 14.04 goes to sleep all by itself. I've set up the shuffle on the music player and it only gets through 3 songs before I have to sign in again. There is no screensaver installed and the power setting for AC is set to never shut down. So, what do I need to do?










share|improve this question

























  • Related: askubuntu.com/q/516523/18612

    – Christopher Kyle Horton
    Nov 2 '14 at 20:12






  • 1





    sudo apt-get purge light-locker?

    – Fake Name
    Dec 17 '15 at 20:38
















7















After about 10 minutes, Xubuntu 14.04 goes to sleep all by itself. I've set up the shuffle on the music player and it only gets through 3 songs before I have to sign in again. There is no screensaver installed and the power setting for AC is set to never shut down. So, what do I need to do?










share|improve this question

























  • Related: askubuntu.com/q/516523/18612

    – Christopher Kyle Horton
    Nov 2 '14 at 20:12






  • 1





    sudo apt-get purge light-locker?

    – Fake Name
    Dec 17 '15 at 20:38














7












7








7


1






After about 10 minutes, Xubuntu 14.04 goes to sleep all by itself. I've set up the shuffle on the music player and it only gets through 3 songs before I have to sign in again. There is no screensaver installed and the power setting for AC is set to never shut down. So, what do I need to do?










share|improve this question
















After about 10 minutes, Xubuntu 14.04 goes to sleep all by itself. I've set up the shuffle on the music player and it only gets through 3 songs before I have to sign in again. There is no screensaver installed and the power setting for AC is set to never shut down. So, what do I need to do?







14.04 xubuntu lock-screen






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 2 '14 at 20:13









Christopher Kyle Horton

10.5k1269143




10.5k1269143










asked Nov 2 '14 at 20:00









Bob BruniusBob Brunius

191229




191229













  • Related: askubuntu.com/q/516523/18612

    – Christopher Kyle Horton
    Nov 2 '14 at 20:12






  • 1





    sudo apt-get purge light-locker?

    – Fake Name
    Dec 17 '15 at 20:38



















  • Related: askubuntu.com/q/516523/18612

    – Christopher Kyle Horton
    Nov 2 '14 at 20:12






  • 1





    sudo apt-get purge light-locker?

    – Fake Name
    Dec 17 '15 at 20:38

















Related: askubuntu.com/q/516523/18612

– Christopher Kyle Horton
Nov 2 '14 at 20:12





Related: askubuntu.com/q/516523/18612

– Christopher Kyle Horton
Nov 2 '14 at 20:12




1




1





sudo apt-get purge light-locker?

– Fake Name
Dec 17 '15 at 20:38





sudo apt-get purge light-locker?

– Fake Name
Dec 17 '15 at 20:38










6 Answers
6






active

oldest

votes


















15














light-locker is the new screen locking program in Xubuntu 14.04. If you disable light-locker, it should stop locking your screen.



How to disable lightlocker




  1. Go to settings manager > session and startup > application autostart and disable light-locker, which is titled “Screen Locker (Launch screen locker program).”

  2. Reboot your machine and it should stop locking. Alternatively, start up Terminal with Ctrl+Alt+T and run killall light-locker.


Source: Disabling screen lock is not possible






share|improve this answer

































    2














    On my Xubuntu 14.04 install, even when I had Light Locker completely disabled, my screen still blanked after about ten minutes. The solution to my problem was to run the following command:



    sudo xset s 0 0


    Make sure you run this command from your desktop session and not through an ssh session, or the DISPLAY variable will not be set and this command will not work.



    more info: http://ubuntuforums.org/showthread.php?t=1346567



    a bug report has been filed: https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/498366



    even more info: http://www.shallowsky.com/linux/x-screen-blanking.html






    share|improve this answer
























    • most annoying thing I've ever dealt with... I'm on Xubutu 16.04, and completely nuked light-locker and gnome-screensaver, and the screen still blanks after 10 minutes while the power manager and greeter settings are set to never blank. I use nvidia xorg drivers and good lord, manually editing xorg.conf finally saved me from this ridiculous issue, as you can't even set this in nvidia-settings.

      – Tcll
      Mar 15 at 14:11



















    2














    One more solution - start a program below:



    /usr/bin/light-locker-settings&


    and shift the Enable light-Locking slider to the OFF position, then hit Close.



    This panel contains two Screensaver sliders as well.






    share|improve this answer































      1














      This worked for me:



      sudo mv /etc/xdg/autostart/light-locker.desktop /etc/xdg/autostart/light-locker.desktop.bak


      It was based on some info in this bug report:
      https://bugs.launchpad.net/ubuntu/+source/light-locker/+bug/1287255






      share|improve this answer

































        0














        You can edit the file at /etc/xdg/autostart/light-locker.desktop and add the line



        Hidden=true


        as documented here. This will disable light-locker globally, which is nice if your family starts complaining that they cannot unlock their desktops. You can copy the file to ~/.config/autostart first to disable it for a specific user only.






        share|improve this answer































          0














          Provided more intuitively from the resource in Nacht's answer.



          If you use nvidia xorg drivers and have gone as far as to nuke light-locker and gnome-screensaver from your system,
          and sudo xset 0 0 doesn't work for you (your screen still blanks),

          edit xorg.conf wherever you saved it (typically saved in /etc/X11/) like so:



          Section "ServerLayout"


          ...



              Option          "BlankTime"     "0"
          Option "StandbyTime" "0"
          Option "SuspendTime" "0"
          Option "OffTime" "0"

          EndSection


          save, and reboot



          your screen should no longer blank after 10 minutes






          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%2f544818%2fhow-do-i-disable-automatic-screen-locking-in-xubuntu%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            6 Answers
            6






            active

            oldest

            votes








            6 Answers
            6






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            15














            light-locker is the new screen locking program in Xubuntu 14.04. If you disable light-locker, it should stop locking your screen.



            How to disable lightlocker




            1. Go to settings manager > session and startup > application autostart and disable light-locker, which is titled “Screen Locker (Launch screen locker program).”

            2. Reboot your machine and it should stop locking. Alternatively, start up Terminal with Ctrl+Alt+T and run killall light-locker.


            Source: Disabling screen lock is not possible






            share|improve this answer






























              15














              light-locker is the new screen locking program in Xubuntu 14.04. If you disable light-locker, it should stop locking your screen.



              How to disable lightlocker




              1. Go to settings manager > session and startup > application autostart and disable light-locker, which is titled “Screen Locker (Launch screen locker program).”

              2. Reboot your machine and it should stop locking. Alternatively, start up Terminal with Ctrl+Alt+T and run killall light-locker.


              Source: Disabling screen lock is not possible






              share|improve this answer




























                15












                15








                15







                light-locker is the new screen locking program in Xubuntu 14.04. If you disable light-locker, it should stop locking your screen.



                How to disable lightlocker




                1. Go to settings manager > session and startup > application autostart and disable light-locker, which is titled “Screen Locker (Launch screen locker program).”

                2. Reboot your machine and it should stop locking. Alternatively, start up Terminal with Ctrl+Alt+T and run killall light-locker.


                Source: Disabling screen lock is not possible






                share|improve this answer















                light-locker is the new screen locking program in Xubuntu 14.04. If you disable light-locker, it should stop locking your screen.



                How to disable lightlocker




                1. Go to settings manager > session and startup > application autostart and disable light-locker, which is titled “Screen Locker (Launch screen locker program).”

                2. Reboot your machine and it should stop locking. Alternatively, start up Terminal with Ctrl+Alt+T and run killall light-locker.


                Source: Disabling screen lock is not possible







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Feb 8 '15 at 15:43









                David Foerster

                28.5k1367113




                28.5k1367113










                answered Nov 2 '14 at 20:08









                GalgaleshGalgalesh

                5,01112453




                5,01112453

























                    2














                    On my Xubuntu 14.04 install, even when I had Light Locker completely disabled, my screen still blanked after about ten minutes. The solution to my problem was to run the following command:



                    sudo xset s 0 0


                    Make sure you run this command from your desktop session and not through an ssh session, or the DISPLAY variable will not be set and this command will not work.



                    more info: http://ubuntuforums.org/showthread.php?t=1346567



                    a bug report has been filed: https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/498366



                    even more info: http://www.shallowsky.com/linux/x-screen-blanking.html






                    share|improve this answer
























                    • most annoying thing I've ever dealt with... I'm on Xubutu 16.04, and completely nuked light-locker and gnome-screensaver, and the screen still blanks after 10 minutes while the power manager and greeter settings are set to never blank. I use nvidia xorg drivers and good lord, manually editing xorg.conf finally saved me from this ridiculous issue, as you can't even set this in nvidia-settings.

                      – Tcll
                      Mar 15 at 14:11
















                    2














                    On my Xubuntu 14.04 install, even when I had Light Locker completely disabled, my screen still blanked after about ten minutes. The solution to my problem was to run the following command:



                    sudo xset s 0 0


                    Make sure you run this command from your desktop session and not through an ssh session, or the DISPLAY variable will not be set and this command will not work.



                    more info: http://ubuntuforums.org/showthread.php?t=1346567



                    a bug report has been filed: https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/498366



                    even more info: http://www.shallowsky.com/linux/x-screen-blanking.html






                    share|improve this answer
























                    • most annoying thing I've ever dealt with... I'm on Xubutu 16.04, and completely nuked light-locker and gnome-screensaver, and the screen still blanks after 10 minutes while the power manager and greeter settings are set to never blank. I use nvidia xorg drivers and good lord, manually editing xorg.conf finally saved me from this ridiculous issue, as you can't even set this in nvidia-settings.

                      – Tcll
                      Mar 15 at 14:11














                    2












                    2








                    2







                    On my Xubuntu 14.04 install, even when I had Light Locker completely disabled, my screen still blanked after about ten minutes. The solution to my problem was to run the following command:



                    sudo xset s 0 0


                    Make sure you run this command from your desktop session and not through an ssh session, or the DISPLAY variable will not be set and this command will not work.



                    more info: http://ubuntuforums.org/showthread.php?t=1346567



                    a bug report has been filed: https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/498366



                    even more info: http://www.shallowsky.com/linux/x-screen-blanking.html






                    share|improve this answer













                    On my Xubuntu 14.04 install, even when I had Light Locker completely disabled, my screen still blanked after about ten minutes. The solution to my problem was to run the following command:



                    sudo xset s 0 0


                    Make sure you run this command from your desktop session and not through an ssh session, or the DISPLAY variable will not be set and this command will not work.



                    more info: http://ubuntuforums.org/showthread.php?t=1346567



                    a bug report has been filed: https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/498366



                    even more info: http://www.shallowsky.com/linux/x-screen-blanking.html







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jan 19 '15 at 10:32









                    NachtNacht

                    284311




                    284311













                    • most annoying thing I've ever dealt with... I'm on Xubutu 16.04, and completely nuked light-locker and gnome-screensaver, and the screen still blanks after 10 minutes while the power manager and greeter settings are set to never blank. I use nvidia xorg drivers and good lord, manually editing xorg.conf finally saved me from this ridiculous issue, as you can't even set this in nvidia-settings.

                      – Tcll
                      Mar 15 at 14:11



















                    • most annoying thing I've ever dealt with... I'm on Xubutu 16.04, and completely nuked light-locker and gnome-screensaver, and the screen still blanks after 10 minutes while the power manager and greeter settings are set to never blank. I use nvidia xorg drivers and good lord, manually editing xorg.conf finally saved me from this ridiculous issue, as you can't even set this in nvidia-settings.

                      – Tcll
                      Mar 15 at 14:11

















                    most annoying thing I've ever dealt with... I'm on Xubutu 16.04, and completely nuked light-locker and gnome-screensaver, and the screen still blanks after 10 minutes while the power manager and greeter settings are set to never blank. I use nvidia xorg drivers and good lord, manually editing xorg.conf finally saved me from this ridiculous issue, as you can't even set this in nvidia-settings.

                    – Tcll
                    Mar 15 at 14:11





                    most annoying thing I've ever dealt with... I'm on Xubutu 16.04, and completely nuked light-locker and gnome-screensaver, and the screen still blanks after 10 minutes while the power manager and greeter settings are set to never blank. I use nvidia xorg drivers and good lord, manually editing xorg.conf finally saved me from this ridiculous issue, as you can't even set this in nvidia-settings.

                    – Tcll
                    Mar 15 at 14:11











                    2














                    One more solution - start a program below:



                    /usr/bin/light-locker-settings&


                    and shift the Enable light-Locking slider to the OFF position, then hit Close.



                    This panel contains two Screensaver sliders as well.






                    share|improve this answer




























                      2














                      One more solution - start a program below:



                      /usr/bin/light-locker-settings&


                      and shift the Enable light-Locking slider to the OFF position, then hit Close.



                      This panel contains two Screensaver sliders as well.






                      share|improve this answer


























                        2












                        2








                        2







                        One more solution - start a program below:



                        /usr/bin/light-locker-settings&


                        and shift the Enable light-Locking slider to the OFF position, then hit Close.



                        This panel contains two Screensaver sliders as well.






                        share|improve this answer













                        One more solution - start a program below:



                        /usr/bin/light-locker-settings&


                        and shift the Enable light-Locking slider to the OFF position, then hit Close.



                        This panel contains two Screensaver sliders as well.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Nov 23 '15 at 19:52









                        HEKTOHEKTO

                        2191413




                        2191413























                            1














                            This worked for me:



                            sudo mv /etc/xdg/autostart/light-locker.desktop /etc/xdg/autostart/light-locker.desktop.bak


                            It was based on some info in this bug report:
                            https://bugs.launchpad.net/ubuntu/+source/light-locker/+bug/1287255






                            share|improve this answer






























                              1














                              This worked for me:



                              sudo mv /etc/xdg/autostart/light-locker.desktop /etc/xdg/autostart/light-locker.desktop.bak


                              It was based on some info in this bug report:
                              https://bugs.launchpad.net/ubuntu/+source/light-locker/+bug/1287255






                              share|improve this answer




























                                1












                                1








                                1







                                This worked for me:



                                sudo mv /etc/xdg/autostart/light-locker.desktop /etc/xdg/autostart/light-locker.desktop.bak


                                It was based on some info in this bug report:
                                https://bugs.launchpad.net/ubuntu/+source/light-locker/+bug/1287255






                                share|improve this answer















                                This worked for me:



                                sudo mv /etc/xdg/autostart/light-locker.desktop /etc/xdg/autostart/light-locker.desktop.bak


                                It was based on some info in this bug report:
                                https://bugs.launchpad.net/ubuntu/+source/light-locker/+bug/1287255







                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Feb 22 '16 at 20:42









                                Mathieu Rodic

                                1094




                                1094










                                answered Feb 1 '16 at 8:34









                                IntegratorIntegrator

                                1714




                                1714























                                    0














                                    You can edit the file at /etc/xdg/autostart/light-locker.desktop and add the line



                                    Hidden=true


                                    as documented here. This will disable light-locker globally, which is nice if your family starts complaining that they cannot unlock their desktops. You can copy the file to ~/.config/autostart first to disable it for a specific user only.






                                    share|improve this answer




























                                      0














                                      You can edit the file at /etc/xdg/autostart/light-locker.desktop and add the line



                                      Hidden=true


                                      as documented here. This will disable light-locker globally, which is nice if your family starts complaining that they cannot unlock their desktops. You can copy the file to ~/.config/autostart first to disable it for a specific user only.






                                      share|improve this answer


























                                        0












                                        0








                                        0







                                        You can edit the file at /etc/xdg/autostart/light-locker.desktop and add the line



                                        Hidden=true


                                        as documented here. This will disable light-locker globally, which is nice if your family starts complaining that they cannot unlock their desktops. You can copy the file to ~/.config/autostart first to disable it for a specific user only.






                                        share|improve this answer













                                        You can edit the file at /etc/xdg/autostart/light-locker.desktop and add the line



                                        Hidden=true


                                        as documented here. This will disable light-locker globally, which is nice if your family starts complaining that they cannot unlock their desktops. You can copy the file to ~/.config/autostart first to disable it for a specific user only.







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Mar 24 '17 at 9:13









                                        hochlhochl

                                        12316




                                        12316























                                            0














                                            Provided more intuitively from the resource in Nacht's answer.



                                            If you use nvidia xorg drivers and have gone as far as to nuke light-locker and gnome-screensaver from your system,
                                            and sudo xset 0 0 doesn't work for you (your screen still blanks),

                                            edit xorg.conf wherever you saved it (typically saved in /etc/X11/) like so:



                                            Section "ServerLayout"


                                            ...



                                                Option          "BlankTime"     "0"
                                            Option "StandbyTime" "0"
                                            Option "SuspendTime" "0"
                                            Option "OffTime" "0"

                                            EndSection


                                            save, and reboot



                                            your screen should no longer blank after 10 minutes






                                            share|improve this answer




























                                              0














                                              Provided more intuitively from the resource in Nacht's answer.



                                              If you use nvidia xorg drivers and have gone as far as to nuke light-locker and gnome-screensaver from your system,
                                              and sudo xset 0 0 doesn't work for you (your screen still blanks),

                                              edit xorg.conf wherever you saved it (typically saved in /etc/X11/) like so:



                                              Section "ServerLayout"


                                              ...



                                                  Option          "BlankTime"     "0"
                                              Option "StandbyTime" "0"
                                              Option "SuspendTime" "0"
                                              Option "OffTime" "0"

                                              EndSection


                                              save, and reboot



                                              your screen should no longer blank after 10 minutes






                                              share|improve this answer


























                                                0












                                                0








                                                0







                                                Provided more intuitively from the resource in Nacht's answer.



                                                If you use nvidia xorg drivers and have gone as far as to nuke light-locker and gnome-screensaver from your system,
                                                and sudo xset 0 0 doesn't work for you (your screen still blanks),

                                                edit xorg.conf wherever you saved it (typically saved in /etc/X11/) like so:



                                                Section "ServerLayout"


                                                ...



                                                    Option          "BlankTime"     "0"
                                                Option "StandbyTime" "0"
                                                Option "SuspendTime" "0"
                                                Option "OffTime" "0"

                                                EndSection


                                                save, and reboot



                                                your screen should no longer blank after 10 minutes






                                                share|improve this answer













                                                Provided more intuitively from the resource in Nacht's answer.



                                                If you use nvidia xorg drivers and have gone as far as to nuke light-locker and gnome-screensaver from your system,
                                                and sudo xset 0 0 doesn't work for you (your screen still blanks),

                                                edit xorg.conf wherever you saved it (typically saved in /etc/X11/) like so:



                                                Section "ServerLayout"


                                                ...



                                                    Option          "BlankTime"     "0"
                                                Option "StandbyTime" "0"
                                                Option "SuspendTime" "0"
                                                Option "OffTime" "0"

                                                EndSection


                                                save, and reboot



                                                your screen should no longer blank after 10 minutes







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Mar 15 at 14:32









                                                TcllTcll

                                                3551215




                                                3551215






























                                                    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%2f544818%2fhow-do-i-disable-automatic-screen-locking-in-xubuntu%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 did Captain America manage to do this?

                                                    迪纳利

                                                    南乌拉尔铁路局