← Back to team overview

sikuli-driver team mailing list archive

[Question #254201]: Set DISPLAY at runtime

 

New question #254201 on Sikuli:
https://answers.launchpad.net/sikuli/+question/254201

Hi

Sikuli works fine if I export DISPLAY=:1 before run jython script 

export DISPLAY'=:1
jython myscript.py

but ignores if I set it at runtime using 

os.putenv('DISPLAY', ':1')
# or os.environ['DISPLAY'] = ':1'
import sikuli

Any solutions?

Thanks


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.