This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

Stop the screen from blanking in Ubuntu

Wolfman

Sat Feb 08, 2014 6:47:51 pm

Hi all,

like the title says, if your screen blanks after a few minutes despite disabling screensaver etc, copy and paste the following command:

Code:
xset -dpms s off s noblank s 0 0 s noexpose


Open "Startup Applications" > "Add" then add the command to the command line and give it a name then save it and restart your PC.

Edit Startup Program_003.jpeg
Edit Startup Program_003.jpeg (9.9 KiB)


Startup Applications Preferences_002.png
Startup Applications Preferences_002.png (61.86 KiB)


Also open Dconf Editor and take out the tick:

Dconf Editor > Org > Gnome > Desktop > Screensaver > idle-activation-enabled

Also, you can paste this command in a terminal then open "Startup Applications" which will now show all startup entries if you are still having problems with screensaver, take out the tick in the box if it is indeed there.

Code:
sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop


To test whether screensaver is not running after doing the above and a restart, open a terminal and type "xset -q" and check that screensaver is disabled.

Code:
xset -q


Regards Wolfman :D