You are not logged in.
When I try to disable mouse acceleration by setting the profile to flat in /usr/share/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "Accel Profile Enabled" "0 1 0"
EndSection
It simply doesn't change Accel Profile Enable to 0 1 0, instead, by running xinput list-props, it says libinput Accel Profile Enabled is set to 1, 0, 0
Device 'Logitech G703 LS':
Device Enabled (158): 1
Coordinate Transformation Matrix (160): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (286): 0
libinput Natural Scrolling Enabled Default (287): 0
libinput Scroll Methods Available (288): 0, 0, 1
libinput Scroll Method Enabled (289): 0, 0, 0
libinput Scroll Method Enabled Default (290): 0, 0, 0
libinput Button Scrolling Button (291): 2
libinput Button Scrolling Button Default (292): 2
libinput Button Scrolling Button Lock Enabled (293): 0
libinput Button Scrolling Button Lock Enabled Default (294): 0
libinput Middle Emulation Enabled (295): 0
libinput Middle Emulation Enabled Default (296): 0
libinput Rotation Angle (269): 0.000000
libinput Rotation Angle Default (270): 0.000000
libinput Accel Speed (297): 0.000000
libinput Accel Speed Default (298): 0.000000
libinput Accel Profiles Available (299): 1, 1, 1
libinput Accel Profile Enabled (300): 1, 0, 0
libinput Accel Profile Enabled Default (301): 1, 0, 0
libinput Accel Custom Fallback Points (302): <no items>
libinput Accel Custom Fallback Step (303): 0.000000
libinput Accel Custom Motion Points (304): <no items>
libinput Accel Custom Motion Step (305): 0.000000
libinput Accel Custom Scroll Points (306): <no items>
libinput Accel Custom Scroll Step (307): 0.000000
libinput Left Handed Enabled (308): 0
libinput Left Handed Enabled Default (309): 0
libinput Send Events Modes Available (271): 1, 0
libinput Send Events Mode Enabled (272): 0, 0
libinput Send Events Mode Enabled Default (273): 0, 0
Device Node (274): "/dev/input/event22"
Device Product ID (275): 1133, 16518
libinput Drag Lock Buttons (310): <no items>
libinput Horizontal Scroll Enabled (311): 1
libinput Scrolling Pixel Distance (312): 15
libinput Scrolling Pixel Distance Default (313): 15
libinput High Resolution Wheel Scroll Enabled (314): 1
Also, setting the option through this command works fine
# xinput set-prop "15" "libinput Accel Profile Enabled" 0 1 0
Any ideas?
Last edited by raidenfox (2024-04-12 01:40:05)
Offline
Apparently Accel Profile Enable isn't working anymore (?). Setting the flat layout like this works completely fine:
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "AccelProfile" "flat"
EndSection
And it even changes the Accel Profile Enable entry in xinput list-props to the correct state:
Device 'Logitech G703 LS':
Device Enabled (158): 1
Coordinate Transformation Matrix (160): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (286): 0
libinput Natural Scrolling Enabled Default (287): 0
libinput Scroll Methods Available (288): 0, 0, 1
libinput Scroll Method Enabled (289): 0, 0, 0
libinput Scroll Method Enabled Default (290): 0, 0, 0
libinput Button Scrolling Button (291): 2
libinput Button Scrolling Button Default (292): 2
libinput Button Scrolling Button Lock Enabled (293): 0
libinput Button Scrolling Button Lock Enabled Default (294): 0
libinput Middle Emulation Enabled (295): 0
libinput Middle Emulation Enabled Default (296): 0
libinput Rotation Angle (269): 0.000000
libinput Rotation Angle Default (270): 0.000000
libinput Accel Speed (297): 0.000000
libinput Accel Speed Default (298): 0.000000
libinput Accel Profiles Available (299): 1, 1, 1
libinput Accel Profile Enabled (300): 0, 1, 0
libinput Accel Profile Enabled Default (301): 1, 0, 0
libinput Accel Custom Fallback Points (302): <no items>
libinput Accel Custom Fallback Step (303): 0.000000
libinput Accel Custom Motion Points (304): <no items>
libinput Accel Custom Motion Step (305): 0.000000
libinput Accel Custom Scroll Points (306): <no items>
libinput Accel Custom Scroll Step (307): 0.000000
libinput Left Handed Enabled (308): 0
libinput Left Handed Enabled Default (309): 0
libinput Send Events Modes Available (271): 1, 0
libinput Send Events Mode Enabled (272): 0, 0
libinput Send Events Mode Enabled Default (273): 0, 0
Device Node (274): "/dev/input/event13"
Device Product ID (275): 1133, 16518
libinput Drag Lock Buttons (310): <no items>
libinput Horizontal Scroll Enabled (311): 1
libinput Scrolling Pixel Distance (312): 15
libinput Scrolling Pixel Distance Default (313): 15
libinput High Resolution Wheel Scroll Enabled (314): 1
Offline
Not every listing in xinput also translates one to one to a xorg config setting.
See https://man.archlinux.org/man/libinput. … ON_DETAILS for the xorg config options and the supported properties section for the runtime properties which are set with xinput.
Last edited by V1del (2024-04-11 20:38:47)
Offline
In the wiki article about mouse acceleration it says to add "Accel Profile Enabled" "0 1 0" to /usr/share/X11/xorg.conf.d/40-libinput.conf to make the change permanent instead of relying on xinput. Maybe they changed it recently? I remember AccelProfile being on the wiki some time ago and strangely enough "AccelProfile" "flat" has the same outcome as "Accel Profile Enabled" "0 1 0" should in theory have.
Offline
I'm 99% certain the wiki article is wrong. AccelProfile "flat" is exactly the way it should be configured in the config file. Will fix.
Last edited by V1del (2024-04-12 01:18:14)
Offline
Thank you Will mark as solved.
Offline