Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Scrolling with touchpad on Linux isn’t smooth

  • 3 uphendule
  • 0 zinale nkinga
  • 10 views
  • Igcine ukuphendulwa ngu nicolas.dmt

When I scroll some sites with the touchpad, it doesn’t scroll smooth like on windows. It scroll brutally 3 lines after 3 lines. I can’t scroll a half line for example. Even if I activate “smooth scrolling”, it doesn’t scroll with the precision and the speed of the hand. I don’t if It’s a mistake in the code of gecko or in the code of firefox but could somebody fix it?

When I scroll some sites with the touchpad, it doesn’t scroll smooth like on windows. It scroll brutally 3 lines after 3 lines. I can’t scroll a half line for example. Even if I activate “smooth scrolling”, it doesn’t scroll with the precision and the speed of the hand. I don’t if It’s a mistake in the code of gecko or in the code of firefox but could somebody fix it?

All Replies (3)

Hey, To enable touchpad scrolling that is one-to-one with movements exerted on the pad, set the environment variable MOZ_USE_XINPUT2=1 for Firefox. Some users have reported a jerky feeling after enabling this in conjunction with the smooth scrolling setting under about:preferences, you may disable this option after setting the variable.

A good read, even if you are not using Arch as a GNU/Linux distro, related to this topic can be found here. Let us know if you need any more help!

Cheers,

Helpful?

1. Enable Smooth Scrolling in Firefox Make sure that smooth scrolling is enabled in Firefox:

   1. Open Firefox and type about:preferences in the address bar. 
   2. Scroll down to the "General" section. 
   3. Under "Browsing," ensure that "Use smooth scrolling" is checked. 

2. Adjust Firefox Configuration You can tweak some advanced settings in Firefox that may help with scrolling:

   1. Type about:config in the address bar and press Enter. 
   2. Search for the following preferences and adjust them if necessary: 

◦ general.smoothScroll: Set to true. ◦ general.smoothScroll.mouseWheel: Set to true. ◦ general.smoothScroll.mouseWheel.durationMaxMS: You can try increasing this value (default is 150). ◦ general.smoothScroll.mouseWheel.durationMinMS: You can try decreasing this value (default is 120). ◦ general.smoothScroll.lines: You can adjust this value to change how many lines are scrolled with each gesture. 3. Check System Settings Sometimes, the touchpad settings in your Linux distribution can affect scrolling behavior. Depending on your desktop environment (GNOME, KDE, etc.), you can adjust these settings: • GNOME:

◦ Open Settings > Mouse & Touchpad. 
◦ Adjust the touchpad settings, including scrolling speed and natural scrolling. 

• KDE: ◦ Open System Settings > Input Devices > Touchpad. ◦ Adjust the scrolling settings and sensitivity. 4. Update Touchpad Drivers Ensure that your touchpad drivers are up to date. Depending on your Linux distribution, you may need to install or update specific drivers. For example, if you're using Synaptics or libinput, make sure they are properly configured. 5. Use xinput to Adjust Touchpad Settings You can use the xinput command to adjust touchpad settings directly:

   1. Open a terminal and run xinput list to find your touchpad device ID. 
   2. Use xinput list-props <device_id> to see the properties of your touchpad. 
   3. You can adjust properties like "Scroll Method" or "Natural Scrolling" using xinput set-prop <device_id> <property_id> <value>. 

6. Test in Safe Mode You can start Firefox in Safe Mode to see if extensions or themes are causing the issue:

   1. Click the menu button (three horizontal lines) and select "Help." 
   2. Choose "Restart with Add-ons Disabled." 
   3. If scrolling improves in Safe Mode, an extension may be causing the problem. 

7. Reinstall Firefox If none of the above solutions work, consider reinstalling Firefox. Make sure to back up your bookmarks and settings before doing so. 8. Report the Issue If you believe this is a bug in Firefox, you can report it to Mozilla: • Go to the Mozilla Bugzilla page and file a bug report with detailed information about your issue, including your operating system, Firefox version, and any steps to reproduce the problem.

Helpful?

Nothing worked. I will report this issue at bugzilla.

Helpful?

Buza umbuzo

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.