Ubuntu 12.10 “Turn screen off when inactive for: Never” still turns off












31















After a fresh install of Ubuntu 12.10, my screen still goes off after about ten minutes. I've been to the Brightness and Lock control panel. The Turn screen off when inactive for: setting is set to Never.



I've been through the dconf editor searching for power, screen, and idle changing parameters. This doesn't seem to have any effect on the display timeout.



Here's one more interesting thing, the screen doesn't go off, it just goes black. The back lighting is still on, and all the pixels are black.



When it goes black, it does a very pleasant quick dim to black.

Similarly, it quickly un-dim's after a key press, mouse movement, or mouse click.










share|improve this question





























    31















    After a fresh install of Ubuntu 12.10, my screen still goes off after about ten minutes. I've been to the Brightness and Lock control panel. The Turn screen off when inactive for: setting is set to Never.



    I've been through the dconf editor searching for power, screen, and idle changing parameters. This doesn't seem to have any effect on the display timeout.



    Here's one more interesting thing, the screen doesn't go off, it just goes black. The back lighting is still on, and all the pixels are black.



    When it goes black, it does a very pleasant quick dim to black.

    Similarly, it quickly un-dim's after a key press, mouse movement, or mouse click.










    share|improve this question



























      31












      31








      31


      13






      After a fresh install of Ubuntu 12.10, my screen still goes off after about ten minutes. I've been to the Brightness and Lock control panel. The Turn screen off when inactive for: setting is set to Never.



      I've been through the dconf editor searching for power, screen, and idle changing parameters. This doesn't seem to have any effect on the display timeout.



      Here's one more interesting thing, the screen doesn't go off, it just goes black. The back lighting is still on, and all the pixels are black.



      When it goes black, it does a very pleasant quick dim to black.

      Similarly, it quickly un-dim's after a key press, mouse movement, or mouse click.










      share|improve this question
















      After a fresh install of Ubuntu 12.10, my screen still goes off after about ten minutes. I've been to the Brightness and Lock control panel. The Turn screen off when inactive for: setting is set to Never.



      I've been through the dconf editor searching for power, screen, and idle changing parameters. This doesn't seem to have any effect on the display timeout.



      Here's one more interesting thing, the screen doesn't go off, it just goes black. The back lighting is still on, and all the pixels are black.



      When it goes black, it does a very pleasant quick dim to black.

      Similarly, it quickly un-dim's after a key press, mouse movement, or mouse click.







      12.10 display screen power-management






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 10 '13 at 22:07









      Eric Leschinski

      1,46111319




      1,46111319










      asked Nov 13 '12 at 17:42









      WillWill

      156124




      156124






















          7 Answers
          7






          active

          oldest

          votes


















          29














          There are multiple different layers, that influence the behavior of the monitor. To completely disable any suspension of the monitor you need to disable it in every of those layers:



          1. layer: virtual consoles



          Sets the interval of inactivity, in minutes, after which the screen will be automatically blanked:



          setterm -blank 0


          Sets the VESA powerdown interval in minutes:



          setterm -powerdown 0 


          2. layer: X



          Turn the screen saver function off. The s option lets you set the screen saver parameters.



          xset s off


          Disable DPMS if enabled:



          xset -dpms


          To find out which values are set type xset -q in a terminal. A part of the output should look like this:



          Screen Saver:
          prefer blanking: yes allow exposures: yes
          timeout: 0 cycle: 0


          and this:



          DPMS (Energy Star):
          Standby: 0 Suspend: 0 Off: 0
          DPMS is Disabled


          3. layer: Last but not least; the application layer (XScreenSaver)



          xscreensaver-demo


          Choose Disable Screen Saver:



          xscreensaver



          And deactivate screensaver in System Settings -> Brightness & Lock (depends on your desktop environment):



          Turn screen of when inactive for: Never



          Brightness & Lock






          share|improve this answer



















          • 9





            for me, the devil was dpms.

            – sazary
            Feb 19 '14 at 6:33






          • 1





            Its 2017 yet this answer made my day!.. Thanks a lot..

            – Abhishek Jebaraj
            Mar 7 '17 at 19:18



















          6














          I just ran sudo xset s off from a terminal and it may be fixed.






          share|improve this answer





















          • 2





            @Dusty, dont keep us in suspense. Maybe fixed or is fixed?

            – stephenmyall
            Nov 14 '12 at 14:39











          • I fixed this by xset s 0 0 - not sure if this is equivalent.

            – morgoth
            Nov 25 '12 at 15:55











          • This suggestion did work for me, but I also had to uncheck the 'Dim screen to save power' checkbox in the 'Brightness and lock' settings.

            – Zoltán
            Jan 12 '13 at 20:57






          • 1





            ... err which suggestion worked for you Zoltan? xset s off or xset s 0 0... This is a really confusing question/answer page.

            – Cory Gross
            Apr 16 '13 at 1:32













          • This one answer (i.e. "sudo xset s off") worked for me. I had also previously uninstalled gnome-screensaver, which didn't change a thing. (so I'm not sure whether one needs to do both things but I don't think so).

            – matteo
            Oct 25 '13 at 14:56



















          3














          There is a checkbox in "System Settings" -> "Brightness And Lock" screen whose label is "Dim screen to save power". You must uncheck it.






          share|improve this answer





















          • 1





            There isn't such option at my ubuntu 12.10 :/

            – Chris
            Nov 24 '12 at 21:19






          • 2





            It still goes black, exactly as described in question - I'm on Ubuntu 12.10 and Gnome 3 (it worked fine on Unity)

            – morgoth
            Nov 25 '12 at 11:45











          • You should apply this advice in conjunction with the top rated answer, i.e. execute sudo xset s off.

            – Zoltán
            Jan 12 '13 at 21:43











          • That label is not in Ubuntu 14.04 either...

            – Peter Mortensen
            Nov 22 '14 at 18:40





















          2














          The answer provided by chaos is very informative. However, even after following those instructions, I still had this problem intermittently. There is some sort of background process or settings manager that keeps resetting the screensaver, no matter what I do.



          I've found a brute-force solution. Just add a line to your crontab to turn off DPMS and the screensaver every single minute. Ugly, but effective.



          Type this at the terminal



          crontab -e


          And then add the following lines at the bottom of the file



          * * * * * DISPLAY=:0.0 xset -dpms
          * * * * * DISPLAY=:0.0 xset s off


          You can also comment these lines out by prepending a '#' when you want to re-enable the screensaver.






          share|improve this answer































            0














            In Ubuntu 12.10, If you have KDE as the windowing manager:



            Disable monitor dimming and energy saving tool:




            1. Click System Settings.

            2. In the "Hardware" tab choose "Power Management"

            3. Choose "Energy saving settings"


            there are two checkboxes: Dim Display and Screen Energy Saving. Make sure those are unchecked.



            In Ubuntu 12.10, If you are using the default unity windowing manager:




            1. Click System Settings.

            2. In the "Hardware" tab choose "Power"

            3. Click the link: "Brightness settings"

            4. There is a dropdown called: "Turn screen off when inactive for"


            Set the dropdown to 'Never'.






            share|improve this answer
























            • What do you mean by "Disable monitor dimming and energy saving tool"? Do you mean "Disable it in the monitor-dimming-and-energy-saving tool"?

              – Peter Mortensen
              Mar 15 '17 at 17:01





















            0














            You can use gsettings for enabling and disabling monitor from going to sleep:




            • Disable turning off screen


              gsettings set org.gnome.desktop.session idle-delay 0




            • Enable turning off screen with 5 min delay


              gsettings set org.gnome.desktop.session idle-delay 300





            source : https://askubuntu.com/a/788456/88543






            share|improve this answer































              0














              xset -dpms


              It solved this issue in Ubuntu 16.04 64-bit
              Reference






              share|improve this answer






















                protected by Community Dec 16 '12 at 0:33



                Thank you for your interest in this question.
                Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                Would you like to answer one of these unanswered questions instead?














                7 Answers
                7






                active

                oldest

                votes








                7 Answers
                7






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                29














                There are multiple different layers, that influence the behavior of the monitor. To completely disable any suspension of the monitor you need to disable it in every of those layers:



                1. layer: virtual consoles



                Sets the interval of inactivity, in minutes, after which the screen will be automatically blanked:



                setterm -blank 0


                Sets the VESA powerdown interval in minutes:



                setterm -powerdown 0 


                2. layer: X



                Turn the screen saver function off. The s option lets you set the screen saver parameters.



                xset s off


                Disable DPMS if enabled:



                xset -dpms


                To find out which values are set type xset -q in a terminal. A part of the output should look like this:



                Screen Saver:
                prefer blanking: yes allow exposures: yes
                timeout: 0 cycle: 0


                and this:



                DPMS (Energy Star):
                Standby: 0 Suspend: 0 Off: 0
                DPMS is Disabled


                3. layer: Last but not least; the application layer (XScreenSaver)



                xscreensaver-demo


                Choose Disable Screen Saver:



                xscreensaver



                And deactivate screensaver in System Settings -> Brightness & Lock (depends on your desktop environment):



                Turn screen of when inactive for: Never



                Brightness & Lock






                share|improve this answer



















                • 9





                  for me, the devil was dpms.

                  – sazary
                  Feb 19 '14 at 6:33






                • 1





                  Its 2017 yet this answer made my day!.. Thanks a lot..

                  – Abhishek Jebaraj
                  Mar 7 '17 at 19:18
















                29














                There are multiple different layers, that influence the behavior of the monitor. To completely disable any suspension of the monitor you need to disable it in every of those layers:



                1. layer: virtual consoles



                Sets the interval of inactivity, in minutes, after which the screen will be automatically blanked:



                setterm -blank 0


                Sets the VESA powerdown interval in minutes:



                setterm -powerdown 0 


                2. layer: X



                Turn the screen saver function off. The s option lets you set the screen saver parameters.



                xset s off


                Disable DPMS if enabled:



                xset -dpms


                To find out which values are set type xset -q in a terminal. A part of the output should look like this:



                Screen Saver:
                prefer blanking: yes allow exposures: yes
                timeout: 0 cycle: 0


                and this:



                DPMS (Energy Star):
                Standby: 0 Suspend: 0 Off: 0
                DPMS is Disabled


                3. layer: Last but not least; the application layer (XScreenSaver)



                xscreensaver-demo


                Choose Disable Screen Saver:



                xscreensaver



                And deactivate screensaver in System Settings -> Brightness & Lock (depends on your desktop environment):



                Turn screen of when inactive for: Never



                Brightness & Lock






                share|improve this answer



















                • 9





                  for me, the devil was dpms.

                  – sazary
                  Feb 19 '14 at 6:33






                • 1





                  Its 2017 yet this answer made my day!.. Thanks a lot..

                  – Abhishek Jebaraj
                  Mar 7 '17 at 19:18














                29












                29








                29







                There are multiple different layers, that influence the behavior of the monitor. To completely disable any suspension of the monitor you need to disable it in every of those layers:



                1. layer: virtual consoles



                Sets the interval of inactivity, in minutes, after which the screen will be automatically blanked:



                setterm -blank 0


                Sets the VESA powerdown interval in minutes:



                setterm -powerdown 0 


                2. layer: X



                Turn the screen saver function off. The s option lets you set the screen saver parameters.



                xset s off


                Disable DPMS if enabled:



                xset -dpms


                To find out which values are set type xset -q in a terminal. A part of the output should look like this:



                Screen Saver:
                prefer blanking: yes allow exposures: yes
                timeout: 0 cycle: 0


                and this:



                DPMS (Energy Star):
                Standby: 0 Suspend: 0 Off: 0
                DPMS is Disabled


                3. layer: Last but not least; the application layer (XScreenSaver)



                xscreensaver-demo


                Choose Disable Screen Saver:



                xscreensaver



                And deactivate screensaver in System Settings -> Brightness & Lock (depends on your desktop environment):



                Turn screen of when inactive for: Never



                Brightness & Lock






                share|improve this answer













                There are multiple different layers, that influence the behavior of the monitor. To completely disable any suspension of the monitor you need to disable it in every of those layers:



                1. layer: virtual consoles



                Sets the interval of inactivity, in minutes, after which the screen will be automatically blanked:



                setterm -blank 0


                Sets the VESA powerdown interval in minutes:



                setterm -powerdown 0 


                2. layer: X



                Turn the screen saver function off. The s option lets you set the screen saver parameters.



                xset s off


                Disable DPMS if enabled:



                xset -dpms


                To find out which values are set type xset -q in a terminal. A part of the output should look like this:



                Screen Saver:
                prefer blanking: yes allow exposures: yes
                timeout: 0 cycle: 0


                and this:



                DPMS (Energy Star):
                Standby: 0 Suspend: 0 Off: 0
                DPMS is Disabled


                3. layer: Last but not least; the application layer (XScreenSaver)



                xscreensaver-demo


                Choose Disable Screen Saver:



                xscreensaver



                And deactivate screensaver in System Settings -> Brightness & Lock (depends on your desktop environment):



                Turn screen of when inactive for: Never



                Brightness & Lock







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 22 '13 at 9:52









                chaoschaos

                19.6k85968




                19.6k85968








                • 9





                  for me, the devil was dpms.

                  – sazary
                  Feb 19 '14 at 6:33






                • 1





                  Its 2017 yet this answer made my day!.. Thanks a lot..

                  – Abhishek Jebaraj
                  Mar 7 '17 at 19:18














                • 9





                  for me, the devil was dpms.

                  – sazary
                  Feb 19 '14 at 6:33






                • 1





                  Its 2017 yet this answer made my day!.. Thanks a lot..

                  – Abhishek Jebaraj
                  Mar 7 '17 at 19:18








                9




                9





                for me, the devil was dpms.

                – sazary
                Feb 19 '14 at 6:33





                for me, the devil was dpms.

                – sazary
                Feb 19 '14 at 6:33




                1




                1





                Its 2017 yet this answer made my day!.. Thanks a lot..

                – Abhishek Jebaraj
                Mar 7 '17 at 19:18





                Its 2017 yet this answer made my day!.. Thanks a lot..

                – Abhishek Jebaraj
                Mar 7 '17 at 19:18













                6














                I just ran sudo xset s off from a terminal and it may be fixed.






                share|improve this answer





















                • 2





                  @Dusty, dont keep us in suspense. Maybe fixed or is fixed?

                  – stephenmyall
                  Nov 14 '12 at 14:39











                • I fixed this by xset s 0 0 - not sure if this is equivalent.

                  – morgoth
                  Nov 25 '12 at 15:55











                • This suggestion did work for me, but I also had to uncheck the 'Dim screen to save power' checkbox in the 'Brightness and lock' settings.

                  – Zoltán
                  Jan 12 '13 at 20:57






                • 1





                  ... err which suggestion worked for you Zoltan? xset s off or xset s 0 0... This is a really confusing question/answer page.

                  – Cory Gross
                  Apr 16 '13 at 1:32













                • This one answer (i.e. "sudo xset s off") worked for me. I had also previously uninstalled gnome-screensaver, which didn't change a thing. (so I'm not sure whether one needs to do both things but I don't think so).

                  – matteo
                  Oct 25 '13 at 14:56
















                6














                I just ran sudo xset s off from a terminal and it may be fixed.






                share|improve this answer





















                • 2





                  @Dusty, dont keep us in suspense. Maybe fixed or is fixed?

                  – stephenmyall
                  Nov 14 '12 at 14:39











                • I fixed this by xset s 0 0 - not sure if this is equivalent.

                  – morgoth
                  Nov 25 '12 at 15:55











                • This suggestion did work for me, but I also had to uncheck the 'Dim screen to save power' checkbox in the 'Brightness and lock' settings.

                  – Zoltán
                  Jan 12 '13 at 20:57






                • 1





                  ... err which suggestion worked for you Zoltan? xset s off or xset s 0 0... This is a really confusing question/answer page.

                  – Cory Gross
                  Apr 16 '13 at 1:32













                • This one answer (i.e. "sudo xset s off") worked for me. I had also previously uninstalled gnome-screensaver, which didn't change a thing. (so I'm not sure whether one needs to do both things but I don't think so).

                  – matteo
                  Oct 25 '13 at 14:56














                6












                6








                6







                I just ran sudo xset s off from a terminal and it may be fixed.






                share|improve this answer















                I just ran sudo xset s off from a terminal and it may be fixed.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 5 '13 at 9:31









                Eliah Kagan

                82.8k22228369




                82.8k22228369










                answered Nov 14 '12 at 12:39









                DustyDusty

                611




                611








                • 2





                  @Dusty, dont keep us in suspense. Maybe fixed or is fixed?

                  – stephenmyall
                  Nov 14 '12 at 14:39











                • I fixed this by xset s 0 0 - not sure if this is equivalent.

                  – morgoth
                  Nov 25 '12 at 15:55











                • This suggestion did work for me, but I also had to uncheck the 'Dim screen to save power' checkbox in the 'Brightness and lock' settings.

                  – Zoltán
                  Jan 12 '13 at 20:57






                • 1





                  ... err which suggestion worked for you Zoltan? xset s off or xset s 0 0... This is a really confusing question/answer page.

                  – Cory Gross
                  Apr 16 '13 at 1:32













                • This one answer (i.e. "sudo xset s off") worked for me. I had also previously uninstalled gnome-screensaver, which didn't change a thing. (so I'm not sure whether one needs to do both things but I don't think so).

                  – matteo
                  Oct 25 '13 at 14:56














                • 2





                  @Dusty, dont keep us in suspense. Maybe fixed or is fixed?

                  – stephenmyall
                  Nov 14 '12 at 14:39











                • I fixed this by xset s 0 0 - not sure if this is equivalent.

                  – morgoth
                  Nov 25 '12 at 15:55











                • This suggestion did work for me, but I also had to uncheck the 'Dim screen to save power' checkbox in the 'Brightness and lock' settings.

                  – Zoltán
                  Jan 12 '13 at 20:57






                • 1





                  ... err which suggestion worked for you Zoltan? xset s off or xset s 0 0... This is a really confusing question/answer page.

                  – Cory Gross
                  Apr 16 '13 at 1:32













                • This one answer (i.e. "sudo xset s off") worked for me. I had also previously uninstalled gnome-screensaver, which didn't change a thing. (so I'm not sure whether one needs to do both things but I don't think so).

                  – matteo
                  Oct 25 '13 at 14:56








                2




                2





                @Dusty, dont keep us in suspense. Maybe fixed or is fixed?

                – stephenmyall
                Nov 14 '12 at 14:39





                @Dusty, dont keep us in suspense. Maybe fixed or is fixed?

                – stephenmyall
                Nov 14 '12 at 14:39













                I fixed this by xset s 0 0 - not sure if this is equivalent.

                – morgoth
                Nov 25 '12 at 15:55





                I fixed this by xset s 0 0 - not sure if this is equivalent.

                – morgoth
                Nov 25 '12 at 15:55













                This suggestion did work for me, but I also had to uncheck the 'Dim screen to save power' checkbox in the 'Brightness and lock' settings.

                – Zoltán
                Jan 12 '13 at 20:57





                This suggestion did work for me, but I also had to uncheck the 'Dim screen to save power' checkbox in the 'Brightness and lock' settings.

                – Zoltán
                Jan 12 '13 at 20:57




                1




                1





                ... err which suggestion worked for you Zoltan? xset s off or xset s 0 0... This is a really confusing question/answer page.

                – Cory Gross
                Apr 16 '13 at 1:32







                ... err which suggestion worked for you Zoltan? xset s off or xset s 0 0... This is a really confusing question/answer page.

                – Cory Gross
                Apr 16 '13 at 1:32















                This one answer (i.e. "sudo xset s off") worked for me. I had also previously uninstalled gnome-screensaver, which didn't change a thing. (so I'm not sure whether one needs to do both things but I don't think so).

                – matteo
                Oct 25 '13 at 14:56





                This one answer (i.e. "sudo xset s off") worked for me. I had also previously uninstalled gnome-screensaver, which didn't change a thing. (so I'm not sure whether one needs to do both things but I don't think so).

                – matteo
                Oct 25 '13 at 14:56











                3














                There is a checkbox in "System Settings" -> "Brightness And Lock" screen whose label is "Dim screen to save power". You must uncheck it.






                share|improve this answer





















                • 1





                  There isn't such option at my ubuntu 12.10 :/

                  – Chris
                  Nov 24 '12 at 21:19






                • 2





                  It still goes black, exactly as described in question - I'm on Ubuntu 12.10 and Gnome 3 (it worked fine on Unity)

                  – morgoth
                  Nov 25 '12 at 11:45











                • You should apply this advice in conjunction with the top rated answer, i.e. execute sudo xset s off.

                  – Zoltán
                  Jan 12 '13 at 21:43











                • That label is not in Ubuntu 14.04 either...

                  – Peter Mortensen
                  Nov 22 '14 at 18:40


















                3














                There is a checkbox in "System Settings" -> "Brightness And Lock" screen whose label is "Dim screen to save power". You must uncheck it.






                share|improve this answer





















                • 1





                  There isn't such option at my ubuntu 12.10 :/

                  – Chris
                  Nov 24 '12 at 21:19






                • 2





                  It still goes black, exactly as described in question - I'm on Ubuntu 12.10 and Gnome 3 (it worked fine on Unity)

                  – morgoth
                  Nov 25 '12 at 11:45











                • You should apply this advice in conjunction with the top rated answer, i.e. execute sudo xset s off.

                  – Zoltán
                  Jan 12 '13 at 21:43











                • That label is not in Ubuntu 14.04 either...

                  – Peter Mortensen
                  Nov 22 '14 at 18:40
















                3












                3








                3







                There is a checkbox in "System Settings" -> "Brightness And Lock" screen whose label is "Dim screen to save power". You must uncheck it.






                share|improve this answer















                There is a checkbox in "System Settings" -> "Brightness And Lock" screen whose label is "Dim screen to save power". You must uncheck it.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 10 '13 at 22:07









                Eric Leschinski

                1,46111319




                1,46111319










                answered Nov 13 '12 at 22:07









                HckrHckr

                818523




                818523








                • 1





                  There isn't such option at my ubuntu 12.10 :/

                  – Chris
                  Nov 24 '12 at 21:19






                • 2





                  It still goes black, exactly as described in question - I'm on Ubuntu 12.10 and Gnome 3 (it worked fine on Unity)

                  – morgoth
                  Nov 25 '12 at 11:45











                • You should apply this advice in conjunction with the top rated answer, i.e. execute sudo xset s off.

                  – Zoltán
                  Jan 12 '13 at 21:43











                • That label is not in Ubuntu 14.04 either...

                  – Peter Mortensen
                  Nov 22 '14 at 18:40
















                • 1





                  There isn't such option at my ubuntu 12.10 :/

                  – Chris
                  Nov 24 '12 at 21:19






                • 2





                  It still goes black, exactly as described in question - I'm on Ubuntu 12.10 and Gnome 3 (it worked fine on Unity)

                  – morgoth
                  Nov 25 '12 at 11:45











                • You should apply this advice in conjunction with the top rated answer, i.e. execute sudo xset s off.

                  – Zoltán
                  Jan 12 '13 at 21:43











                • That label is not in Ubuntu 14.04 either...

                  – Peter Mortensen
                  Nov 22 '14 at 18:40










                1




                1





                There isn't such option at my ubuntu 12.10 :/

                – Chris
                Nov 24 '12 at 21:19





                There isn't such option at my ubuntu 12.10 :/

                – Chris
                Nov 24 '12 at 21:19




                2




                2





                It still goes black, exactly as described in question - I'm on Ubuntu 12.10 and Gnome 3 (it worked fine on Unity)

                – morgoth
                Nov 25 '12 at 11:45





                It still goes black, exactly as described in question - I'm on Ubuntu 12.10 and Gnome 3 (it worked fine on Unity)

                – morgoth
                Nov 25 '12 at 11:45













                You should apply this advice in conjunction with the top rated answer, i.e. execute sudo xset s off.

                – Zoltán
                Jan 12 '13 at 21:43





                You should apply this advice in conjunction with the top rated answer, i.e. execute sudo xset s off.

                – Zoltán
                Jan 12 '13 at 21:43













                That label is not in Ubuntu 14.04 either...

                – Peter Mortensen
                Nov 22 '14 at 18:40







                That label is not in Ubuntu 14.04 either...

                – Peter Mortensen
                Nov 22 '14 at 18:40













                2














                The answer provided by chaos is very informative. However, even after following those instructions, I still had this problem intermittently. There is some sort of background process or settings manager that keeps resetting the screensaver, no matter what I do.



                I've found a brute-force solution. Just add a line to your crontab to turn off DPMS and the screensaver every single minute. Ugly, but effective.



                Type this at the terminal



                crontab -e


                And then add the following lines at the bottom of the file



                * * * * * DISPLAY=:0.0 xset -dpms
                * * * * * DISPLAY=:0.0 xset s off


                You can also comment these lines out by prepending a '#' when you want to re-enable the screensaver.






                share|improve this answer




























                  2














                  The answer provided by chaos is very informative. However, even after following those instructions, I still had this problem intermittently. There is some sort of background process or settings manager that keeps resetting the screensaver, no matter what I do.



                  I've found a brute-force solution. Just add a line to your crontab to turn off DPMS and the screensaver every single minute. Ugly, but effective.



                  Type this at the terminal



                  crontab -e


                  And then add the following lines at the bottom of the file



                  * * * * * DISPLAY=:0.0 xset -dpms
                  * * * * * DISPLAY=:0.0 xset s off


                  You can also comment these lines out by prepending a '#' when you want to re-enable the screensaver.






                  share|improve this answer


























                    2












                    2








                    2







                    The answer provided by chaos is very informative. However, even after following those instructions, I still had this problem intermittently. There is some sort of background process or settings manager that keeps resetting the screensaver, no matter what I do.



                    I've found a brute-force solution. Just add a line to your crontab to turn off DPMS and the screensaver every single minute. Ugly, but effective.



                    Type this at the terminal



                    crontab -e


                    And then add the following lines at the bottom of the file



                    * * * * * DISPLAY=:0.0 xset -dpms
                    * * * * * DISPLAY=:0.0 xset s off


                    You can also comment these lines out by prepending a '#' when you want to re-enable the screensaver.






                    share|improve this answer













                    The answer provided by chaos is very informative. However, even after following those instructions, I still had this problem intermittently. There is some sort of background process or settings manager that keeps resetting the screensaver, no matter what I do.



                    I've found a brute-force solution. Just add a line to your crontab to turn off DPMS and the screensaver every single minute. Ugly, but effective.



                    Type this at the terminal



                    crontab -e


                    And then add the following lines at the bottom of the file



                    * * * * * DISPLAY=:0.0 xset -dpms
                    * * * * * DISPLAY=:0.0 xset s off


                    You can also comment these lines out by prepending a '#' when you want to re-enable the screensaver.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Sep 27 '14 at 21:39









                    cxrodgerscxrodgers

                    5222618




                    5222618























                        0














                        In Ubuntu 12.10, If you have KDE as the windowing manager:



                        Disable monitor dimming and energy saving tool:




                        1. Click System Settings.

                        2. In the "Hardware" tab choose "Power Management"

                        3. Choose "Energy saving settings"


                        there are two checkboxes: Dim Display and Screen Energy Saving. Make sure those are unchecked.



                        In Ubuntu 12.10, If you are using the default unity windowing manager:




                        1. Click System Settings.

                        2. In the "Hardware" tab choose "Power"

                        3. Click the link: "Brightness settings"

                        4. There is a dropdown called: "Turn screen off when inactive for"


                        Set the dropdown to 'Never'.






                        share|improve this answer
























                        • What do you mean by "Disable monitor dimming and energy saving tool"? Do you mean "Disable it in the monitor-dimming-and-energy-saving tool"?

                          – Peter Mortensen
                          Mar 15 '17 at 17:01


















                        0














                        In Ubuntu 12.10, If you have KDE as the windowing manager:



                        Disable monitor dimming and energy saving tool:




                        1. Click System Settings.

                        2. In the "Hardware" tab choose "Power Management"

                        3. Choose "Energy saving settings"


                        there are two checkboxes: Dim Display and Screen Energy Saving. Make sure those are unchecked.



                        In Ubuntu 12.10, If you are using the default unity windowing manager:




                        1. Click System Settings.

                        2. In the "Hardware" tab choose "Power"

                        3. Click the link: "Brightness settings"

                        4. There is a dropdown called: "Turn screen off when inactive for"


                        Set the dropdown to 'Never'.






                        share|improve this answer
























                        • What do you mean by "Disable monitor dimming and energy saving tool"? Do you mean "Disable it in the monitor-dimming-and-energy-saving tool"?

                          – Peter Mortensen
                          Mar 15 '17 at 17:01
















                        0












                        0








                        0







                        In Ubuntu 12.10, If you have KDE as the windowing manager:



                        Disable monitor dimming and energy saving tool:




                        1. Click System Settings.

                        2. In the "Hardware" tab choose "Power Management"

                        3. Choose "Energy saving settings"


                        there are two checkboxes: Dim Display and Screen Energy Saving. Make sure those are unchecked.



                        In Ubuntu 12.10, If you are using the default unity windowing manager:




                        1. Click System Settings.

                        2. In the "Hardware" tab choose "Power"

                        3. Click the link: "Brightness settings"

                        4. There is a dropdown called: "Turn screen off when inactive for"


                        Set the dropdown to 'Never'.






                        share|improve this answer













                        In Ubuntu 12.10, If you have KDE as the windowing manager:



                        Disable monitor dimming and energy saving tool:




                        1. Click System Settings.

                        2. In the "Hardware" tab choose "Power Management"

                        3. Choose "Energy saving settings"


                        there are two checkboxes: Dim Display and Screen Energy Saving. Make sure those are unchecked.



                        In Ubuntu 12.10, If you are using the default unity windowing manager:




                        1. Click System Settings.

                        2. In the "Hardware" tab choose "Power"

                        3. Click the link: "Brightness settings"

                        4. There is a dropdown called: "Turn screen off when inactive for"


                        Set the dropdown to 'Never'.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Dec 10 '13 at 22:01









                        Eric LeschinskiEric Leschinski

                        1,46111319




                        1,46111319













                        • What do you mean by "Disable monitor dimming and energy saving tool"? Do you mean "Disable it in the monitor-dimming-and-energy-saving tool"?

                          – Peter Mortensen
                          Mar 15 '17 at 17:01





















                        • What do you mean by "Disable monitor dimming and energy saving tool"? Do you mean "Disable it in the monitor-dimming-and-energy-saving tool"?

                          – Peter Mortensen
                          Mar 15 '17 at 17:01



















                        What do you mean by "Disable monitor dimming and energy saving tool"? Do you mean "Disable it in the monitor-dimming-and-energy-saving tool"?

                        – Peter Mortensen
                        Mar 15 '17 at 17:01







                        What do you mean by "Disable monitor dimming and energy saving tool"? Do you mean "Disable it in the monitor-dimming-and-energy-saving tool"?

                        – Peter Mortensen
                        Mar 15 '17 at 17:01













                        0














                        You can use gsettings for enabling and disabling monitor from going to sleep:




                        • Disable turning off screen


                          gsettings set org.gnome.desktop.session idle-delay 0




                        • Enable turning off screen with 5 min delay


                          gsettings set org.gnome.desktop.session idle-delay 300





                        source : https://askubuntu.com/a/788456/88543






                        share|improve this answer




























                          0














                          You can use gsettings for enabling and disabling monitor from going to sleep:




                          • Disable turning off screen


                            gsettings set org.gnome.desktop.session idle-delay 0




                          • Enable turning off screen with 5 min delay


                            gsettings set org.gnome.desktop.session idle-delay 300





                          source : https://askubuntu.com/a/788456/88543






                          share|improve this answer


























                            0












                            0








                            0







                            You can use gsettings for enabling and disabling monitor from going to sleep:




                            • Disable turning off screen


                              gsettings set org.gnome.desktop.session idle-delay 0




                            • Enable turning off screen with 5 min delay


                              gsettings set org.gnome.desktop.session idle-delay 300





                            source : https://askubuntu.com/a/788456/88543






                            share|improve this answer













                            You can use gsettings for enabling and disabling monitor from going to sleep:




                            • Disable turning off screen


                              gsettings set org.gnome.desktop.session idle-delay 0




                            • Enable turning off screen with 5 min delay


                              gsettings set org.gnome.desktop.session idle-delay 300





                            source : https://askubuntu.com/a/788456/88543







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Jun 26 '17 at 16:58









                            streakstreak

                            21124




                            21124























                                0














                                xset -dpms


                                It solved this issue in Ubuntu 16.04 64-bit
                                Reference






                                share|improve this answer




























                                  0














                                  xset -dpms


                                  It solved this issue in Ubuntu 16.04 64-bit
                                  Reference






                                  share|improve this answer


























                                    0












                                    0








                                    0







                                    xset -dpms


                                    It solved this issue in Ubuntu 16.04 64-bit
                                    Reference






                                    share|improve this answer













                                    xset -dpms


                                    It solved this issue in Ubuntu 16.04 64-bit
                                    Reference







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered 15 mins ago









                                    vineeshvsvineeshvs

                                    112




                                    112

















                                        protected by Community Dec 16 '12 at 0:33



                                        Thank you for your interest in this question.
                                        Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                                        Would you like to answer one of these unanswered questions instead?



                                        Popular posts from this blog

                                        GameSpot

                                        connect to host localhost port 22: Connection refused

                                        Getting a Wifi WPA2 wifi connection