Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2017 18:07:58 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Ethan Grammatikidis <eekee57@fastmail.fm>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170519180758.f3d8d15c.freebsd>