Hey logi85 I have updated your launchBrowser.sh script for kodibuntu
As it runs no window manager I have to launch one to get full screen to work and then kill it again when we exit.
I also had to move the xdotool mouse move to between the blackbox launch and the chrome launch as you recommended to launch chrome without a & other wise it would not be executed until after chrome exits.
#!/bin/bash
# copy from
https://github.com/andrewleech/plugin.vi...browser.sh
# Managed to resolve the issues with, but will leave this here anyway, as its a good fallback
CHROME_STARTED=`ps -ef | grep google-chrome | grep -v "grep" | wc -l`
if [ $CHROME_STARTED -gt 0 ]; then
exit 1;
fi
# lets find out if xdotool actually exist before we try to call them.
command -v xdotool >/dev/null 2>&1
XDOTOOL=$?
url=$1
/usr/bin/blackbox &
if [ $XDOTOOL -eq 0 ]; then
# no point sleeping if xdotool is not installed.
#sleep 5
xdotool mousemove 9999 9999 click 1
else
echo "xdotool is not installed, can't remove cursor"
fi
# notice the ampersand to send google chrome into back ground so that the script continues and we execute the xdotool below
/usr/bin/google-chrome --start-maximized --disable-translate --disable-new-tab-first-run --no-default-browser-check --no-first-run --kiosk "$url"
CHROME_PID=$!
# wait for google-chrome to be killed
#wait $CHROME_PID
killall blackbox >/dev/null 2>&1
exit
But I still get the playback relaunching after using the back button to exit back to kodi.
Any ideas?