I have set up a litte web interface for controlling the box (contour lines, color profiles, switching water/lava).
I tried to add global rain with a shell script employing xdotool to trigger keyboards events. The script then is called via php-exec from the web server.
Trouble is: It works fine from terminal but not when called from the web server. The design looks overengineered anyway, but it had worked this way in an earlier incarnation of the sandbox.
Question: Can I trigger global rain/draught with a command to the control pipe? It is used for all the other fancy things anyway and would eliminate the need for xdotool.
Thanks!