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
  • Putting GUI commands in .bashrc is a very bad idea; any instructions you are following which recommend this should be ignored as if they never existed. – goldilocks Jan 03 '17 at 15:44
  • Whats your take then? If you had a clean pi with raspbain jessie lite, how would you make a dashboard? – DaCh Jan 04 '17 at 08:06
  • You should look up what .bashrc is for and consider why using that this way is an idea spread by -- no exaggeration, no offence -- morons. Probably a more common term for dash/infoboard is "kiosk" and where I'd start is described here: http://raspberrypi.stackexchange.com/a/57565/5538 – goldilocks Jan 04 '17 at 10:08

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
  • 27,928
  • 6
  • 53
  • 144
  • 1
    Adding the options to the xorg.conf helped. Everything else was launching this annoying blank screen after two minutes or so. – Brian Cannard Oct 12 '19 at 22:10
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