finetune mouse acceleration

This commit is contained in:
Yan Lin 2025-10-29 07:57:45 +01:00
parent 403b11c183
commit c1fda700de
4 changed files with 22 additions and 1 deletions

View file

@ -15,6 +15,14 @@
../../../modules/papis.nix
];
# ThinkPad-specific GNOME dconf overrides
dconf.settings = {
"org/gnome/desktop/peripherals/mouse" = {
speed = 0.0; # Match libinput accelSpeed for TrackPoint
accel-profile = "flat"; # Match libinput accelProfile (no acceleration)
};
};
programs.yt-dlp-custom = {
enable = true;
downloadDir = "~/Downloads/web-video";

View file

@ -111,6 +111,13 @@
accelProfile = "adaptive";
};
# TrackPoint configuration (treated as mouse device)
services.libinput.mouse = {
accelSpeed = "0.0"; # Higher sensitivity for trackpoint (-1.0 to 1.0)
accelProfile = "flat"; # No acceleration curve for precise control
middleEmulation = false; # ThinkPad trackpoints have real middle buttons
};
# Power management for laptops
powerManagement = {
enable = true;