Wednesday, February 11, 2015

Remove little black rectangle on screen - raspberry pi

To rid yourself of the annoying little black rectangle do the following, its only a work around but it does work.


Create a script, mine starts my kiosk as well so is called /home/pi/screen.sh

this script should look like:
#!/bin/bash
startx –help
while true; do chromium –kiosk –incognito –enable-plugins http://your web addresshere.html;sleep 180s;done


The 2nd line is my kiosk – you probably wont need it but I put it there anyway.

Then add the following line
 @/home/pi/screen.sh

to the file:

/etc/xdg/lxsession/LXDE-pi/autostart

Reboot and watch the splash screen followed by a brief black flash and then your screenly, kiosk, or whatever your running without the black rectangle.

No comments:

Post a Comment

Cybermap

Internet Storm Center Infocon Status

Internet Storm Center Infocon Status
Internet Storm Center Infocon Status