topic title: Screen Blanking
Posts: 46
dando
Joined: 08 Mar 2014
#1
Everytime i boot up my laptop i have to go to antiX Control Center => Session => Set Screen Blanking and turn off screen blanking. Is there a way i could permanently turn off screen blanking?
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#2
Add the following command to the startup file for the window-manager you are using:

Code: Select all

xset dpms 0 0 0 s 0 0
For example, if you use IceWM then add it to ~/.icewm/startup. If you want to make the change across all window managers then create the file ~/.xinitrc-custom and add it to that file. You need to make the file executable so run:

Code: Select all

chmod a+x ~/.xinitrc-custom
Posts: 46
dando
Joined: 08 Mar 2014
#3
Hi BitJam
When i did as you suggested all i got back was:

/.icewm/startup: line 4: /root/.antix-session/startup-pgid::0: No such file or directory?
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#4
Are you logging into X-windows as root? We don't support that. You need to log in as a normal user.
Posts: 46
dando
Joined: 08 Mar 2014
#5
That was my problem but its all sorted now thanks to you. Cheers BitJam