Auto Scroll with middle mouse button?
-
This seems like a pretty basic capability, I had to enable it in firefox recently, but I'm switching from Firefox to Vivaldi. I'm mainly interested in being able to auto scroll large images and web pages by single middle clicking the mouse...is this capability available?
-
@lehthanis If you reply to my reply [so that i know you're not just another spammer], i'll link you to the external [systemic] python-script solution i found.
-
@guigirl That's a very odd thing to say. Why would a spammer be asking about a middle mouse click scroll? Either way, I'm all ears for the python solution
-
@lehthanis said in Auto Scroll with middle mouse button?:
That's a very odd thing to say. Why would a spammer be asking
Heehee, you're new here, so you don't yet know the unpleasant recent forum history; over recent months we've had a big surge [IMO it seems big, anyway] of fake users posting sham posts, sometimes with obviously phishing &/or spammie links included, sometimes with no links & "legitimate" appearing text that they return to later & edit into spam.
Anyway, re The Solution. I presume you're already aware of the "traditional" way we frustrated Nixers have been getting our chromium browsers to AutoScroll, via this extension?
I used it for many years, under sufferance [it does not work on all sites, & even on some of the "does work" sites it causes undesirable side-effects]. Over recent months, i decided to look for non-extension alternatives. Initially i found a bash-script systemic solution, which initially worked pretty well in Xorg but not at all in Wayland. A bit later [after a KDE Plasma update broke that one] i found a nice replacement, the aforementioned python-script systemic one.
Here you go [latest post in the thread]: https://forum.vivaldi.net/post/531837
Golly aren't i gonna look silly if you're just a chatty bot, after all?
-
@guigirl Lol, definitely not a chatty bot. Firefox was overheating my system and I had already installed Vivaldi a few weeks ago in consideration. Today was the last straw and I made the switch, only to find I couldn't auto scroll. I'll take a look at the script post! Thanks much! Sounds like a pretty frustrating "ride" you've been on.
-
@guigirl ok so I started the installation process in a console window and suddenly I realize I've never done a python virtual environment before...Will this persist after I close my terminal emulator? When you say to add it to my autostart commands, would that be like adding it to my i3-gaps config file?
-
@lehthanis said in Auto Scroll with middle mouse button?:
definitely not a chatty bot
Hmmmm, but how would i know? Maybe we now have a successful Turing Testee, heehee.
@lehthanis said in Auto Scroll with middle mouse button?:
I'll take a look at the script post!
I really hope it helps you [albeit possibly that thread ended up a bit serpentine, if not outright labyrinthine?]. If you'd like to ask anything about getting it to work that's not readily apparent Over Yonder [& in the applicable Github pages], give a holler.
@lehthanis said in Auto Scroll with middle mouse button?:
pretty frustrating "ride" you've been on
I'm not an old-time Nixer, i only saw the light in late 2013. One of my quests ever since, was to somehow be able to AS in Nix chromia, similar to its native capability in windoze chromia. As you'll see, the mentioned workarounds truly are only workarounds, not solutions... but all things considered, they're pretty decent [once you get used to them].
-
@lehthanis said in Auto Scroll with middle mouse button?:
i3-gaps config file
Ah. Ahem. I hope so, but what i know about i3 would fit inside a thimble. I'm much more a DE rather than WM kinda gal.
@lehthanis said in Auto Scroll with middle mouse button?:
I've never done a python virtual environment before
Ditto -- this was entirely new to me also.
@lehthanis said in Auto Scroll with middle mouse button?:
Will this persist after I close my terminal emulator?
In KDE, yes. In i3, hopefully...
@lehthanis said in Auto Scroll with middle mouse button?:
add it to my autostart commands
The objective is to initiate that script once after each boot & login, thereafter it persists nicely for the entire session, irrespective of Uptime. I hope you can discover how to achieve that objective in i3.
-
@guigirl Here's my spam edit...make sure you go to my website for some cheap pills! Just kidding. I wanted to let you know I kinda have it working. it works if I run it manually now that I figured out the virtual environment and such. I just need to get my WM to keep it in memory. So close! Thanks again for the help.
-
@lehthanis If you visited the Dev's github page, you might have noticed some comms between them & me, via which i found they are very helpful & responsive. If something isn't coming together for you still re the WM bizz, maybe get in touch with the Dev?
-
@guigirl nope I got it working actually! It's working pretty good except my current complaint is that I use the middle mouse button to open links in a new tab...Which now also puts me in scroll mode. I'd like to find a way or an option in the code to make it so it only scrolls when the button is held down, so that single middle clicking continues to behave normally, but holding down the middle mouse scrolls until you let go.
-
@lehthanis said in Auto Scroll with middle mouse button?:
got it working
Nice!
@lehthanis said in Auto Scroll with middle mouse button?:
complaint is that I use the middle mouse button to open links in a new tab...Which now also puts me in scroll mode
Yes. This is the primary "thing" that's required me to learn a new muscle-memory, ie, after middle-clicking a link to open in background, immediately click again on some adjacent passive space to cancel the scroll [albeit, i've also become adept at leaving the AS scroll-state active, but keeping my pointer in the dead-zone til i've read the screen, then incrementing the pointer down (outside the dead-zone) to let the AS proceed... it's taken practice but is mostly now pretty good].
Dunno if you noticed, but earlier in that thread i posted about the earlier bash-script solution i'd found & adopted [til it broke]. It had a really nice feature; a timer for the MC duration, such that a short-MC = open links, close tabs, etc, whilst a long-MC = trigger AS. Once i got used to it, this was a great solution. I have occasionally thought of asking the python Dev if they might be able to replicate that functionality, but tbh after my flurry of whines to them i decided to be kind on them & shut-up for a while.
Btw, if you're finding the current status of your new script challenging, just try to imagine how "exciting" it was before the Dev created the dead-zone for me... i reckon my poor neighbours must have frequently wondered if my screams of frustration & annoyance [at unexpected runaway AS] meant i was being murdered or something.
-
Ppafflick moved this topic from Vivaldi for Linux on