Mouse CURSOR Command on Remote IDL Session
QUESTION: I recently enabled X11 access from my new Macintosh computer so I can run IDL at home by remotely accessing my office terminal (which is a Sun running LINUX).
I am happily seeing a beautiful display and a quite nice speed of forwarding. However, one thing I have not found how to fix: my mouse. I have a couple of procedures where I manually select a section of an image with two clicks of the mouse (left button), but for some reason this does not work on the X11 graphics display window. I can see the cursor and I get a perfect movement speed, but no reaction to clicks.
I have a three mouse button, and I tried switching the three button emulation option in the X11 terminal preferences but that did not work either. Does anyone have any ideas?
![]()
ANSWER: The answer is from Ed Edmondson on the IDL newsgroup.
Try entering the following at the Macintosh shell prompt (not the Sun or the IDL prompt):
defaults write com.apple.x11 wm_click_through -bool trueThis sets an option to allow you to send clicks through to windows without having to click to activate first. You may also have to restart the X11.app to get this to take effect.
Several users report that this solved the problem.
![]()
Copyright © 2007 David W. Fanning
Last Updated 1 January 2007