remapping pointer buttons
Polytropon
freebsd at edvax.de
Fri May 19 16:08:31 UTC 2017
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, ...
More information about the freebsd-questions
mailing list