Use command
Quote:ps -efTo see what deamon are you running.
Your script will be able to run throught terminal but not over Advanced launcher.
Well maybe it is a good idea to kill both deamons like you did, because it is possible that deamon boblightd start acting strange if you are starting and killing only x11. Will also try that today.
This is the modified your script which will work through terminal and advanced launcher.
Ambilight ON
Quote:/usr/local/bin/boblightd -f > /dev/null 2>&1
DISPLAY=:0.0 /usr/local/bin/boblight-X11 -f -x -o saturation=5 -o value=10 -o threshold=10 -o use=1 -o interpolation=1 -o autospeed=0.2 -o speed=30> /dev/null 2>&1
Ambilight OFF
Quote:killall -9 boblight-X11
killall -9 boblightd

but to be sure that there are not more than one deamon started of boblightd and boblight-X11 we can use for script to turn on and off those one.
Search
Help