Disable screen blanking on console and X

pull/75/head
TomasM 2019-07-02 08:29:16 +00:00
parent 6edbe53252
commit 5a06b74174
2 changed files with 9 additions and 0 deletions

View File

@ -28,6 +28,10 @@ done
xsetroot -solid '#111111'
xsetroot -xcf /usr/share/icons/breeze_cursors/cursors/watch 37
# disable screen blanking
xset s off
xset -dpms
# volume icon in system tray. Can fail if no soundcard is detected
volumeicon &

View File

@ -38,3 +38,8 @@ export -f ll
export -f l
export -f apt-get
export -f apt
# disable screen blanking
setterm -blank 0
setterm -powerdown 0
setterm -powersave 0