GNOME Bugzilla – Bug 763293
wayland: Implement changing the mouse acceleration profile.
Last modified: 2016-09-13 11:28:02 UTC
Libinput as of 5 months ago has support for acceleration profiles.What this means is that you can finally disable acceleration for wayland and X server clients using libinput by setting the flat acceleration profile.In X Server this can be accomplished by setting a text file unfortunately Wayland has no such thing and expects the compositer (Mutter in this case) to expose the values.So due to this I kindly request you developers of GNOME to implement changing the mouse acceleration profile.
Wait is anyone still working on this bug at GNOME? It's been over 28 days now and I have basically no clue on whether someone is still working on this or if it is being ignored due to other more important bugs.
Created attachment 325198 [details] [review] mutter 3.20 patch hardcoded libinput flat acceleration profile i've patched my mutter with this to disable the acceleration on wayland (since mutter is a wayland compositor - it takes care about all the input) btw, while using Gnome on Xorg, you can use Section InputClass MatchIsPointer "yes" Driver "libinput" Option "AccelProfile" "flat" EndSection to disable the mouse acceleration
(In reply to Oleg Suchilov from comment #2) > Created attachment 325198 [details] [review] [review] > mutter 3.20 patch hardcoded libinput flat acceleration profile > > i've patched my mutter with this to disable the acceleration on wayland > (since mutter is a wayland compositor - it takes care about all the input) > > btw, while using Gnome on Xorg, you can use > Section InputClass > MatchIsPointer "yes" > Driver "libinput" > Option "AccelProfile" "flat" > EndSection > > to disable the mouse acceleration Okay Oleg thanks for the patch file but I'm wondering if there is any way for this patch to be accepted by upstream at least in time for the GNOME 3.22 release?
Review of attachment 325198 [details] [review]: (In reply to GeorgeWalkman from comment #3) > (In reply to Oleg Suchilov from comment #2) > > Created attachment 325198 [details] [review] [review] [review] > > mutter 3.20 patch hardcoded libinput flat acceleration profile > > > > i've patched my mutter with this to disable the acceleration on wayland > > (since mutter is a wayland compositor - it takes care about all the input) > > > > btw, while using Gnome on Xorg, you can use > > Section InputClass > > MatchIsPointer "yes" > > Driver "libinput" > > Option "AccelProfile" "flat" > > EndSection > > > > to disable the mouse acceleration > > Okay Oleg thanks for the patch file but I'm wondering if there is any way > for this patch to be accepted by upstream at least in time for the GNOME > 3.22 release? No. But I do think it seems reasonable to add a gsetting for it, and maybe even expose it via gnome-tweak-tool.
(In reply to Jonas Ådahl from comment #4) > Review of attachment 325198 [details] [review] [review]: > > (In reply to GeorgeWalkman from comment #3) > > (In reply to Oleg Suchilov from comment #2) > > > Created attachment 325198 [details] [review] [review] [review] [review] > > > mutter 3.20 patch hardcoded libinput flat acceleration profile > > > > > > i've patched my mutter with this to disable the acceleration on wayland > > > (since mutter is a wayland compositor - it takes care about all the input) > > > > > > btw, while using Gnome on Xorg, you can use > > > Section InputClass > > > MatchIsPointer "yes" > > > Driver "libinput" > > > Option "AccelProfile" "flat" > > > EndSection > > > > > > to disable the mouse acceleration > > > > Okay Oleg thanks for the patch file but I'm wondering if there is any way > > for this patch to be accepted by upstream at least in time for the GNOME > > 3.22 release? > > No. But I do think it seems reasonable to add a gsetting for it, and maybe > even expose it via gnome-tweak-tool. Yes if you guys could it would be swell.Ideally the option should be exposed in the Mouse and Touchpad Settings of GNOME but you are free to put it wherever you want.As a closing comment make sure however to put a GNOME version target on this bug Jonas as it could easily be forgotten by other more important bugs.
I am aware that Libinput tries to handle each device very well out of the box, yet exposing at least the AccelProfile option to end users would be quite vital indeed, e.g. for playing games.
This is implemented in master and will be in the 3.22 release. There's UI for it in gnome-tweak-tool. *** This bug has been marked as a duplicate of bug 769179 ***