Thursday, January 19, 2012

X11 middle button click under MacOS


Oh the joys of using Mac OS X Lion. For all the touted "ease of use", this OS sure seems to have its share of quirks. It's neither Unix nor Windows, but something in between. Think Different, I guess. Here's a small list:

track pad has several gesture based controls, i.e. 3 finger swipe to show "Mission Control" or two finger side swipe to browse through pages, three finger swipes to move between "full screen apps", the "maximize (+)" button that doesn't seem to quite maximize or do things that you're typically used to.

Anyhoo, that's the hand we're dealt, and that's what we're going to play with. So on to the problem at hand: X11 in the *nix world uses the middle button click or the right click typically to paste any highlighted text. This seemed nearly impossible in MacOS X. After some hunting around the InterWebs, figured out that this can be controlled by the Preferences (see Image).

This allows me to paste the highlighted (implicitly copied) text on the console. Not quite as nice as the middle button click, but Option + click I can live with.

Also, I've changed trackpad options so that single tap works like a click.



No comments: