On Sat, 17 Nov 2018 00:40:18 +1030
Tim via users wrote:

> Care to spill the beans?  That has been one thing that dissuades me
> from using trackballs, or even trackpads.

This is the /etc/X11/xinit/xinitrc.d/99-zzz-me-last.sh file I use
with my Kensington Expert Mouse:

#!/bin/bash
#
# Setup the mouse buttons for drag lock
#
xinput --set-button-map \
       'Kensington      Kensington Expert Mouse' \
       1 8 3 4 5 6 7 2

# Enable drag lock
#
xinput --set-prop --type=int --format=8 \
       'Kensington      Kensington Expert Mouse' \
       'libinput Drag Lock Buttons' 2 1

This renumbers the buttons so I can make the top left
one be drag lock (just personal preference) then
sets it to always be a button 1 drag (there are other
ways to configure it so you can say which button to drag,
but that needs two clicks). With this setup I click
the top left button and I'm now dragging, click it again
and I stop dragging.

I don't know if wayland has any equivalent, they last time I
tried to find something it was utterly lacking any way to
configure stuff at this level (or even distinguish between
multiple pointer devices).
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to