Pointer speed doesn't work after upgrade

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Narann
Level 1
Level 1
Posts: 21
Joined: Sat Feb 11, 2012 12:33 pm
Location: France
Contact:

Pointer speed doesn't work after upgrade

Post by Narann »

Hello !

I just updated LM 18.4 to 19. I removed .config/xfce4 to get new fresh desktop setup. Everything has worked properly.

But: Whatever the values I put in Pointer Speed (acceleration and sensitivity), it doesn't change anything to my mouse.

If I disable it, it properly freeze the cursor so it's the "good mouse" but, for example, putting Acceleration to 0.0 and sensitivity to 1px doesn't change anything to my cursor feeling. I don't understand why and can't find any information so maybe someone can try and tell me if I'm alone and how I could fix this.

A big thanks in advance everyone ! :)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
mint4all
Level 2
Level 2
Posts: 95
Joined: Tue Feb 13, 2018 1:16 pm

Re: Pointer speed doesn't work after upgrade

Post by mint4all »

Greetings!

Your info indicates that you upgraded from LM18.4 to LM 19 ... Since there is no LM 18.4, i assume this was a typo, correct? Also, your earlier posts indicate that you were using LMDE (at least a while back); so my question to you is: did you re-build your system with Mint's XFCE edition some time ago, or is XFCE installed atop of LMDE? Please explain ...

Anyway, i would like to help, but need more info. Are you using a laptop/notebook, or desktop? Wired or wireless mouse? Internal or external pointing device/touchpad? Please explain ... Thanx

Cheers, m4a
User avatar
Narann
Level 1
Level 1
Posts: 21
Joined: Sat Feb 11, 2012 12:33 pm
Location: France
Contact:

Re: Pointer speed doesn't work after upgrade

Post by Narann »

Thanks for the answer !

