@dankcushions i dont use bluetooth so never have that problem, the other one never happen im affortunate since i have the pi 4 never an issue. I understood the support but the answer need to be you can but is not recommended and only for pi4b model. The instructions i followed are that in docs, but never make the change in the memory, because i use like a pc the pi os. But all the steps are what are in the docs:
sudo apt update && sudo apt upgrade -y
sudo update-locale LANGUAGE="en_GB.UTF-8" LC_ALL="en_GB.UTF-8"
sudo apt install git lsb-release -y -》 This step isnt neccesary in Buster an Pi OS
git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git
**OK** then choose **Basic Install,** **OK**, Yes
I'm still curious if any GNU/Linux wizards know why the original method was not working. Either way it is working now.
Because runcommand needs a terminal to show the launch menu, launching ES directly would break this. On Debian and friends, you can use x-terminal-emulator as the terminal starting command, which would be expanded to one of the installed terminal emulators.
Resolved it by configuring retropie to boot to the command line and then i'll edit .bashrc to house the if logic to launch X or ES depending on TOD and of course
if [ "`tty`" = "/dev/tty1" ]
Was much easier than I was trying to make it...
# Set the hours between which PiClock will Launch
#Get Current Hour
# Get current time and time of boot.
# calculate minutes since boot
sSec=$(date +%s -d "$(uptime -s)")
uMin=$(( ($cSec - $sSec)/60 ))
# Ensure that we are within 2 minutes of boot. This ensures that user can exit ES to the command line
# without this script re-launching ES in an endless loop
if [[ $uMin -le 2 ]]; then
# Ensure this is tty1
if [[ "`tty`" = "/dev/tty1" ]]; then
# If between min and max hour then startx and PiClock else execute autorun
if [[ $cHour -ge $minHour && $cHour -lt $maxHour ]]; then
The issue I see is trying to drop to the command line from ES in which case I believe it will just launch back into ES... i'm ok with this. Maybe some other unintended consequences but I'll find out soon enough.
Edit: Added an additional If statement to check for minutes since boot so that one can successfully drop from ES to the CL without