
how to setup an auto start of an app without desktop with only an Xserver ?
I tried boot scripts via dietpi-config > AutoStart options > Custom. I added my command to /var/lib/dietpi-autostart/custom.sh
Code: Select all
#!/bin/bash
#---Examples---
# Chromium
#xinit chromium
# Desktop
#startx
# Print Hello
#echo "Hello"
#---Put your code below this line---
startx
echo -e "Start in few second"
sleep 5
./home/dietpi/electron-tutorial-app-linux-armv7l/electron-tutorial-app
hope i was clear
Much Thanks in advance