i have one script of python (with selenium) and i have one of script for run after startx gui
it not work on screen as i connect with raspberry pi (browser not automatic show)
but the python script complete work on my remote screen
# app.desktop
[Desktop Entry]
Encoding = UTF-8
Type=Application
Name=App
Comment=Start Application
Exec=sleep 10; sudo python script.py
StartupNofitfy=false
Ternimal=false
Hidden=false