PDA

View Full Version : [Q] How to fully disable screen saver?



stiw47
2013-03-29, 20:56
Hello,
I'm runing Kali v1.0.1 amd64 installed on hdd.
If it is meather, I installed KDE using:


apt-get install kde-full

and fully uninstalled GNOME using:


apt-get remove --purge gnome*

Now I want to fully disable screen saver, but don't know how. I tried several methods and comands taken from my friend Google, but everytime when I am watching a movie or flash video on net, screen goes to decrease brightnes after a few minutes. No, screen doesn't go full to sleep, but those litle brightnes decreases are anoying also.

Does anybody know to tell me: How to fully disable screen saver, or auto brightnes decrease, or whatever.

Sorry cause bad English, thanks in advance.

Spyslab
2013-03-29, 23:32
i just used this

apt-get install x11-xserver-utils

Now open up your ~/.xinitrc file (if you don't have one then create it) and enter this:

xset s off # don't activate screensaver
xset -dpms # disable DPMS (Energy Star) features.
xset s noblank # don't blank the video device

exec /etc/alternatives/x-session-manager # start lxde

This file runs once every time X starts and should solve the problem. I copy and pasted it from my own .xinitrc and can confirm that my screen does not blank.

stiw47
2013-03-30, 00:17
Thanks man. I was post question on two forums here on thisone, and here:

http://www.kalilinux.net/community/threads/q-how-to-fully-disable-screen-saver.127/

and get two diferent answers. I did both things, and now, my problem is solved. Thanks once again.

Yokai
2015-08-25, 18:45
i just used this

apt-get install x11-xserver-utils

Now open up your ~/.xinitrc file (if you don't have one then create it) and enter this:

xset s off # don't activate screensaver
xset -dpms # disable DPMS (Energy Star) features.
xset s noblank # don't blank the video device

exec /etc/alternatives/x-session-manager # start lxde

This file runs once every time X starts and should solve the problem. I copy and pasted it from my own .xinitrc and can confirm that my screen does not blank.

This didn't fix the issue for me. I get the following error after I save the file with text you provided:

"x-session-manager[31792]: WARNING: Failed to acquire org.gnome.SessionManager"

What would solve this?