this post was submitted on 04 Dec 2024
46 points (94.2% liked)

Linux

48460 readers
547 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 31 comments
sorted by: hot top controversial new old
[–] ReversalHatchery@beehaw.org 1 points 8 minutes ago

I thought that's a firefox exclusive feature. in which other programs did you see it work?

[–] maniii@lemmy.world 8 points 8 hours ago

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

[–] Jakeroxs@sh.itjust.works 1 points 5 hours 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.

[–] schnurrito@discuss.tchncs.de 44 points 13 hours ago* (last edited 11 hours 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

[–] AutoPastry@sopuli.xyz 9 points 11 hours ago (1 children)

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

[–] schnurrito@discuss.tchncs.de 2 points 11 hours ago

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

[–] VinesNFluff@pawb.social 10 points 12 hours ago

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

[–] fachpersonal@lemmy.ml 4 points 12 hours ago

Wow thanks. Was missing that for a long time.

[–] ZeroHora@lemmy.ml 20 points 11 hours ago (1 children)

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

[–] VinesNFluff@pawb.social 13 points 11 hours 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"

[–] eldavi@lemmy.ml 5 points 8 hours 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

[–] jesta@lemmy.world 33 points 13 hours ago* (last edited 13 hours ago) (1 children)

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

[–] VinesNFluff@pawb.social 13 points 12 hours ago (1 children)

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

[–] SturgiesYrFase@lemmy.ml 7 points 9 hours 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@lemmy.world 10 points 9 hours 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.

[–] VinesNFluff@pawb.social 4 points 6 hours ago

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

[–] SturgiesYrFase@lemmy.ml 1 points 7 hours ago

Ah, gotcha, makes sense.

[–] muhyb@programming.dev 1 points 8 hours ago

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

[–] wewbull@feddit.uk 13 points 12 hours ago* (last edited 12 hours ago) (1 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.

[–] VinesNFluff@pawb.social 13 points 12 hours ago* (last edited 12 hours 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.

[–] exu@feditown.com 9 points 11 hours ago (1 children)

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

[–] PseudoSpock@lemmy.dbzer0.com 5 points 10 hours 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.

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.

[–] axum@lemmy.blahaj.zone 6 points 11 hours ago* (last edited 11 hours 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 using the autoscroll arrows.

[–] VinesNFluff@pawb.social 2 points 10 hours 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.

[–] Albbi@lemmy.ca 4 points 11 hours ago* (last edited 11 hours 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.

[–] VinesNFluff@pawb.social 4 points 10 hours 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.

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)

[–] independantiste@sh.itjust.works 4 points 11 hours 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

[–] Tywele@lemmy.dbzer0.com 2 points 10 hours ago

And I always 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.

[–] BearOfaTime@lemm.ee 2 points 11 hours ago

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