Middle click scrolling for Linux version?
-
@sophos02 said in Middle click scrolling for Linux version?:
Middle mouse button paste is an X Window standard. There is a way to disable it with xbindkeys. Most solutions disable the middle button completely but this shouldn't.
Just install xbindkeys, xsel and xdotool.
Add lines"echo -n | xsel -n -i; pkill xbindkeys; xdotool click 2; xbindkeys" b:2 + Release
to ~/.xbindkeysrc and reload xbindkeys with
xbindkeys -p
Have fun without this great feature
That sounds most interesting. Thank you. I've not yet had time to try this, but for now i have two questions about it pls:
-
If it does not achieve exactly what i want, or creates unexpected other issues, is reverting to my standard system simply a matter of reversing each step you listed, or... do those steps cause other settings elsewhere to change that i'd then have to also hunt down & manually edit?
-
With reference to the actual original thread subject, do you know if Vivaldi / other chromium-based browsers, actually do now exhibit middle-click autoscroll once "your" changes are made? If no, then i won't bother trying this out, coz whilst i dislike middle-click pasting as mentioned, my dislike is insufficient to actually install other software to counter it. Conversely, if said autoscrolling does then begin working without needing extension, then i would be very keen to implement this change.
-
-
@CantankRus said in Middle click scrolling for Linux version?:
@sophos02
I can confirm the xbindkeys solution works.Interesting... can you pls define "works"? See my Qu.2 in my reply to @sophos02.
-
-
Can be reversed by uninstalling xbindkeys or comment out the added lines in
~/.xbindkeysrc
and reload xbindkeys withxbindkeys -p
-
It only disables middle click paste without disabling the middle click button entirely.
(uses xsel to set the mouse primary selection empty as stated by @kumiponi )
Doesn't reveal any autoscroll feature.
-
-
@CantankRus -- aha, well i thank you for your fast & clear replies. Given #2, as foreshadowed i shan't bother proceeding this helpful initiative. Thus, the quest for non-extension Linux chromium-browser autoscroll continues. I suspect there'll be no solution anytime soon...
-
@Steffie
As @CantankRus already said this does not automatically enable autoscroll but just disables middlemouse paste globally by a workaround. But it is really easy to set up and also to undo so if anyone is annoyed by it one could try.
Btw. i do not think middlemouse paste has anything to do with the lack of autoscroll as firefox has boolean flags for both of them. So it is just a feature that is not implemented. -
@sophos02 -- yes, i see, thank you. Just in case i was unclear earlier, i didn't actually think for a moment that making "your" changes would of itself somehow give me autoscroll because of specific code within those additions, but rather, once the middle-click paste was disabled, perhaps innate autoscroll code within chromium-based browsers, hitherto "suppressed" by Linux's middle-click paste function, might then become "freed" to activate.
Yes, it does seem a silly deluded idea for me to have, i agree... but [ever since i left Windows for Linux a few years ago] it just amazes me that Windows versions of chromium-based browsers happily autoscroll til the cows come home, but those same browsers don't/won't/can't in Linux.
-
@Steffie
There was already a patch for chromium for pan_scan as they call it but it was never implemented because they say it is too many functions on one button for the average user and preferences are not an option for chromium.
Maybe with this patch it is possible for the Vivaldi devs to easily add this feature as a preference albeit it is already 6+ years old and i do not know if it still works. If there is a feature request for Autoscroll maybe someone can add this so the devs can take a look at it. -
@sophos02 -- fair enough. In the meantime, it seems that the AutoScroll extension has to remain one of the first extensions i install any/every time i freshly install any chromium-based browsers [in Linux, obviously].
As a footnote - i still remember my abject shock, & thoughts of "oh holy Zarquon, what have i done?", in the early days of my migration from Windows to Linux, when i first discovered no native autoscrolling function in any of the chromium-based browsers i had routinely used in Windows. I can tell you -- it was a desolate barren discombobulating several weeks of page scrolling by k/b or scrollbar drag, til i decided i was desperate enough to go searching for solutions, which eventually lead to discovering the AS extension. It just seems so ... wrong ... Linux is otherwise wondrous & fantabulous, & i would never consider going back to The Dark Side, but this is a really peculiar functionality oversight, or even worse, design blunder.
-
AutoScroll Extension doesn't work fine, actually. I use it for a long time in Vivaldi and I noticed it doesn't work for some sites at all and clearly doesn't work for the browser pages like Reader Mode (and passive scrolling is really important when you read something, you know). AutoScroll implements JS-script into page, so it can't fully replace real built-in passive scrolling for browser, because sometimes it has no rights to implement its script. It's just only and sadly uncomfortable replacement for real passive scrolling. The replacement which should be eventually replaced by a real function.
-
@maniastern Every now & then i discover some rare webpages on which AutoScroll Extension doesn't work correctly, but the vast majority of sites i visit every day, work very nicely. Agree that it does not work in Reader Mode [or Private Windows], which might disadvantage some V users... not me though, as i never use RM [i intensely dislike it & can't fathom why anyone likes it (I refer to RM in any browser, not just V)], & very rarely use PW [again i can't see the point; PW is a huge misleading misnomer].
-
Well, yes, it works for the most cases, but the rest are really frustrating. The extension really helps, though. Better than nothing, eh?
And why do you hate RM, if it's not a secret? Just curious.
As for the Private Window function, in my opinion, it's just because of realisation. For example, I use multiple windows mode very rarely, there is just no need in it the most of the time - only when you use the browser with someone else, I think. So, Private Windows aren't really comfortable. But Private Tabs, as it was in Opera, are far more useful. For example, you can open such a tab when you find out someone blocked you in VK (Russian social network) and you can't look through his info without loging out. Or you need to log in somewhere you are already logged in with another account. It's really good function, actually, very helpful, but windows realisation for it just sucks.
-
@maniastern Definitely tis better than nothing, but i still long for the day when Linux distros generally, or failing that V specifically, will include native mousewheel-click autoscroll. We should not need extensions [duh].
I dislike RM coz [get ready for circular argument] the AS extension won't work in it
, & i hate then having to scroll the old-school way. Also, though there's bound to be exceptions, for my aesthetic sensibilities RM is a "page-uglifier"; generally i prefer the page aesthetics as designed by the website devs [albeit sometimes modified by me with CSS]. Overall though, i have never yet been persuaded that there is really a problem that RM solves, ie, i can't grasp its raison d'etre. FYI, part of my aesthetic sensibility is that i value & prefer "little" over "big", hence in my Linux settings, & browser settings, i use small icons, smallish fonts, small UI zoom, <100% page zoom, rarely fullscreen [any pgm], etc. If i had to guess why some people seem to want RM it's that maybe they want to make the fonts larger... that's utter anathema to me.
Re O12, it's funny [& not a good credit to me] that i seem to have only discovered some of its wonderful functionality only after leaving it some years ago [once it was broken on too many sites for me], when i read fora including this one. PTs is one such function i'd never noticed back then. Sure, i'd be happy to give them a go if V one day gets them, but in the meantime i continue to not grasp why some people use PWs. Like i said/implied before, IMO a neophyte might get themselves into trouble if they use PWs in the naive belief that they are then "cloaked in invisibility". IMO there's nothing "private" about them at all, in any realistic sense of my concept of privacy. For that, i instead just limp along with a combo of VPN, anti-tracking extensions, DDG & StartPage but NEVER Google, never Twatter or FarceBuck, etc.
-
@dleon said in Middle click scrolling for Linux version?:
IIRC, X11 issue.
Oh, interesting. I wonder if their attitude might change once Wayland is ubiquitous instead of X11 ?
-
@maniastern said in Middle click scrolling for Linux version?:
AutoScroll Extension doesn't work fine, actually.
and when you zoom-in a page, this scroll-thing (how is it properly called?) is also becoming bigger.
-
Ppafflick moved this topic from Vivaldi for Linux on