this post was submitted on 04 Dec 2024
68 points (93.6% liked)

Linux

48624 readers
1247 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

On Windows, if you click MMB on some windows, your mouse cursor will turn into a little ↕️ icon, and then you can scroll by moving the mouse cursor up and down, with it going faster the further you drag away from the position it was originally at.

This is one (1) behaviour I miss from Windows. Hours upon hours of scroll-wheeling makes my joints quite tired.

But well. Linux is nothing if not customisable, so I'm wondering if there's a way to recreate this behaviour on it.

I'm on KDE Plasma.

top 34 comments
sorted by: hot top controversial new old
[–] [email protected] 53 points 1 week ago* (last edited 1 week ago) (3 children)

In Firefox (and many forks of it) this is a setting in the app preferences, I think it is called "~~smooth scrolling~~ autoscrolling" or similar.

In most other apps I do not think this is possible.

edited, thanks for correction below

[–] [email protected] 13 points 1 week ago

Having that on Firefox is already quite the game changer. I just had no idea it was there. Thanks.

[–] [email protected] 13 points 1 week ago (1 children)

Didn't realize this was a Firefox setting! "Use autoscrolling" was what worked for me

[–] [email protected] 3 points 1 week ago

yup, now that I think of it again, I think smooth scrolling is something different, autoscrolling is what I meant

[–] [email protected] 4 points 1 week ago

Wow thanks. Was missing that for a long time.

[–] jesta 40 points 1 week ago* (last edited 1 week ago) (1 children)

In mouse settings there should be option "Press middle button and move mouse to scroll"

[–] [email protected] 16 points 1 week ago (1 children)

Not quite what I was hoping for... But it does help.

[–] [email protected] 11 points 1 week ago (1 children)

Not trying to be a dick, but how is it different? From your description of what you were missing it sounds like exactly the same thing.

[–] Breadhax0r 16 points 1 week ago (3 children)

Without having tried that setting myself, I'm assuming that you have to keep moving the mouse to scroll, instead of just slightly moving the mouse once in a direction.

[–] [email protected] 11 points 1 week ago

Exactly that. It acts like the hand tool in a pdf reader, mouse has to keep moving.

[–] [email protected] 2 points 1 week ago

So, it acts like a hand tool from pdf readers?

[–] [email protected] 2 points 1 week ago

Ah, gotcha, makes sense.

[–] [email protected] 29 points 1 week ago (2 children)

TIL people use this feature and it's for joint pain, cool.

[–] [email protected] 17 points 1 week ago (1 children)

Call it a reverse curb-cut effect, I first discovered it when I was a teenager, and back then I'd sometimes use it out of laziness or because it was quicker (ah how I miss being young and immune to pain)

Then when time happened and I started having arthritis flareups, it was there to help me, and I was like "heck, that's a neat thing for accessibility"

[–] [email protected] 8 points 1 week ago

i've come to this in the opposite direction as you. when i switched to linux full time; that middle mouse button wasn't so ubiquitously set as you've described it (none of the windows systems i've owned had it); but the middle mouse button on linux has been ubiquitously set as a 2nd clipboard since the 1970's.

i've grown so accustomed that the middle mouse button gives me a second copy/paste that i had trouble with it when i bought my first linux laptop and the built-in kde decided to mimic that window's scroll just like you described it and i had to learn how to turn it off. lol

[–] [email protected] 3 points 1 week ago

I like to use it when I'm reading, I'll set it to move at my reading pace and then I don't have to touch anything to read the article.

[–] [email protected] 13 points 1 week ago* (last edited 1 week ago) (2 children)

...but then you're losing quick copy and paste.

Select text then middle click on the window you want to paste it. No keys. Select and a single click.

Of course, if you have more than three mouse buttons you can do both.

[–] [email protected] 19 points 1 week ago* (last edited 1 week ago) (1 children)

Eh?

I don't paste things as often as I scroll. Plus, my brain associates copying and pasting with the keyboard commands, from 20+ years of doing -- That.

Edit-to-answer-your-edit: My mouse has 7 buttons, I'm golden.

[–] [email protected] 13 points 1 week ago (2 children)

