LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-11-2017, 10:26 AM   #1
Gugur
Member
 
Registered: Apr 2017
Location: Spain
Distribution: Debian
Posts: 58

Rep: Reputation: 7
Xinput and mouse deceleration dude


I want to reduce mouse pointer speed. So...

xinput list
xinput list-props deviceID (Appear Device Accel Constant Deceleration)
xinput set-prop deviceID deviceaccelconstantdecelerationID 5.0


Before update to current I could do it. But now not work.

When I type "xinput list-props deviceID" appear this...

With deviceID=11:

Quote:
Device Enabled (152): 1
Coordinate Transformation Matrix (154): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (287): 0
libinput Natural Scrolling Enabled Default (288): 0
libinput Send Events Modes Available (272): 1, 0
libinput Send Events Mode Enabled (273): 0, 0
libinput Send Events Mode Enabled Default (274): 0, 0
Device Node (275): "/dev/input/event14"
Device Product ID (276): 5426, 92
libinput Drag Lock Buttons (303): <no items>
libinput Horizontal Scroll Enabled (304): 1

With deviceID=15:

Quote:
Device Enabled (152): 1
Coordinate Transformation Matrix (154): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (287): 0
libinput Natural Scrolling Enabled Default (288): 0
libinput Left Handed Enabled (289): 0
libinput Left Handed Enabled Default (290): 0
libinput Accel Speed (291): 0.000000
libinput Accel Speed Default (292): 0.000000
libinput Accel Profiles Available (293): 1, 1
libinput Accel Profile Enabled (294): 1, 0
libinput Accel Profile Enabled Default (295): 1, 0
libinput Scroll Methods Available (296): 0, 0, 1
libinput Scroll Method Enabled (297): 0, 0, 0
libinput Scroll Method Enabled Default (298): 0, 0, 0
libinput Button Scrolling Button (299): 2
libinput Button Scrolling Button Default (300): 2
libinput Middle Emulation Enabled (301): 0
libinput Middle Emulation Enabled Default (302): 0
libinput Send Events Modes Available (272): 1, 0
libinput Send Events Mode Enabled (273): 0, 0
libinput Send Events Mode Enabled Default (274): 0, 0
Device Node (275): "/dev/input/event13"
Device Product ID (276): 5426, 92
libinput Drag Lock Buttons (303): <no items>
libinput Horizontal Scroll Enabled (304): 1
How can decelerate the pointer now?

I am using slackware64 -current (11-11-2017) and KDE. I tried xset, but not work.

Thanks.

Last edited by Gugur; 11-11-2017 at 10:34 AM. Reason: Add info
 
Old 11-11-2017, 01:46 PM   #2
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Have you checked KDE's system settings?
https://userbase.kde.org/System_Sett..._Devices#Mouse

The options to put in xorg.conf are found here:
man xorg.conf
https://wiki.archlinux.org/index.php/Mouse_acceleration
 
Old 11-11-2017, 03:57 PM   #3
Gugur
Member
 
Registered: Apr 2017
Location: Spain
Distribution: Debian
Posts: 58

Original Poster
Rep: Reputation: 7
Question about xinput and libinput after system update

Quote:
Originally Posted by RadicalDreamer View Post
Have you checked KDE's system settings?
https://userbase.kde.org/System_Sett..._Devices#Mouse

The options to put in xorg.conf are found here:
man xorg.conf
https://wiki.archlinux.org/index.php/Mouse_acceleration
I did this and decrease the pointer speed:

Quote:
/etc/X11/xorg.conf.d/50-mouse-acceleration.conf

Section "InputClass"
Identifier "My Mouse"
MatchIsPointer "yes"
Option "AccelerationProfile" "-1"
Option "AccelerationScheme" "none"
Option "AccelSpeed" "-1"
EndSection

My question is: Why change the xinput result after system update.

Xinput structure before update, similar to:

Quote:
Device 'mouse brand':
Device Enabled (121): 1
Device Accel Profile (240): 0
Device Accel Constant Deceleration (241): 1.000000
Device Accel Adaptive Deceleration (243): 1.000000
Device Accel Velocity Scaling (244): 10.000000
Xinput structure after update, similar to:

Quote:
Device 'Razer Razer DeathAdder Elite':
Device Enabled (152): 1
Coordinate Transformation Matrix (154): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (287): 0
libinput Natural Scrolling Enabled Default (288): 0
libinput Left Handed Enabled (289): 0
libinput Left Handed Enabled Default (290): 0
libinput Accel Speed (291): -1.000000
libinput Accel Speed Default (292): 0.000000
libinput Accel Profiles Available (293): 1, 1
libinput Accel Profile Enabled (294): 1, 0
libinput Accel Profile Enabled Default (295): 1, 0
libinput Scroll Methods Available (296): 0, 0, 1
libinput Scroll Method Enabled (297): 0, 0, 0
libinput Scroll Method Enabled Default (298): 0, 0, 0
libinput Button Scrolling Button (299): 2
libinput Button Scrolling Button Default (300): 2
libinput Middle Emulation Enabled (301): 0
libinput Middle Emulation Enabled Default (302): 0
libinput Send Events Modes Available (272): 1, 0
libinput Send Events Mode Enabled (273): 0, 0
libinput Send Events Mode Enabled Default (274): 0, 0
Device Node (275): "/dev/input/event13"
Device Product ID (276): 5426, 92
libinput Drag Lock Buttons (303): <no items>
libinput Horizontal Scroll Enabled (304): 1
 
Old 02-04-2018, 07:05 AM   #4
aep
LQ Newbie
 
Registered: May 2002
Distribution: openSUSE Tumbleweed
Posts: 9

Rep: Reputation: 0
For KDE, there is a feature request to set the Pointer Deceleration: https://bugs.kde.org/show_bug.cgi?id=389870
 
Old 02-04-2018, 07:46 AM   #5
sbolokanov
Member
 
Registered: Feb 2013
Location: Бдинъ, Бѫлгариѧ
Distribution: GNU/Linux
Posts: 104

Rep: Reputation: 27
Quote:
Originally Posted by Gugur View Post
I did this and decrease the pointer speed:




My question is: Why change the xinput result after system update.

Xinput structure before update, similar to:



Xinput structure after update, similar to:
Looks like your mouse uses libinput.
libinput was added some time back.

https://wiki.archlinux.org/index.php/Libinput
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xinput on RHEL 5.2 multi_touch Red Hat 1 09-18-2015 06:40 PM
[SOLVED] xinput as another user lopid Linux - Hardware 4 05-30-2014 02:52 PM
how to add time of occurrence for mouse event in xinput hamedhsn Programming 4 01-25-2011 04:31 AM
deceleration of mouse : this may be a tip for linux gamer people Old_Fogie Linux - Hardware 0 08-01-2006 01:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration