Alternatively, gnome-tweaks can also be used to edit the org/gnome/desktop/peripherals/mouse/acceleration-profile. A choice between 'adaptive' and 'flat' profiles can be chosen by installing dconf-editor and editing the value in org/gnome/desktop/peripherals/mouse/acceleration-profile.
There is currently no standard way to change settings across compositors. It is the compositor's job to expose the settings brought by libinput. If you are using Wayland, the events are controlled via libinput.and configuration interfaces common in desktop environments.xorg-xset and xorg-xinput which provide xset and xinput respectively.On Xorg, there are several ways of setting mouse acceleration.Setting the mouse acceleration depends on the windowing protocol you are using: either Xorg or Wayland.
Each subsection should explicitly state which driver is assumed. Reason: Configuration depends on the input driver, libinput can be used in Xorg.