Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2017 18:43:07 +0100
From:      Ethan Grammatikidis <eekee57@fastmail.fm>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: remapping pointer buttons
Message-ID:  <1495215787.1476791.982307560.646FF759@webmail.messagingengine.com>
In-Reply-To: <20170519180758.f3d8d15c.freebsd@edvax.de>
References:  <1495208248.1449918.982161320.0B87F123@webmail.messagingengine.com> <20170519180758.f3d8d15c.freebsd@edvax.de>

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

thanks

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



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