How to Adjust Mouse Speed in Gnome for DPI Changes?

April 4, 2026 4 answers
Asked by GamingGuru42
I'm into gaming and need precise mouse control, so I'm looking to set a higher DPI while keeping the speed consistent. On Windows, it's simple: just multiply your sensitivity by the inverse of the DPI factor. However, things get tricky on Linux. I'm using Pop!_OS with Gnome, and while I found how to set the mouse speed exactly using gsettings, the speed range is only from -1 (slowest) to 1 (fastest). Since mouse acceleration is off, this doesn't align with the Windows formula. How do I adapt this calculation to fit Gnome's range? Additionally, I also run Arch with Hyprland on my PC and want to know if its mouse sensitivity range is similar to Windows or Gnome, or if it's something different altogether.

Answers

LinuxNinja77
Thereโ€™s a resource page that might help on a wiki related to Linux gaming. You can browse it for more info on mouse settings and DPI adjustments if you're looking for deeper insights.
Reply to this answer
TechWhiz01
You might want to check out the flat profile for mouse acceleration in the libinput documentation. It suggests that the multiplication factor is either 1 plus the value you set between -1 and 1, or 0.005 if that's higher. This could help in figuring out how to set your mouse speed correctly!

CSharpNinja99: I get that! So, it seems like you're basically adjusting the multiplier based on that range, right? Itโ€™s a bit complex if you're not into coding, but you're on the right track!

Reply to this answer
MouseMaster45
Have you considered just setting the speed to 0 in the settings? Then, you could adjust the in-game sensitivity or use your mouse's own software for DPI adjustments. Thatโ€™s worked well for me!
Reply to this answer
GamerDude88
Thereโ€™s also a tool called Waywall. While itโ€™s mainly for Minecraft, it lets you change game resolution and mirrors certain parts of the game. Mouse speed is managed by libinput, so you could apply the same DPI calculations across your games.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions