From owner-freebsd-questions@freebsd.org Fri May 19 16:08:31 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E07CD73479 for ; Fri, 19 May 2017 16:08:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay11.qsc.de (mailrelay11.qsc.de [212.99.187.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A67C5B25 for ; Fri, 19 May 2017 16:08:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay11.qsc.de; Fri, 19 May 2017 18:08:00 +0200 Received: from r56.edvax.de (port-92-195-153-207.dynamic.qsc.de [92.195.153.207]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 67F2D3CBF9; Fri, 19 May 2017 18:07:58 +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 v4JG7wIS002948; Fri, 19 May 2017 18:07:58 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 19 May 2017 18:07:58 +0200 From: Polytropon To: Ethan Grammatikidis Cc: freebsd-questions@freebsd.org Subject: Re: remapping pointer buttons Message-Id: <20170519180758.f3d8d15c.freebsd@edvax.de> In-Reply-To: <1495208248.1449918.982161320.0B87F123@webmail.messagingengine.com> References: <1495208248.1449918.982161320.0B87F123@webmail.messagingengine.com> Reply-To: Polytropon 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 X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay11.qsc.de with ABF506A3596 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1282 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2017 16:08:31 -0000 On Fri, 19 May 2017 16:37:28 +0100, Ethan Grammatikidis wrote: > i use a mouse with a button on the side which i remapped to button 2 > under linux. i've been using it this way for years, i'm very used to > it. i just started using this mouse with freebsd, and i can't figure > out how to remap the buttons. here's what i found, in reverse > chronological order: > > xinput silently fails for every pointer device except the core pointer, > where it reports an x error. i assume you're not meant to use it with > the core pointer, and i don't even want to; i want this to be specific > to this one mouse. You should be able to use xorg.conf partial additions (no need for a complete xorg.conf file). Check "man xorg.conf" for details. > xmodmap reports an x error. This program is inteded for keyboard mapping, not for the mouse, and it only works in X. > lshal reports a dbus error: Failed to connect to socket /var/run/dbus > /system_bus_socket: No such file or directory HAL has been deprecated on Linux long time ago and isn't really useful on FreeBSD. > documentation for moused and lower-level mouse seemed disinclined > to mention button mapping. i would like the same button mapping to > apply in the framebuffer as well as x. See "man moused", especially the -m option. At least for the OS, this is basic functionality which can be configured easily. On X it is more complicated of course. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...