tags:

views:

271

answers:

1

So I moved some X programs down to the mac, and I'm getting

Error: XTEST extension unavailable on '(null)'.

from xdotool.

  • Does OS X X11 come with XTEST?

  • If not, is there a way to add it?

+2  A: 
defaults write org.x.X11 enable_test_extensions -boolean true

(from here). Then quit and restart the X server; the XTEST extension should then be available.

Nicholas Riley
Splendid, thanks! I can't imagine why that's not set be default.
Mark Harrison
Automating input may be seen as a security risk, especially since XTEST doesn't set the `send_event` flag in the `XEvent` structure which lets the application know it's being automated.
Jeffrey Hantin