Auto strat app on Xserver use custom.sh

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
tcornilleau
Posts: 3
Joined: Mon Jan 04, 2021 9:26 am

Auto strat app on Xserver use custom.sh

Post by tcornilleau »

Guys I am looking for help again :)

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
Post Reply