[LAU] Screen blanking

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sat Jul 20 21:13:22 UTC 2013


Hi :)

how can screen blanking be disabled? A long time ago I have given up to
check this out for my Ubuntu Studio installs. FWIW it's not the monitor,
for an old Suse 11.2 install the screen never will be turned off.

Now I try to disable screen blanking on Arch Linux, Xfce 4.10.

$ uname -rm
3.8.13-rt14-1-rt x86_64

This doesn't work:

$ cat ~/.xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

xset -dpms
setterm -blank 0 -powersave off -powerdown 0
xset s off

exec startxfce4
# exec xterm

Power Manager is enabled when starting a session, but
Menu > Settings > Settings Manager > Power Manager > On AC >
All "Actions" and "Monitor" settings are set to "never".

$ cat /etc/X11/xorg.conf
Section "Module"
	Load  "extmod"
	Load  "dri"
	Load  "dbe"
	Load  "dri2"
	Load  "glx"
	Load  "record"
	Load		"GLcore"
	#Load		"v4l"
EndSection
	Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Plug 'n' Play"
	ModelName    "Plug 'n' Play"
	DisplaySize  305 230
	HorizSync    29-98
	VertRefresh  50-120
	modeline 	"1152x864" 128.42 1152 1232 1360 1568 864 865 868 910
	Gamma	1.0
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option	    "MergedFB"	"off"           #old debian/ubuntu
	Identifier  "Card0"
        Driver      "radeon"
        #Driver	    "nvidia"
	#Driver	    "nv"
	#Driver     "nouveau"
        #Driver     "vesa"
	#VendorName  "nVidia Corporation"
	#BoardName   "G72 [GeForce 7300 SE/7200 GS]"
	#BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"

	Defaultdepth	24
	SubSection "Display"
		Depth	24
		Modes      "1152x864"
                #Virtual    3840 1200
	EndSubSection

#	SubSection "Display"
#		Viewport   0 0
#		Depth     1
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     4
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     8
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     15
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     16
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     24
#	EndSubSection
EndSection
$ ls /etc/X11
xinit  xorg.conf  xorg.conf.d
$ ls /etc/X11/xinit/
xinitrc  xinitrc.d  xserverrc
$ ls /etc/X11/xorg.conf.d/
10-evdev.conf  10-quirks.conf  keyboard.conf
$ ls /etc/X11/xinit/xinitrc.d/
30-dbus  40-libcanberra-gtk-module

Regards,
Ralf



More information about the Linux-audio-user mailing list