0

I set up a raspberry pi to run as a dash/infoboard.

To do this, i used midori and uncutter(to remove the cursor) and start it up from the ~/.bashrc file, like so

startx /usr/bin/midori http://google.com
@uncutter -idle 0.1 -root

But what every i try, i can't stop the screen from going blank.

Can anyone help me with this? i been looking at many solutions on the internet, an none worked for me,

The things i tried is.

  1. LXDE Autostart
  2. Disbale in rc.local
  3. Disable in xinitrc

Thanks for your time

DaCh
  • 109
  • 1
  • 7

4 Answers4

2

To prevent the screen from going blank try adding consoleblank=0 to the end of the first line of /boot/cmdline.txt

Source

Tim Penner
  • 221
  • 2
  • 6
2

A common console command which works on every Linux instance I worked with is

xset s off -dpms

The s off part means "turn off screensaver", and -dpms prevents DPMS standby/suspend modes.

The equivalent configuration can be done via xorg.conf using

Option "DPMS"        "false"
Option "BlankTime"   "0"

Those options should go to Monitor and ServerLayout sections, respectively.

Dmitry Grigoryev
  • 28,277
  • 6
  • 54
  • 147
1

Running Raspbian Jesse Lite (no X11) on an A+ I too struggled to disable the screen automatically blanking. I suspect that it is related to this bug.

From this forum I found entering the command linesudo sh -c "TERM=linux setterm -blank 0 >/dev/tty0" (or booting with setterm -blank 0 in .bashrc) worked for me.

jolati
  • 111
  • 4
0

After trying everything i could thing of, i went back and install scrennly insted.

DaCh
  • 109
  • 1
  • 7