From owner-freebsd-questions@FreeBSD.ORG Wed Oct 26 11:59:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B977B106566B for ; Wed, 26 Oct 2011 11:59:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7BAA58FC0C for ; Wed, 26 Oct 2011 11:59:58 +0000 (UTC) Received: from r56.edvax.de (port-92-195-104-16.dynamic.qsc.de [92.195.104.16]) by mx02.qsc.de (Postfix) with ESMTP id EE6041DCEA; Wed, 26 Oct 2011 13:59:55 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id p9QBxsVX002154; Wed, 26 Oct 2011 13:59:54 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 26 Oct 2011 13:59:54 +0200 From: Polytropon To: Open Slate Message-Id: <20111026135954.87919598.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Three button mouse emulation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2011 11:59:58 -0000 On Tue, 25 Oct 2011 07:06:08 -1000, Open Slate wrote: > A simple way to enable three button mouse emulation is to put > > mouse_flags=-3 > > in /etc/rc.conf. I always thought it was moused_flags (according to moused), has this been changed, or is it just a typo? On my old system, I had a setting like this: moused_flags="-z 4" And for X, there was an additional setting: Option "Emulate3Buttons" "true" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" Option "ZAxisMapping" "4 5" This setting makes the middle mouse button to "be the mouse wheel" when the mouse is moved in Y direction. This applies to 3 button standard mice (which I do prefer over those clumsy wheel things). A slightly changed setting could make the left _plus_ right button appear as the middle button, being that _and_ the mouse wheel. This configuration suggestion could be helpful for users who suffer from a two-button glidepad on their laptops. > I cannot find this documented anywhere. Section 4.5 of the > faq mentions this feature and refers to the moused man page, where we are > told to pass -3 to moused. Similar treatment in the handbook. Section > 2.10.10. Only a seasoned veteran would think to look in > /etc/defaults/rc.conf. I don't see more than generic advice in that file regarding the use of moused flags. > This trick is especially useful to laptop users and should be in the > handbook. Fully agree. Maybe an additional hint on how to make X work better on such limited hardware configuration would be nice. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...