On Mon, Dec 3, 2018 at 2:19 PM Dick Steffens <[email protected]> wrote:

> On 12/3/18 12:25 AM, Ben Koenig wrote:
> > mouse/keyboard settings are part of the "Input Devices" Settings module.
> >
> > So K Menu -> System Settings -> Input devices. There's a tab for mouse
> > settings on the left.
>
> Mouse Settings does not appear to have a setting covering my need. In
> the General tab, here is Button Order -- right handed or left handed,
> Reverse scroll direction, and Icons. But nothing about a third button.
> The Advanced tab doesn't address a third button, either. And the Mouse
> Navigation tab only offers Move pointer with keyboard (using the num pad).
>
> It's a minor annoyance I can live with for the most part, but it would
> be nice to have that functionality back. When I plug in a mouse with a
> wheel, it performs as expected, but in the living room there isn't a
> place to use a mouse.
>
> --
> Regards,
>
> Dick Steffens
>
> I did something similar recently, using xinput.

# get the list of your X input devices

xinput --list

# get info on whichever one is your pointing device, including button labels

xinput --list [id]

# get the available properties

xinput --list-props [id]

# set the property for the device, property and button

xinput set-prop [id] [prop] [button]


In my case I wanted to make the red button on the side of my trackball
be a drag-lock button, so my command was:

xinput set-prop 'PS2++ Logitech TrackMan' 'libinput Drag Lock Buttons' 8 1

I put this in my .bash_aliases file, which (on my system) is called from
.bashrc on startup.
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to