Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Mac X11 have the XTEST extension?

Tags:

macos

x11

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?

like image 945
Mark Harrison Avatar asked Aug 12 '09 04:08

Mark Harrison


3 Answers

Run the following command in the Terminal:

defaults write org.x.X11 enable_test_extensions -boolean true

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

like image 120
Nicholas Riley Avatar answered Nov 10 '22 15:11

Nicholas Riley


I had to do the following two commands to get this to work on Mountain Lion (from here):

defaults write org.x.X11 enable_test_extensions -boolean true
defaults write org.macosforge.xquartz.X11 enable_test_extensions -boolean true
like image 8
Lorin Hochstein Avatar answered Nov 10 '22 14:11

Lorin Hochstein


For XQuartz,

defaults write org.macosforge.xquartz.X11 enable_test_extensions -bool yes

See this link.

like image 3
T_T Avatar answered Nov 10 '22 15:11

T_T