Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #184589 > unrolled thread

Unable to change mouse acceleration and threshold in Stretch

Started byИлья Валеев <ilya-valeev@yandex.ru>
First post2017-08-03 20:10 +0200
Last post2017-08-29 19:20 +0200
Articles 10 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  Unable to change mouse acceleration and threshold in Stretch Илья Валеев <ilya-valeev@yandex.ru> - 2017-08-03 20:10 +0200
    Re: Unable to change mouse acceleration and threshold in Stretch Zenaan Harkness <zenaan@freedbms.net> - 2017-08-04 03:20 +0200
      Re: Unable to change mouse acceleration and threshold in Stretch Илья Валеев <ilya-valeev@yandex.ru> - 2017-08-04 18:50 +0200
    Re: Unable to change mouse acceleration and threshold in Stretch Siard <shiems146@kpnplanet.nl> - 2017-08-08 12:30 +0200
      Re: Unable to change mouse acceleration and threshold in Stretch Илья Валеев <ilya-valeev@yandex.ru> - 2017-08-20 21:40 +0200
        Re: Unable to change mouse acceleration and threshold in Stretch Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-08-20 22:10 +0200
          Re: Unable to change mouse acceleration and threshold in Stretch Илья Валеев <ilya-valeev@yandex.ru> - 2017-08-27 21:10 +0200
            Re: Unable to change mouse acceleration and threshold in Stretch Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-08-27 22:40 +0200
              Re: Unable to change mouse acceleration and threshold in Stretch Илья Валеев <ilya-valeev@yandex.ru> - 2017-08-29 16:50 +0200
                Re: Unable to change mouse acceleration and threshold in Stretch Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-08-29 19:20 +0200

#184589 — Unable to change mouse acceleration and threshold in Stretch

FromИлья Валеев <ilya-valeev@yandex.ru>
Date2017-08-03 20:10 +0200
SubjectUnable to change mouse acceleration and threshold in Stretch
Message-ID<uasJk-3EH-31@gated-at.bofh.it>
Hello!

I'm unable to change mouse acceleration and threshold in Stretch.

It does not depend on DE. There are no error appears. For example, in
KDE settings applies correctly, ~/.kde/share/config/kcminputrc creates
and contain properly values, but mouse behavior does not changes.
'xset m 3 1' also does not change anything.

It does not depend on:
- Stretch 9.0 or Stretch 9.1
- is it clean install or not
- mouse
- is it virtual machine with Jessie host or real system

Can I do something with this or should I create a bugreport?
If I should create a bugreport, what package should I specify?

P.S. Maybe another bug I've encountered associated with mouse bug
described above: in Dolphin mousewheel scrolls not the number of lines
specified in config but same amount of pixels.

[toc] | [next] | [standalone]


#184615

FromZenaan Harkness <zenaan@freedbms.net>
Date2017-08-04 03:20 +0200
Message-ID<uazrs-8mX-9@gated-at.bofh.it>
In reply to#184589
On Thu, Aug 03, 2017 at 10:59:39PM +0500, Илья Валеев wrote:
> Hello!
> 
> I'm unable to change mouse acceleration and threshold in Stretch.
> 
> It does not depend on DE. There are no error appears. For example, in
> KDE settings applies correctly, ~/.kde/share/config/kcminputrc creates
> and contain properly values, but mouse behavior does not changes.
> 'xset m 3 1' also does not change anything.
> 
> It does not depend on:
> - Stretch 9.0 or Stretch 9.1
> - is it clean install or not
> - mouse
> - is it virtual machine with Jessie host or real system

I use xfce, and a trackball (which requires a couple custom
xorg.conf.d settings to work the way I like).

The man page for xset says under "mouse" that xinput "should be used
if you need device-specific settings."

Do you have any custom Xorg config, or are you just configuring via
kde gui?

(Hopefully someone else can be more helpful.)

[toc] | [prev] | [next] | [standalone]


#184642

