On 4/21/19 8:41 PM, Cameron Simpson wrote:
On 21Apr2019 18:50, ToddAndMargo ToddAndMargo@zoho.com wrote:
More interesting. Xfce's mouse dialog show acceleration is on: screenshot: https://bugzilla.xfce.org/attachment.cgi?id=8432
Just wondering whether this dialogue is a direct query of the mouse state or some kind of proxy via Xfce's settings i.e. if you change the seting outside Xfce does the dialogue notice? (Either immediately or on dialogue close/reopen?)
This may be the issue. The screen shot shows an acceleration of 2.5 and xinput says it is zero. Xfce may be misreading xinput
Can xinput acceleration be <0? To "descale" the mouse? What if Xfce is showing an arbitrary scale with xinput's "0" being the middle of the scale. Your screenshot has the scale suspiciously bang in the middle.
What's "xset q" report?
Cheers, Cameron Simpson cs@cskk.id.au
Fresh reboot:
$ xset q Keyboard Control: auto repeat: on key click percent: 0 LED mask: 00000002 XKB indicators: 00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off 03: Compose: off 04: Kana: off 05: Sleep: off 06: Suspend: off 07: Mute: off 08: Misc: off 09: Mail: off 10: Charging: off 11: Shift Lock: off 12: Group 2: off 13: Mouse Keys: off auto repeat delay: 500 repeat rate: 30 auto repeating keys: 00ffffffdffffbbf fadfffefffedffff 9fffffffffffffff fff7ffffffffffff bell percent: 50 bell pitch: 400 bell duration: 100 Pointer Control: acceleration: 2/1 threshold: 4 Screen Saver: prefer blanking: yes allow exposures: yes timeout: 0 cycle: 0 Colors: default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff Font Path: catalogue:/etc/X11/fontpath.d,built-ins DPMS (Energy Star): Standby: 7200 Suspend: 7200 Off: 14400 DPMS is Disabled
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After setting it to .75
$ MouseAccel.pl6 .75 AccelSpeed = <.75> MouseID = <15> AccelID = <296> PreviousAccelSpeed = <0.000000> xinput --set-prop 15 296 .75 Logitech USB Optical Mouse acceleration speed set to .75
$ xset q | grep accel acceleration: 2/1 threshold: 4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Setting it back to zero:
$ MouseAccel.pl6 0 AccelSpeed = <0> MouseID = <15> AccelID = <296> PreviousAccelSpeed = <0.001000> xinput --set-prop 15 296 0 Logitech USB Optical Mouse acceleration speed set to 0
$ xset q | grep accel acceleration: 2/1 threshold: 4