I have created a script that opens Firefox and makes it full-screen. When i use startup applications to run my script i doesn't start after reboot, but works perfectly if i just run it from the desktop.
My script start.sh
#!/bin/bash
sleep10
firefox -url http://URL.com &
sleep 10
xdotool key F11
xdotool movemouse 10000 10000
The script i located in the desktop folder and have permissions 777 and Allow executing file as program is ticked.
Startup Application settings
Name: Astartscript
Command: scriptpath/start.sh (Used browse to locate the script)
What am i doing wrong?