FromИлья Валеев <ilya-valeev@yandex.ru>
Date2017-08-04 18:50 +0200
Message-ID<uaNXs-125-9@gated-at.bofh.it>
In reply to#184615
04.08.2017 06:14, Zenaan Harkness пишет:
> On Thu, Aug 03, 2017 at 10:59:39PM +0500, Илья Валеев wrote:
>> Hello!
>>
>> I'm unable to change mouse acceleration and threshold in Stretch.
>>
>> It does not depend on DE. There are no error appears. For example, in
>> KDE settings applies correctly, ~/.kde/share/config/kcminputrc creates
>> and contain properly values, but mouse behavior does not changes.
>> 'xset m 3 1' also does not change anything.
>>
>> It does not depend on:
>> - Stretch 9.0 or Stretch 9.1
>> - is it clean install or not
>> - mouse
>> - is it virtual machine with Jessie host or real system
> 
> I use xfce, and a trackball (which requires a couple custom
> xorg.conf.d settings to work the way I like).
> 
> The man page for xset says under "mouse" that xinput "should be used
> if you need device-specific settings."
> 
> Do you have any custom Xorg config, or are you just configuring via
> kde gui?
> 
> (Hopefully someone else can be more helpful.)

Yes, I have custom Xorg config generated by nvidia-xconfig and edited
for my Cyborg R.A.T. 7 mouse. I also tried:
- edit Xorg config to set mouse acceleration and threshold in it and reboot
- remove custom Xorg config and reboot
Issue also affect fresh install without any changes in system (outright
after first boot).

[toc] | [prev] | [next] | [standalone]


#184884

FromSiard <shiems146@kpnplanet.nl>
Date2017-08-08 12:30 +0200
Message-ID<uc9VU-6Xw-21@gated-at.bofh.it>
In reply to#184589
On Thu, 3 Aug 2017, Илья Валеев wrote:
> I'm unable to change mouse acceleration and threshold in Stretch.
> 
> It does not depend on DE. There are no error appears. For example, in
> KDE settings applies correctly, ~/.kde/share/config/kcminputrc creates
> and contain properly values, but mouse behavior does not changes.
> 'xset m 3 1' also does not change anything.
> 
> It does not depend on:
> - Stretch 9.0 or Stretch 9.1
> - is it clean install or not
> - mouse
> - is it virtual machine with Jessie host or real system

(Responding late because of vacation.) Starting with Stretch, mouse
acceleration is controlled by libinput.  It was mentioned in the Release
Notes BTW.  Here is a clear explanation of its possibilities:
https://wiki.archlinux.org/index.php/Libinput
See 'man libinput' for the available options.

In short, you create the file /etc/X11/xorg.conf.d/10-libinput.conf,
containing something like this:

Section "InputClass"
  Identifier "mouse"
  Driver "libinput"
  Option "AccelProfile" "flat"
  Option "AccelSpeed" "-0.5"
EndSection

Mouse acceleration is set with 'Option "AccelSpeed"'.
Its value ranges from -1 to 1. Negative means slower.

[toc] | [prev] | [next] | [standalone]


#185600

FromИлья Валеев <ilya-valeev@yandex.ru>
Date2017-08-20 21:40 +0200
Message-ID<ugEeK-2HE-35@gated-at.bofh.it>
In reply to#184884
08.08.2017 15:18, Siard wrote:
> On Thu, 3 Aug 2017, Илья Валеев wrote:
>> I'm unable to change mouse acceleration and threshold in Stretch.
>>
>> It does not depend on DE. There are no error appears. For example, in
>> KDE settings applies correctly, ~/.kde/share/config/kcminputrc creates
>> and contain properly values, but mouse behavior does not changes.
>> 'xset m 3 1' also does not change anything.
>>
>> It does not depend on:
>> - Stretch 9.0 or Stretch 9.1
>> - is it clean install or not
>> - mouse
>> - is it virtual machine with Jessie host or real system
> 
> (Responding late because of vacation.) Starting with Stretch, mouse
> acceleration is controlled by libinput.  It was mentioned in the Release
> Notes BTW.  Here is a clear explanation of its possibilities:
> https://wiki.archlinux.org/index.php/Libinput
> See 'man libinput' for the available options.
> 
> In short, you create the file /etc/X11/xorg.conf.d/10-libinput.conf,
> containing something like this:
> 
> Section "InputClass"
>   Identifier "mouse"
>   Driver "libinput"
>   Option "AccelProfile" "flat"
>   Option "AccelSpeed" "-0.5"
> EndSection
> 
> Mouse acceleration is set with 'Option "AccelSpeed"'.
> Its value ranges from -1 to 1. Negative means slower.
> 

