Help configuring PADD to start on start up and appear full screen automatically.
I'm not sure if this is the right place to ask, but I'm also not really sure where else to try to ask.
Let me start by saying that I'm pretty sure pi-hole is working completely perfectly, as far as I can tell.
I got a 3.5in pitft screen, and installed it on a Rpi 1B+. I ended up having to upgrade from wheezy to stretch to get the the screen to work. Maybe I shouldn't say upgrade, because I basically formatted the SD card and then installed the latest raspbian image and started fresh. I got pi-hole installed, and it's up and working. I then wanted to install PADD, where it would automatically start when the pi is booted. I got PADD installed, and added the following to bashrc:
#Run PADD
#If we're on the PiTFT screen (ssh is xterm)
if [ "$TERM" == "linux" ] ; then
while :
do
./padd.sh
sleep 1
done
fi
Upon reboot, the terminal with PADD did not come up. I did some research, and then found out about this issue.
I tried replacing the
if [ "$TERM" == "linux" ] ; then
line with
if [ "$SSH_TTY" == "" ] ; then
but PADD does not autostart when the pi boots. When I open the terminal window, it does show up though.
What do I need to do differently to get PADD to autostart (launch the terminal and show up) when the pi's booted, and how to get the terminal window it shows up in to automatically go full screen?
Any advice and/or help is appreciated.
If anybody finds this post in the future, my issue was that I was using the 3.5 pitft screen as a HDMI mirror instead of as a console output. When running the adafruit-pitft.sh script, say yes when it asks if you want to use the screen as a console output!
Posted Jun 23, 2019, 4:36 PM UTC · edited