Reputation: 32296
I changed these settings in about:config of firefox (ubuntu) to get the scrolling work like other browsers for e.g. Chrome (windows) or chromium (Ubuntu)
widget.gtk.overlay-scrollbars.enabled false
widget.non-native-theme.gtk.scrollbar.thumb-size 1
widget.non-native-theme.scrollbar.size.override 15
general.smoothScroll true
general.smoothScroll.stopDecelerationWeighting 0.8
mousewheel.min_line_scroll_amount 60
layout.frame_rate.precise true
mousewheel.acceleration.start 1
mousewheel.min_line_scroll_amount 60
____
general.smoothScroll.mouseWheel.durationMaxMS: 250
general.smoothScroll.currentVelocityWeighting: 0
mousewheel.min_line_scroll_amount: 25
But when I click at the bottom of the screen, it scrolls to the end instead of page down.
Update:
Here’s how I tested it on Ubuntu Jammy (22.04):
I used the "Launch Demo" button available on this site:
I was able to test both Firefox and Chrome by visiting a site like yahoo.com. In Firefox, the cursor changes to a pointer, while in Chrome, the scrolling behaves as if the "Page Down" key is being pressed.
I am not saying one way is correct and the other is wrong. The inconsistency in behavior is quite challenging for me.
Upvotes: 2
Views: 440
Reputation: 32296
Edit (or create) the file:
~/.config/gtk-3.0/settings.ini
And add the following:
[Settings]
gtk-primary-button-warps-slider = false
https://community.plus.net/t5/Tech-Help-Software-Hardware-etc/The-usual-GNOME-annoyances/td-p/916379
Upvotes: 1
Reputation: 23
Why do you have this duplicate configuration?
mousewheel.min_line_scroll_amount 60
mousewheel.min_line_scroll_amount: 25
If you want to perform a page down action instead of scrolling to the end, you should try reducing that value.
Upvotes: 0
Reputation: 27
Try to change the value of "general.smoothScroll.mouseWheel.durationMaxMS" to something higher than 250, like 500.
This value represents the maximum duration of the scroll animation in milliseconds.
general.smoothScroll.mouseWheel.durationMaxMS: 500
Upvotes: 1