2011-07-30, 08:14
Hi! I'm using ambilight script to start and stop the ambilight. I'm on ATV ubuntu 8.04 and using two scripts: lights.sh and lights_kill.sh
lights.sh
lights_kill.sh
I can add them to launcher but when i run them nothing happens. If i launch those scripts from terminal (putty) they do work.
They are located in "/media/scripts/" folder.
What can be wrong?
lights.sh
Quote:#!/bin/bash
DISPLAY=:0.0 boblight-X11 -f -x -o speed=50 -o value=5 -o saturation=1.5 -o threshold=75 > /dev/null 2>&1
lights_kill.sh
Quote:#!/bin/sh
killall boblight-X11
I can add them to launcher but when i run them nothing happens. If i launch those scripts from terminal (putty) they do work.
They are located in "/media/scripts/" folder.
What can be wrong?