Interesting. I somehow rewired my brain when I switched to Linux and now I'm constantly annoyed when middle click doesn't paste.

[–] [email protected] 6 points 1 week ago (1 children)

It's been a wonderful X-Windows feature on UNIX systems for ages, which Linux inherited. Select and middle mouse button paste is so ingrained in me, I can't function without it.

[–] [email protected] 3 points 1 week ago

After moving from windows to Linux I found myself accidentally press ing middle click and pasting when scrolling a lot. And I was scrolling a lot because I didn't have the middle-click-drag scroll feature. I ended up disabling middle click paste.

[–] [email protected] 1 points 1 week ago

I've used Linux exclusively for 10+ years and dualbooted long before that, and I just now learned about that flow.

[–] [email protected] 2 points 1 week ago

I don't use the quick copy and paste on my Thinkpad because it's so easy to accidentally trigger. I use it more often on my desktop, though.

[–] maniii 11 points 1 week ago

MMB is for quick-copy-paste and close-tab !!!

[–] [email protected] 6 points 1 week ago* (last edited 1 week ago) (1 children)

OP, there are two parts to this.

One is handles by your Desktop Environment for desktop scrolling outside of apps. Others have mentioned this.

The other is handled directly by browsers.

To enable this for browsers:

Firefox: under about:config, the key general.autoScroll needs to be set to true

Chrome:

Chrome (and any electron based apps) needs to have the following additional flag added to launch with support for middle click scroll: --enable-blink-features=MiddleClickAutoscroll

I would also advise you to map 2 of your mouse buttons to scroll up and scroll down, that way you can just hold a key down to scroll instead of shaking your mouse around.

[–] [email protected] 4 points 1 week ago

The Firefox one is enabled already. I don't do Chrome(ium) unless I absolutely have no choice.

.... But yeah I'd like to enable it for other applications. Dunno if it is possible though.

[–] [email protected] 5 points 1 week ago* (last edited 1 week ago) (1 children)

I have a couple of Logitech Mx Master 3S mice I use. One really nice feature is that you can 'unlock' the mouse scroll wheel so that there's no resistance. Just spin it fast and it'll keep scrolling for quite a long time.

Actually this most recent version will do click scrolling when the wheel is spun at low speeds, but unlock and let the wheel fly when spun faster. Really great feature.

I know it's also not what you were asking about, but I don't know of that feature in Linux.

[–] [email protected] 6 points 1 week ago

I actually have one of those Logi mice with unlockable scrollwheels

...... I only lock it for playing FPSes, to use the wheel to switch weapons. Otherwise it stays unlocked for minimal resistance.

[–] [email protected] 5 points 1 week ago

In GTK/GNOME apps this is remedied by scrolling your mouse wheel over the scrolling indicator (the small side bar that shows up while scrolling). It makes the scrolling much faster this way, but I agree it's not ideal and the windows behaviour is better UX wise

[–] [email protected] 2 points 1 week ago

Thanks for posting this. Been using Linux exclusively for almost 10 years now but I still miss scrolling by clicking the MMB. I have some problems with my fingers so using the scroll wheel is rather unpleasant, yet necessarily, especially when scrolling down slowly and steadily for a long time (e g. while reading/scanning stuff)

[–] [email protected] 2 points 1 week ago* (last edited 1 week ago)

And I always thought my Linux VMs were just not working correctly when I tried to use that feature. I'm surprised that Linux doesn't have it. I use it constantly on Windows.

[–] [email protected] 2 points 1 week ago

I wish KDE was a little more customizable on that front, I can either have it be left corner for left click, middle bottom for middle click and right bottom for right click, OR click anywhere and it's a left click and do multi finger pressed for mid/right click.

I just want left and right click, I have a superwide TouchPad on this laptop and the amount of times I close shit (why is middle mouse close for so many things?) is quite irritating.

[–] glitchdx 1 points 1 week ago

I've got the same complaint here. Firefox has a setting, but it's kinda crap and is only in Firefox. I haven't been able to find a solution that works system wide and isn't horrible jank. I'm on mint with cinnamon, btw.

[–] [email protected] 1 points 1 week ago

Interesting, I've never seen this behaviour on Windows.