View Single Post
Old 10-28-2013, 04:07 PM   #10
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
This works fine:
Code:
lipc-set-prop com.lab126.system sendEvent "; DISPLAY=:0 /usr/bin/xtestlab126 -d &"
So, sh -c part is optional; to pass over blocking call use "&"; xtestlab126 specifically requires DISPLAY to being set. /usr/bin prefix is optional, but it's better to use absolute paths. As Aeris noted, execution environment is a bit different then default.

UPD: and /usr/bin/light.sh just invokes xtestlab126 -l.

Last edited by eureka; 10-28-2013 at 04:12 PM.
eureka is offline   Reply With Quote