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.

Comments

Popular posts from this blog

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

How to clean DB from old logs in Magento 1.x

Python pxssh failed on login. could not set shell prompt