It seems to work, thank you!

Is there any way to configure it via GUI or another way without restart?
The way described in Arch Wiki does not do anything.
If not, will it be added in future Debian (or DE?) releases?

[toc] | [prev] | [next] | [standalone]


#185601

FromMario Castelán Castro <marioxcc.MT@yandex.com>
Date2017-08-20 22:10 +0200
Message-ID<ugEHL-36p-3@gated-at.bofh.it>
In reply to#185600

[Multipart message — attachments visible in raw view] — view raw

On 2017-08-21 00:26 +0500 Илья Валеев <ilya-valeev@yandex.ru> wrote:
>It seems to work, thank you!
>
>Is there any way to configure it via GUI or another way without restart?
>The way described in Arch Wiki does not do anything.
>If not, will it be added in future Debian (or DE?) releases?

Hello.

I do not know what is the context of this message, so apologies if my
reply is out of place.

I use LXDE and I can adjust the acceleration and speed through the program
accessible in LXDE menu. It is called “mouse and keyboard preferences“ or
something like that. However, even setting the speed at minimum, it is
still too high. What I have done is to use this command:

“xinput --set-prop
"Logitech USB Optical Mouse" "Coordinate Transformation Matrix" 0.28 0 0 0
0.28 0 0 0 1”

Replace 0.28 by your preferred multiplier (1 = no change; 1.123 = 12.3%
increase, et cetera) This ought to work regardless of desktop environment.
In lightdm, you can put this in “$HOME/.xsessionrc“ to run it
automatically at each log-in.
-- 
Do not eat animals, respect them as you respect people.
https://duckduckgo.com/?q=how+to+(become+OR+eat)+vegan

[toc] | [prev] | [next] | [standalone]


#186035

FromИлья Валеев <ilya-valeev@yandex.ru>
Date2017-08-27 21:10 +0200
Message-ID<ujb6y-3q9-21@gated-at.bofh.it>
In reply to#185601
21.08.2017 01:00, Mario Castelán Castro wrote:
> On 2017-08-21 00:26 +0500 Илья Валеев <ilya-valeev@yandex.ru> wrote:
>> It seems to work, thank you!
>>
>> Is there any way to configure it via GUI or another way without restart?
>> The way described in Arch Wiki does not do anything.
>> If not, will it be added in future Debian (or DE?) releases?
> 
> Hello.
> 
> I do not know what is the context of this message, so apologies if my
> reply is out of place.
> 
> I use LXDE and I can adjust the acceleration and speed through the program
> accessible in LXDE menu. It is called “mouse and keyboard preferences“ or
> something like that. However, even setting the speed at minimum, it is
> still too high. What I have done is to use this command:
> 
> “xinput --set-prop
> "Logitech USB Optical Mouse" "Coordinate Transformation Matrix" 0.28 0 0 0
> 0.28 0 0 0 1”
> 
> Replace 0.28 by your preferred multiplier (1 = no change; 1.123 = 12.3%
> increase, et cetera) This ought to work regardless of desktop environment.
> In lightdm, you can put this in “$HOME/.xsessionrc“ to run it
> automatically at each log-in.
> 

Seems like bug is unique for me, but your method works.
Solved.
Thanks!

[toc] | [prev] | [next] | [standalone]


#186040

FromMario Castelán Castro <marioxcc.MT@yandex.com>
Date2017-08-27 22:40 +0200
Message-ID<ujcvD-4ev-1@gated-at.bofh.it>
In reply to#186035

[Multipart message — attachments visible in raw view] — view raw

