I am working on a hardware device running on Ubuntu. One of the most important features is good presentation - in my case not showing the OS startup screen etc. Currently I am using upstart to start the main application. The UI piece gets started through .config/autostart config file. This is the script:
#!/bin/bash running="stopped" while test "$running" != "running"; do running=$(service GBMCP status | grep -oi running) echo "Current state of MCP is $running" | tee /tmp/startUp.log sleep 1 done # To be on a safe side sleep 1 more second sleep 1 google-chrome --kiosk localhost:8000
The problem is that this script doesn't kick in until at least a minute passes, which shows regular Ubuntu desktop with icons etc. Is there a way to avoid showing the regular desktop and show google-chrome instead?