ubuntu:mouse:lowering_mouse_sensitivity
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ubuntu:mouse:lowering_mouse_sensitivity [2021/10/26 10:06] – peter | ubuntu:mouse:lowering_mouse_sensitivity [2021/10/26 10:10] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - Mouse - Lowering Mouse Sensitivity ====== | ||
- | |||
- | * [[Ubuntu: | ||
- | |||
- | ---- | ||
- | |||
- | ===== Determine the system ===== | ||
- | |||
- | <code bash> | ||
- | xinput list-props 8 | ||
- | </ | ||
- | |||
- | returns: | ||
- | |||
- | <code bash> | ||
- | Device 'Razer Razer DeathAdder V2': | ||
- | Device Enabled (155): 1 | ||
- | Coordinate Transformation Matrix (157): | ||
- | libinput Natural Scrolling Enabled (291): 0 | ||
- | libinput Natural Scrolling Enabled Default (292): 0 | ||
- | libinput Scroll Methods Available (293): 0, 0, 1 | ||
- | libinput Scroll Method Enabled (294): 0, 0, 0 | ||
- | libinput Scroll Method Enabled Default (295): 0, 0, 0 | ||
- | libinput Button Scrolling Button (296): 2 | ||
- | libinput Button Scrolling Button Default (297): 2 | ||
- | libinput Middle Emulation Enabled (298): 0 | ||
- | libinput Middle Emulation Enabled Default (299): 0 | ||
- | libinput Accel Speed (300): | ||
- | libinput Accel Speed Default (301): | ||
- | libinput Accel Profiles Available (302): 1, 1 | ||
- | libinput Accel Profile Enabled (303): 1, 0 | ||
- | libinput Accel Profile Enabled Default (304): 1, 0 | ||
- | libinput Left Handed Enabled (305): 0 | ||
- | libinput Left Handed Enabled Default (306): 0 | ||
- | libinput Send Events Modes Available (276): 1, 0 | ||
- | libinput Send Events Mode Enabled (277): 0, 0 | ||
- | libinput Send Events Mode Enabled Default (278): 0, 0 | ||
- | Device Node (279): | ||
- | Device Product ID (280): | ||
- | libinput Drag Lock Buttons (307): | ||
- | libinput Horizontal Scroll Enabled (308): 1 | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | |||
- | * The **libinput** lines indicate that this is **Wayland/ | ||
- | |||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== On Wayland/ | ||
- | |||
- | <code bash> | ||
- | xinput --set-prop " | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | |||
- | * Check [[https:// | ||
- | |||
- | * libinput calculates the mouse acceleration depending on the DPI and the parameter Acceleration Speed. | ||
- | |||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== On non-Wayland/ | ||
- | |||
- | <code bash> | ||
- | xinput --set-prop " | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ==== To turn off mouse acceleration ==== | ||
- | |||
- | <code bash> | ||
- | xinput --set-prop "Razer DeathAdder" | ||
- | xinput --set-prop "Razer DeathAdder" | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ==== Using xset ==== | ||
- | |||
- | <WRAP info> | ||
- | **NOTE:** xset does not use libinput. | ||
- | </ | ||
- | |||
- | |||
- | To get the current values, use: | ||
- | |||
- | <code bash> | ||
- | xset q | grep -A 1 Pointer | ||
- | </ | ||
- | |||
- | returns: | ||
- | |||
- | <code bash> | ||
- | Pointer Control: | ||
- | acceleration: | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | To set new values: | ||
- | |||
- | <code bash> | ||
- | xset m acceleration threshold | ||
- | </ | ||
- | |||
- | where acceleration defines how many times faster the cursor will move than the default speed. threshold is the velocity required for acceleration to become effective, usually measured in device units per 10ms. acceleration can be a fraction, so if you want to slow down the mouse you can use 1/2, 1/3, 1/4, ... if you want to make it faster you can use 2/1, 3/1, 4/1, ... | ||
- | |||
- | Threshold defines the point at which acceleration should occur in pixels per 10 ms. If threshold is zero, e.g. if you use: | ||
- | |||
- | <code bash> | ||
- | xset m 3/2 0 | ||
- | </ | ||
- | |||
- | as suggested in the man page, then acceleration is treated as "the exponent of a more natural and continuous formula." | ||
- | |||
- | To get the default settings back: | ||
- | |||
- | $ xset m default | ||
- | |||
- | |||
- | ---- | ||
- | |||
- | |||
- | |||
- | |||
- | ===== Confirm any changes ===== | ||
- | |||
- | <code bash> | ||
- | xinput --list-props 8 | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE:** The 8 is the device-id per [[Ubuntu: | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== References ===== | ||
- | |||
- | https:// | ||
- | |||
- | https:// | ||
ubuntu/mouse/lowering_mouse_sensitivity.1635242778.txt.gz · Last modified: 2021/10/26 10:06 by peter