You are not logged in.

#1 2022-06-13 06:28:51

sadnmnsda12301
Member
Registered: 2022-06-13
Posts: 10

Touchpad scroll speed is too high

I've searched on the internet how to slower touchpad two-finger scrolling.
My graphical environment is GNOME, but it has not needed option.
So, through terminal I tried next commands:

sudo libinput list-devices

gives:

Device:           Elan Touchpad
Kernel:           /dev/input/event8
Group:            7
Seat:             seat0, default
Size:             104x68mm
Capabilities:     pointer gesture
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Accel profiles:   flat *adaptive
Rotation:         n/a
sudo xinput list

gives:

WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ xwayland-pointer:16                     	id=6	[slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:16            	id=7	[slave  pointer  (2)]
⎜   ↳ xwayland-pointer-gestures:16            	id=8	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ xwayland-keyboard:16                    	id=9	[slave  keyboard (3)]

And

sudo xinput list-props 8

gives:

WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Device 'xwayland-pointer-gestures:16':
	Device Enabled (120):	1
	Coordinate Transformation Matrix (122):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Accel Profile (238):	0
	Device Accel Constant Deceleration (239):	1.000000
	Device Accel Adaptive Deceleration (240):	1.000000
	Device Accel Velocity Scaling (241):	10.000000

I cant make touchpad scroll slower, I've tried to change

Coordinate Transformation Matrix, Velocity Scaling

I even created file

/etc/X11/xorg.conf.d/70-synaptics.conf

with properties

Section "InputClass"
    Identifier "touchpad"
    Driver "synaptics"
    MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "3"
        Option "TapButton3" "2"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizEdgeScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        Option "CircularScrolling" "on"
        Option "CircScrollTrigger" "2"
        Option "EmulateTwoFingerMinZ" "20"
        Option "EmulateTwoFingerMinW" "8"
        Option "CoastingSpeed" "0"
        Option "FingerLow" "30"
        Option "FingerHigh" "50"
        Option "MaxTapTime" "125"
	...
EndSection

but its also didnt help

Offline

#2 2022-06-13 18:44:15

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Touchpad scroll speed is too high

X.Org configuration files & xinput won't work under Wayland.

Looks like the Wayland GNOME desktop can't do this: https://gitlab.gnome.org/GNOME/gnome-co … issues/379

FWIW sway can use this in ~/.config/sway/config:

input <identifier> scroll_factor <floating point value>

See sway-input(5) for more on this.

And why are you running everything with sudo? That's a stupid thing to do.


Jin, Jîyan, Azadî

Offline

#3 2022-07-10 11:13:52

sadnmnsda12301
Member
Registered: 2022-06-13
Posts: 10

Re: Touchpad scroll speed is too high

Head_on_a_Stick wrote:

FWIW sway can use this in ~/.config/sway/config:

input <identifier> scroll_factor <floating point value>

I don't have ~/.config/sway/config file, even if I installed sway

Offline

#4 2022-07-10 13:40:49

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Touchpad scroll speed is too high

mkdir -p ~/.config/sway
cp {/etc/sway,$_}/config
vim $_ # other editors are available

Jin, Jîyan, Azadî

Offline

#5 2022-07-17 11:18:20

sadnmnsda12301
Member
Registered: 2022-06-13
Posts: 10

Re: Touchpad scroll speed is too high

Head_on_a_Stick wrote:
mkdir -p ~/.config/sway
cp {/etc/sway,$_}/config
vim $_ # other editors are available

I added to ~/.config/sway/config

input "2:14:SynPS/2_Synaptics_TouchPad" scroll_factor 0.5

But it didnt help.
Also, i have problems with sway socket path.

swaymsg -t get_inputs
00:00:00.025 [swaymsg/main.c:419] Unable to retrieve socket path
export SWAYSOCK=/run/user/$(id -u)/sway-ipc.$(id -u).$(pgrep -x sway).sock

env | fgrep SWAYSOCK
SWAYSOCK=/run/user/1000/sway-ipc.1000..sock

swaymsg -t get_inputs
00:00:00.000 [common/ipc-client.c:67] Unable to connect to /run/user/1000/sway-ipc.1000..sock

Last edited by sadnmnsda12301 (2022-07-17 11:19:20)

Offline

#6 2022-07-17 11:52:53

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Touchpad scroll speed is too high

Please post the entire config file.

FWIW you've added an extra "." (dot) to the SWAYSOCK variable but you shouldn't have to set that manually so also post exactly how you are launching sway.

This will start sway from a console screen and direct stdout & stderr to a log file (~/.sway.log) which can be shared here:

sway > ~/.sway.log 2>&1

Last edited by Head_on_a_Stick (2022-07-17 11:53:34)


Jin, Jîyan, Azadî

Offline

#7 2022-07-20 05:56:49

sadnmnsda12301
Member
Registered: 2022-06-13
Posts: 10

Re: Touchpad scroll speed is too high

Hence, sway will only affect touchpad scroll speed?

Offline

Board footer

Powered by FluxBB