After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763293 - wayland: Implement changing the mouse acceleration profile.
wayland: Implement changing the mouse acceleration profile.
Status: RESOLVED DUPLICATE of bug 769179
Product: mutter
Classification: Core
Component: wayland
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: mutter-maint
mutter-maint
http://wayland.freedesktop.org/libinp...
Depends on:
Blocks:
 
 
Reported: 2016-03-08 08:38 UTC by GeorgeWalkman
Modified: 2016-09-13 11:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mutter 3.20 patch hardcoded libinput flat acceleration profile (788 bytes, patch)
2016-04-02 01:25 UTC, Oleg Suchilov
rejected Details | Review

Description GeorgeWalkman 2016-03-08 08:38:10 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.
Comment 1 GeorgeWalkman 2016-03-29 16:29:44 UTC
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.
Comment 2 Oleg Suchilov 2016-04-02 01:25:15 UTC
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
Comment 3 GeorgeWalkman 2016-04-02 08:02:28 UTC
(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?
Comment 4 Jonas Ådahl 2016-04-02 10:47:02 UTC
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.
Comment 5 GeorgeWalkman 2016-04-02 16:29:17 UTC
(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.
Comment 6 lemurni42 2016-09-13 02:56:08 UTC
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.
Comment 7 Rui Matos 2016-09-13 11:28:02 UTC
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 ***