30

My OS is Lubuntu 13.04. After 10 mins of inactivity the screen goes black. What I did to stop it without effect:

  • uninstalled xscreensaver completely
  • in power setting I set to never blank the screen
  • run some command found in the internet with "xset" which was said to solve it (but maybe it was wrong command, if you know proper please write it)

And still nothing. I don't know why lubuntu wants so hard to keep going black when watching films. For example on kubuntu/ubuntu I just set in power settings to never go black and it works. Maybe lubuntu uses customized kernel with hard-coded extreme energy savings that can't be turned off?

Braiam
  • 69,112

12 Answers12

19

Try installing :

sudo apt-get install xfce4-power-manager

then configure it in:

xfce4-power-manager-settings 
Braiam
  • 69,112
19

In Lubuntu it is an option in preferences called "Light Lock". It's annoyingly on by default.

Mark
  • 191
9

For a temporary fix pop into terminal and type:

xset s 0 0

and this should stop the 10 minute blanking problem, to make it more permanent, insert a line with the same command at the start of the /home/username/.profile file.

jobin
  • 28,567
3

Helps for me after reboot. In /etc/X11/xorg.conf (if you not have it just create):

Section "Monitor"
    Identifier "eDP0" <<< or LVDS0 or VGA0 or ...
    Option "DPMS" "false"
EndSection

Section "ServerLayout"
    Identifier "ServerLayout0"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "OffTime" "0"
EndSection
1

In Ubuntu Mate 15.10 x64, I had the same issue. In the upper corner of Mate, Go to System > Administration, then to LightDM GTK+ Greeter Settings and enter your password. In the next window, click upper right on Misc., there you will find Timeout Until The Screen Blanks and it will be set at 1 Minute by default. Just move the slider to the left to Never. This may also be the case in Lubuntu, but it was definitely the issue in Mate 15.10.

cat
  • 1,712
1

Lubuntu 16.04 LTS. I tried following the instructions from Arturo Veras by installing xfce4-power-manager. When I tried, it said it was already the latest version so I ran it. It's the same as going through the menu:

Lubuntu | Preferences | Power Manager

I tried it before finding Arturo's information, but apparently, I didn't do something right. This time, I set the following settings under "Plugged In"

Blank After: Never Put to sleep after: Never Switch off after: Never On inactivity reduce to : 80% Reduce after: Never (But, I may change this one.)

I went to supper, ate, cleaned dishes, made smoothies and sat down to write this and it still hasn't gone blank. :)

In the Lubuntu 16.04 LTS install from the live flash drive, Xfce Power Manager was automatically installed so I didn't need to do the command line.

I hope this will be helpful to the next GUI minded user.

Buck
  • 750
0

There is an app caffeine to manage display switching off (and screensaver).

sudo apt-get install caffeine

After installation you need to run a command caffeine-indicator. Then you will have an icon in tray. Click it and select Activate in popup menu to prevent display to switch off. If then you would like to allow display to switch off again you should click on caffeine tray icon and select Deactivate in menu.

Oleg Svechkarenko
  • 153
  • 1
  • 1
  • 6
0

Lubuntu 18.04 LTS: Menu > Preferences > Power Manager > Display tab

hat tip: https://ubuntuforums.org/showthread.php?t=2434603

0

I believe I've found a solution to this problem. I've recently update from Ubuntu Mate 15.04, in which the black screen made me crazy, to 15.10, with a new installation. With the new version, after I set it up the screensaver off, everything seemed to work fine, no black screen at all. After that, I made a few customizations of the system, the last one of which was to delete from the startup applications, the power manager (I use a desktop pc so I thought that was a useless waste of time to run it). After that, and after a reboot, the hated black screen shown itself again. So I created a new startup application named Power manager and I set "mate-power-manager" as command. This simply solution worked for me and I believe that I got the problem in 15.04 for the same reason. Hope this helps.

iraiem
  • 13
Marco
  • 1
0

While viewing videos on my htpc, the screen would blank after 10 minutes with no keyboard/mouse input. Obviously not desirable behaviour for an htpc. Turning off screensavers and power saving did not have any effect. Eventually, my web searches led me to believe this was caused by the xserver. I tested this by running the following:

xset s off && xset -dpms

in a terminal at the beginning of a session and confirmed that this did eliminate the undesired screen blanking. Running xset -q in the terminal confirms DPMS (Energy Star) was disabled.

In order to avoid having to open a terminal and run this command at the start of each session, I set this to run at system boot. The screen blanking was back and xset -q showed DPMS enabled. Further searching revealed this behaviour is initiated at login and overrides the command run at boot. To run this automatically, just add the lines below to the end of the .profile in your Home folder.

# Turn off screen blanking

xset s off && xset -dpms

If you don't see .profile, open your Home folder in your file browser, click on 'View' and select 'Show Hidden Files'. Then just right click on .profile, select 'Open with text editor', copy and paste the above on a blank line at the end of the file and save the modified file.

rjd
  • 79
0

In Greenie Linux (based on Lubuntu) I removed both xscreensaver and lightlocker and installed gnome-screensaver and added it to autostart.

-1

new versions of Ubuntu is using gnome-screensaver, not xscreensaver. The settings is in System Settings -> Brightness and Lock

Ben Lin
  • 317
  • 2
  • 4