remapping pointer buttons

Ethan Grammatikidis eekee57 at
Fri May 19 17:43:09 UTC 2017

On Fri, May 19, 2017, at 05:07 PM, Polytropon wrote:
> 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.

actually, it was the only way to set button mapping when i started using x on secondhand 486s over 20+ years ago! of course, i didn't need it then. i suppose someone thought "mouse button mapping... we have a program for mapping inputty things, i'll add it to that!" i'm slightly grateful it wasn't part of xset. given xset's impenetrable manual page and inconsistent syntax, i'm sure it would have been impossible!

> > 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.

oh good! looks like i'll get through my whole life without having to learn about hal. now if only i'd had the sense to skip some other things, like fvwm which has 6 billion commands to do almost but not quite what i want, or red hat 5.2's init scripts which nearly put me off shell script for life!

> > 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. ;-)

thanks! that looks really easy now you've pointed it out... or it will be when i find out where moused is started, which i'm sure i can manage on my own. i like moused's m=n syntax, much less cumbersome than xmodmap or xinput with their lists of numbers.

Linux? I used ext4 for a few years. In proportion to the time spent using it, I lost as much data to it as I lost to the very worst released version of reiserfs.

More information about the freebsd-questions mailing list