On 27/08/17 13:57, Илья Валеев wrote:
> 21.08.2017 01:00, Mario Castelán Castro wrote:
>> I use LXDE and I can adjust the acceleration and speed through the program
>> accessible in LXDE menu. It is called “mouse and keyboard preferences“ or
>> something like that. However, even setting the speed at minimum, it is
>> still too high. What I have done is to use this command:
>>
>> “xinput --set-prop
>> "Logitech USB Optical Mouse" "Coordinate Transformation Matrix" 0.28 0 0 0
>> 0.28 0 0 0 1”
>>
>> Replace 0.28 by your preferred multiplier (1 = no change; 1.123 = 12.3%
>> increase, et cetera) This ought to work regardless of desktop environment.
>> In lightdm, you can put this in “$HOME/.xsessionrc“ to run it
>> automatically at each log-in.
>>
> 
> Seems like bug is unique for me, but your method works.
> Solved.

It does not seem to be a bug. As mentioned in a previous message
<https://lists.debian.org/debian-user/2017/08/msg00404.html> what
happens is that in Debian 9, mouse acceleration parameters are handled
by libinput by default (I think that one can disable libinput by
replacing the package “xserver-xorg-input-libinput” with
“xserver-xorg-input-evdev”, but I beware that I have *NOT* tried it)

Apparently, libinput uses its own parameters and ignores the parameters
that “xset” alters.

> Thanks!

Пожалуйста.

-- 
Do not eat animals, respect them as you respect people.
https://duckduckgo.com/?q=how+to+(become+OR+eat)+vegan

[toc] | [prev] | [next] | [standalone]


#186134

FromИлья Валеев <ilya-valeev@yandex.ru>
Date2017-08-29 16:50 +0200
Message-ID<ujQ01-3Pn-1@gated-at.bofh.it>
In reply to#186040
28.08.2017 01:29, Mario Castelán Castro wrote:
> On 27/08/17 13:57, Илья Валеев wrote:
>> 21.08.2017 01:00, Mario Castelán Castro wrote:
>>> I use LXDE and I can adjust the acceleration and speed through the program
>>> accessible in LXDE menu. It is called “mouse and keyboard preferences“ or
>>> something like that. However, even setting the speed at minimum, it is
>>> still too high. What I have done is to use this command:
>>>
>>> “xinput --set-prop
>>> "Logitech USB Optical Mouse" "Coordinate Transformation Matrix" 0.28 0 0 0
>>> 0.28 0 0 0 1”
>>>
>>> Replace 0.28 by your preferred multiplier (1 = no change; 1.123 = 12.3%
>>> increase, et cetera) This ought to work regardless of desktop environment.
>>> In lightdm, you can put this in “$HOME/.xsessionrc“ to run it
>>> automatically at each log-in.
>>>
>>
>> Seems like bug is unique for me, but your method works.
>> Solved.
> 
> It does not seem to be a bug. As mentioned in a previous message
> <https://lists.debian.org/debian-user/2017/08/msg00404.html> what
> happens is that in Debian 9, mouse acceleration parameters are handled
> by libinput by default (I think that one can disable libinput by
> replacing the package “xserver-xorg-input-libinput” with
> “xserver-xorg-input-evdev”, but I beware that I have *NOT* tried it)
> 
> Apparently, libinput uses its own parameters and ignores the parameters
> that “xset” alters.

The main issue is that I cannot change mouse acceleration and threshold
through GUI.

> 
>> Thanks!
> 
> Пожалуйста.
> 

[toc] | [prev] | [next] | [standalone]


#186144

FromMario Castelán Castro <marioxcc.MT@yandex.com>
Date2017-08-29 19:20 +0200
Message-ID<ujSlb-5rP-5@gated-at.bofh.it>
In reply to#186134

[Multipart message — attachments visible in raw view] — view raw

On 29/08/17 09:36, Илья Валеев wrote:
> 28.08.2017 01:29, Mario Castelán Castro wrote:
>> Apparently, libinput uses its own parameters and ignores the parameters
>> that “xset” alters.
> 
> The main issue is that I cannot change mouse acceleration and threshold
> through GUI.

Understood. I was not aware of what the issue was exactly. That is
probably a bug of the graphical program. I suggest to file a bug report.

-- 
Do not eat animals, respect them as you respect people.
https://duckduckgo.com/?q=how+to+(become+OR+eat)+vegan

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web