Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I know this has been asked multiple times. I have tried multiple things, however nothing I seem to do stick. I am trying to disable the screen saver/screen blanking on Lubuntu 14.04. I've tried the following in rc.local, but nothing seems to actually disable it:

xset -dpms xset s off xset -dpms; xset s off

setterm -blank 0 -powerdown 0 echo -ne "\033[9;0]" >> /etc/issue

share|improve this question
1  
Tried method below, no luck! –  user3324834 May 27 at 17:06

5 Answers 5

I had this problem on my Lubuntu system for ages too. I did 2 things to fix it:

  1. In lightlocker (Menu>Preferences>Lightlocker) make sure that 'blank screen' and 'switch off display after' are set to 'never'. Then make sure the 'Enable Lightlocker' switch is OFF.
  2. In XFCE Power Manager (Menu>Preferences>Power Manager) select the 'On AC' menu, then click the 'monitor' tab. Make sure 'Put display to sleep when computer is inactive for' and 'Switch off display when computer is inactive for' are both set to 'never'. Now do the same for the 'On Battery' menu.

Make sure you hit 'Apply' before closing each window, then reboot your computer and the problem should be fixed. It was for me anyway.

share|improve this answer
    
touching OnBattery settings helped me, lubuntu 14.10 –  shibormot 12 hours ago

In order to disable the scren blacking use the following two commands in the .xinitrc file before any existing exec startlxde command:

xset s off &
xset -dpms &

If you do not have this file please create it in your home directory and paste the above content:

touch ~/.xinitrc

Make sure it is an executable script, by running

chmod +x ~/.xinitrc
share|improve this answer
    
the first part was done before. I am trying the "chmod +x ~/.xinitrc" to see if that makes a difference. –  user3324834 May 27 at 14:12
2  
Nope, didn't make a difference, still goes blank! –  user3324834 May 27 at 17:06

managed to fix it by putting: "@xset s off" in my autostart file (after all other programs) and setting session idle timeout to its max value in dconf-editor (first install dconf-tools)

share|improve this answer
1  
Thanks for taking the time to answer the question. Would mind adding how to find the file and how to change the settings in the dconf-editor? –  MadMike Oct 17 at 11:14

Add @xset s off in Start > Preferences > Default Applacations for LXSession > Autostart, where you see +Add type in the box next to it + Add Then click + Add

EDIT: Only works for a minute.

share|improve this answer

I have Ubuntu 14.04 installed with the Lubuntu desktop on a computer being used mainly for netflix (Netflix now works on chrome). In the middle of movies the screen would go blank and revert to lock screen when I pressed the spacebar.

  1. After some troubleshooting, I've determined I have the known and yet unfixed bug where the PowerManager will not run.

  2. I followed the directions above to deal with Lightlocker. The settings above had no effect. I determined I'm also having a second known bug where the settings in Lightlocker to disable screen locking are not working properly (see here https://bugs.launchpad.net/ubuntu/+source/light-locker/+bug/1287255). What worked for me was (Menu>Preferences>Lightlocker) flip switch to disable Lightlocker altogether.

share|improve this answer
    
If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. –  Charles Green Nov 7 at 16:54
1  
This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. –  kraxor Nov 7 at 20:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.