No, I don't use LMDE on this desktop. Yes, it's a typo, it was LM 18.x (I don't remember) XFCE.

I upgraded to LM 19 using mintupgrade, then the panels was broken. I stopped X and xconfd, removed .config/xfce4 and restart, everything work perfectly "but", chaging mouse speed values doesn't change the mouse behavior. I'm using a desktp, wired logitech mouse, no touch pad.
User avatar
trytip
Level 14
Level 14
Posts: 5366
Joined: Tue Jul 05, 2016 1:20 pm

Re: Pointer speed doesn't work after upgrade

Post by trytip »

disable the touchpad

try xset m default
Image
User avatar
Narann
Level 1
Level 1
Posts: 21
Joined: Sat Feb 11, 2012 12:33 pm
Location: France
Contact:

Re: Pointer speed doesn't work after upgrade

Post by Narann »

Thanks a lot, I don't have any touchpad, I use your xset m default command and that didn't change anything. :(
User avatar
trytip
Level 14
Level 14
Posts: 5366
Joined: Tue Jul 05, 2016 1:20 pm

Re: Pointer speed doesn't work after upgrade

Post by trytip »

it matters not if you have touchpad, is it disabled?
ok. this is getting more complicated. may work may not
To slow down mouse to x0.2:
xinput --set-prop 'USB Optical Mouse' 'Coordinate Transformation Matrix' 1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 2.0

Back to normal:
xinput --set-prop 'USB Optical Mouse' 'Coordinate Transformation Matrix' 1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0
Image
User avatar
Narann
Level 1
Level 1
Posts: 21
Joined: Sat Feb 11, 2012 12:33 pm
Location: France
Contact:

Re: Pointer speed doesn't work after upgrade

Post by Narann »

Thanks a lot !

I tested that and depict the sensibility actually decrease, it looks like the acceleration was still here.

After digging a little into xinput, I found this command xinput --set-prop 'Logitech USB-PS/2 Optical Mouse' 'libinput Accel Profile Enabled' 0, 1
(before, the value was 1, 0).

Now the acceleration looks disabled and I'm back to the same behavior than before, so that's cool as a workaround.

But XFCE's Mouse panel Acceleration and Sensitivity parameter still doesn't change anything. Likes if it was "broken" or "not connected". I would say the way sensitivity and acceleration is sets has changed and XFCE still handle the "old way". I don't know. Is there a bug report to fill ? Or should I give up ? I guess other LM XFCE users have the same problem.
User avatar
mint4all
Level 2
Level 2
Posts: 95
Joined: Tue Feb 13, 2018 1:16 pm

Re: Pointer speed doesn't work after upgrade

Post by mint4all »

I've done some testing with my 12yo Toshiba laptop, using a fresh install of lm19-xfce (32bit). I found that XFCE uses some basic, built-in defaults re. mouse settings (acccell & sensitivity). If any of that is changed by the user, XFCE saves those settings in a file @ /home/{user}/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml ... If it exists, this files overrides the default settings and is being updated in realtime.

Question: do you have this file present on your system now (remember: you deleted all those settings when you tried to rebuild your panels)? If you don't have it present, this is what it looks like

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>

<channel name="pointers" version="1.0">
  <property name="Logitech_USB_Receiver" type="empty">
    <property name="RightHanded" type="bool" value="true"/>
    <property name="Threshold" type="int" value="4"/>
    <property name="Acceleration" type="double" value="4.000000"/>
  </property>
</channel>
Of course, your mouse's name will be different. If this file is present, i suggest that you check its permissions; if not present, i suggest you create this file. I suspect that you have a permissions problem of some kind that prevents xfce from creating it, or updating it...
User avatar
Narann
Level 1
Level 1
Posts: 21
Joined: Sat Feb 11, 2012 12:33 pm
Location: France
Contact:

Re: Pointer speed doesn't work after upgrade

Post by Narann »

Thanks a lot !

Looks like this file is here and my modifications are properly setted:

Code: Select all

$ cat .config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml 
<?xml version="1.0" encoding="UTF-8"?>

<channel name="pointers" version="1.0">
  <property name="SONiX_USB_DEVICE" type="empty">
    <property name="RightHanded" type="bool" value="true"/>
    <property name="Threshold" type="int" value="1"/>
    <property name="Acceleration" type="double" value="1.000000"/>
    <property name="Properties" type="empty">
      <property name="Device_Enabled" type="int" value="0"/>
    </property>
  </property>
  <property name="Logitech_USB-PS2_Optical_Mouse" type="empty">
    <property name="RightHanded" type="bool" value="true"/>
    <property name="Threshold" type="int" value="1"/>
    <property name="Acceleration" type="double" value="0.000000"/>
    <property name="Properties" type="empty">
      <property name="Device_Enabled" type="int" value="1"/>
    </property>
  </property>
  <property name="Gaming_KB__Gaming_KB_" type="empty">
    <property name="Properties" type="empty">
      <property name="Device_Enabled" type="int" value="0"/>
    </property>
  </property>
</channel>
Permissions:

Code: Select all

$ ll .config/xfce4/xfconf/xfce-perchannel-xml/
total 80
drwx------ 2 narann narann  4096 Jul 14 16:13 ./
drwxrwxr-x 3 narann narann  4096 Jul 12 21:35 ../
-rw-rw-r-- 1 narann narann  1417 Jul 12 21:44 displays.xml
-rw-rw-r-- 1 narann narann   203 Jul 13 03:13 keyboards.xml
-rw-rw-r-- 1 narann narann  1033 Jul 14 16:07 pointers.xml
-rw-rw-r-- 1 narann narann   979 Jul 14 16:13 thunar.xml
-rw-rw-r-- 1 narann narann  3712 Jul 12 21:42 xfce4-desktop.xml
-rw-rw-r-- 1 narann narann 13764 Jul 14 11:49 xfce4-keyboard-shortcuts.xml
-rw-rw-r-- 1 narann narann   713 Jul 13 01:34 xfce4-notifyd.xml
-rw-rw-r-- 1 narann narann  3833 Jul 14 16:10 xfce4-panel.xml
-rw-rw-r-- 1 narann narann   392 Jul 12 21:44 xfce4-power-manager.xml
-rw-rw-r-- 1 narann narann  1220 Jul 13 03:13 xfce4-session.xml
-rw-rw-r-- 1 narann narann   336 Jul 14 16:06 xfce4-settings-editor.xml
-rw-rw-r-- 1 narann narann   276 Jul 14 16:09 xfce4-settings-manager.xml
-rw-rw-r-- 1 narann narann  4487 Jul 14 16:09 xfwm4.xml
-rw-rw-r-- 1 narann narann  2043 Jul 13 22:19 xsettings.xml
So maybe it's something else. :(
User avatar
mint4all
Level 2
Level 2
Posts: 95
Joined: Tue Feb 13, 2018 1:16 pm

Re: Pointer speed doesn't work after upgrade

Post by mint4all »

Thanks! Afaict, you have 3 pointing devices listed, but that doesn't mean that all 3 are indeed physically connected to your system. If they are, I would see if removing the SONIX mouse & the gaming device/console makes a difference. Lastly, i'd attach the logitech mouse to a different usb port: i have a 13 yo HP Pavilion desktop -- my old "workhorse" -- where 2 out of the stack of 4 usb ports went bad for no apparent reason, and so did the systems native ps2-port (round mini-socket).

As a final resort, i'd boot up with an installation disc/usb-key and see if that mouse behaves ... if it does on a clean boot, your mouse, system & OS are working properly; otherwise, your mouse is unstable (ie a damaged cable), or your system's usb ports have a problem, or your OS -- as upgraded -- isn't working properly (but you know that already :) ...

Very last test: i'd create a new userid and see if the mouse behaves with that new id...
User avatar
Quexos
Level 2
Level 2
Posts: 85
Joined: Wed Jul 29, 2015 9:49 pm

Re: Pointer speed doesn't work after upgrade

Post by Quexos »

The mouse sliders are broken in all the *buntu 18.04 flavors I have tried. the only "fix" that worked for me was to disable acceleration completely and adjust sensitivity with the mouse hardware (dpi setting) itself.

sudo nano /usr/share/X11/xorg.conf.d/50-mouse-acceleration.conf

paste in:

Code: Select all

Section "InputClass"
    Identifier "Mouse"
    MatchIsPointer "yes"
    Option "AccelerationProfile" "-1"
    Option "AccelerationScheme" "none"
    Option "AccelSpeed" "-1"
EndSection
Or just create the "50-mouse-acceleration.conf" (with the above text in it) with your text editor and move/copy it to "/usr/share/X11/xorg.conf.d"
User avatar
Narann
Level 1
Level 1
Posts: 21
Joined: Sat Feb 11, 2012 12:33 pm
Location: France
Contact:

Re: Pointer speed doesn't work after upgrade

Post by Narann »

Thanks all, I've finally put xinput --set-prop 'Logitech USB-PS/2 Optical Mouse' 'libinput Accel Profile Enabled' 0, 1 in my .xinputrc and will deal with it like this.

Thanks again for the help. :)
bu956unny

Re: Pointer speed doesn't work after upgrade

Post by bu956unny »

19.1, still the same problem about broken ui mouse settings :(
User avatar
Quexos
Level 2
Level 2
Posts: 85
Joined: Wed Jul 29, 2015 9:49 pm

Re: Pointer speed doesn't work after upgrade

Post by Quexos »

...and 19.2. :(
Locked

Return to “Xfce”