Re: Trackpad gestures from X11
Re: Trackpad gestures from X11
- Subject: Re: Trackpad gestures from X11
- From: "René J.V. Bertin" <email@hidden>
- Date: Wed, 28 Dec 2011 23:18:19 +0100
I'd have to look into the Fn key 'trick', but what I meant was something not requiring a keyboard. Even if selecting the Fn key as the X11 middle key modifier doesn't meddle with its other functions, I still use an older external Apple keyboard that doesn't have this key, most of the time.
It would seem that multitouch gestures or tapping could be defined to avoid needing to resort to use modifier keys.
René
On Dec 28, 2011, at 01:02, Jeremy Huddleston wrote:
>
> On Dec 27, 2011, at 3:19 PM, Brandon Allbery wrote:
>
>> On Tue, Dec 27, 2011 at 18:06, Jeremy Huddleston <email@hidden> wrote:
>>
>>> On Dec 27, 2011, at 12:50 PM, René J.V. Bertin wrote:
>>>> Actually I'd be very happy already if there were a 'standard' way to get
>>> a 2nd (i.e. middle) button click,
>>>
>>> What do you mean by this? The middle mouse button sends the middle mouse
>>> button to X11.
>>>
>>
>> I parsed that as meaning emulation. Dunno if that means the existing
>> emulation isn't good enough (which might well be true; I recall running
>> into "not enough modifier keys" trying to use it with various things, but
>> then I tend to run all sorts of overly complex nested insanity; needed 3
>> modifier keys, but with 3rd button emulation had *one* usable...).
>
> Ok, well in that case, 2nd and 3rd mouse button emulation is fairly configurable. The checkbox in preferences turns the emulation on/off and corresponds to the enable_fake_buttons preference, and you can change which modifiers are used. If you frequently use all your modifier keys and are looking for a solution on your laptop, I suggest you use Fn for the middle click modifier and enable right click as the lower-right region of the trackpad. That way you can get left click and right click just by clicking the appropriate region of the trackpad, and you only use the Fn modifier for middle-click which shouldn't interfere with your X11 applications.
>
> Here's from the XQuartz man page. It could use some polish, but it should help you out.
>
> --Jeremy
>
> defaults write org.macosforge.xquartz.X11 enable_fake_buttons -boolean
> true
> Emulates a 3 button mouse using modifier keys. By default, the
> Command modifier is used to emulate button 2 and Option is used
> for button 3. Thus, clicking the first mouse button while hold-
> ing down Command will act like clicking button 2. Holding down
> Option will simulate button 3.
>
> defaults write org.macosforge.xquartz.X11 fake_button2 modifiers
> Change the modifier keys used to emulate the second mouse but-
> ton. By default, Command is used to emulate the second button.
> Any combination of the following modifier names may be used:
> {l,r,}shift, {l,r,}option, {l,r,}control, {l,r,}command, fn
>
> defaults write org.macosforge.xquartz.X11 fake_button3 modifiers
> Change the modifier keys used to emulate the second mouse but-
> ton. By default, Command is used to emulate the second button.
> Any combination of the following modifier names may be used:
> {l,r,}shift, {l,r,}option, {l,r,}control, {l,r,}command, fn
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden