trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: January 2020

Re: [trinity-users] Mouse too fast - where can I set DPI ?

From: Internal Affairs <internalaffairs@...>
Date: Wed, 8 Jan 2020 18:40:23 +0100
On 12/27/19 12:50 PM, Nick Koretsky wrote:
> On Fri, 27 Dec 2019 10:52:10 +0100
> Internal Affairs <internalaffairs@...> wrote:
>
>> I experienced the problem after I finally did a major update. Maybe it
>> is a udev vs evdev thing.
>>
>> I do not have this probem on MX (you know, the old Mepis / Antix related
>> distro).
>>
>> Funny thing is I cannot find xsettings or something there.
>> If only I would know where to look I could compare :)
>>
>> There is a EXEGNU LiveCD with Trinity, if I recall correctly it is
>> working well there.
>>
>>
> xinput (find you mouse)
> xinput list-props ID
> and then use xinput set-prop to set relevant ones
>
> xinput --set-prop ID 'libinput Accel Profile Enabled' 0, 1
> will set unaccelerated profile which you probably want on high dpi mouse
> and if it still too fast, play with 'libinput Accel Speed'. f.e -0.5 will
> set it to half, etc
>
> P.S. It is possible that you mouse DPI is not detected properly by driver
> use
>   ls -l /dev/input/by-id/
> to find you mouse, then
>   udevadm info /dev/input/eventX | grep MOUSE_DPI
> if its not set, use mouse-dpi-tool to find actual dpi and
> create /etc/udev/hwdb.d/71-mouse.hwdb with values from it
>
>
I don't know if I can just post a huge "thank you!" here so I'll just
elaborate then.

mouse-dpi-tool is not working, it does nothing and then after CTRL-C it
gives a segmentation fault.


I created /etc/udev/hwdb.d/71-mouse-local.hwdb but that does not help.

This is what is in it:
mouse:usb:v062Ap0252:*
 �MOUSE_DPI=2000

mouse:usb:*:name:Emerge Uni-retractable Laser Mouse:
 �MOUSE_DPI=2000

mouse:usb:v062Ap0252:*
 �MOUSE_DPI=2000



I don't know where to set the default DPI in /etc/udev/hwdb.d/70-mouse.hwdb

Somehow I think udev is not used for this but evdev is, but I may be
very wrong.

Thank you so much, I'll investigate this further later.