Linux start"script"
#1
Hello, i want use my remotecontrol to start kodi and ambilight.
i can´t write scipts thats why this look realy dirty.
My problem is, when i start this script in the first time in a terminal, all run fine.ambilight start and kodi to.
The second time i start this script/batch with the remote with irexec than ambilight stop to work only kodi start
but i don´t know why.

Code:
killall kodi.bin
killall boblightd
pasuspender DISPLAY=:0 xrandr --output HDMI3 --set "Broadcast RGB" "Full"
boblightd &
AE_SINK=ALSA /usr/bin/kodi
killall irexec
irexec -d
killall boblightd
Reply

Logout Mark Read Team Forum Stats Members Help
start"script"0