Showing posts with label X11. Show all posts
Showing posts with label X11. Show all posts

Sunday, September 12, 2010

X11 middle button emulation

Some X11 application like ImageMagick's display, need the middle button for certain functionalities.
To enable the 3rd button emulation for the Trackpad under X11, go to the X11 application and check:  
      X11> preferences > Input > Emulate tree button mouse.

The third button click is then emulated with: 
      Option(alt) - Command(⌘) - Right Click

Tuesday, September 22, 2009

VTK and OS X

This is a true mess.


I am currently using vtk54-cocoa + pyvtk-py24
and VTK works with hardware acceleration.

X11 FOCUS BEHAVIOR

X11 application's windows are managed independently of other windows.
By default when a new X11 window is opened it does not acquire the focus.
To acquire the focus

Edit ~/Library/Preferences/org.x.X11.plist.

search for these keys and

wm_focus_on_new_window : ACTIVATE THIS!!!
wm_ffm : focus follow mouse
wm_click_trought : the first click on an inactive X11 window activates it and the click event is passed to the application. When disabled the first click only activates the window, but is not passed to the application.


The focus after closing an X11 window IS STILL A MESS!

Source: