Permanently fix Chrome scroll speed - Ask Ubuntu

文章推薦指數: 80 %
投票人數:10人

3 is the "scroll speed multiplier." Use a larger number for faster scrolling, or a smaller number for slower scrolling. The ".*-chrome*" ... UbuntuCommunityAsk!DeveloperDesignHardwareInsightsJujuShopMore›AppsHelpForumLaunchpadMAASCanonical AskUbuntuisaquestionandanswersiteforUbuntuusersanddevelopers.Itonlytakesaminutetosignup. Signuptojointhiscommunity Anybodycanaskaquestion Anybodycananswer Thebestanswersarevotedupandrisetothetop Home Public Questions Tags Users Companies Unanswered Teams StackOverflowforTeams –Startcollaboratingandsharingorganizationalknowledge. CreateafreeTeam WhyTeams? Teams CreatefreeTeam Teams Q&Aforwork Connectandshareknowledgewithinasinglelocationthatisstructuredandeasytosearch. Learnmore PermanentlyfixChromescrollspeed AskQuestion Asked 9years,3monthsago Modified 28daysago Viewed 40ktimes 17 11 So,IamchangingthescrollspeedinUbuntuusingthisanswer: ChangemousewheelscrollspeedinChromeon12.04(editstarterbarcommandline) Exec=/opt/google/chrome/google-chrome--scroll-pixels=150%U Itworks,buteverytimeChromeupdatesIneedtodoitagain,isthereanywayIcanpermanentlyfixthisissue? google-chrome Share Improvethisquestion Follow editedAug28,2018at2:31 muru 182k4747goldbadges445445silverbadges680680bronzebadges askedFeb12,2013at20:46 GetOffMyLawnGetOffMyLawn 43711goldbadge55silverbadges1818bronzebadges 5 Maybeuseanextension? – UriHerrera Feb12,2013at20:50 I'veopenedaticketonchromebugtracker,joinittosupportthebugcode.google.com/p/chromium/issues/detail?id=521211 – yanpas Oct5,2015at21:36 Youcansetpermissionstothedesktopfiletoread-only. – MichalPrzybylowicz Aug28,2018at6:28 @MichalPrzybylowicz,thatdoesn'tstoppeoplefromlaunchingchromewithouttheparameterviaterminalorAlt+F2 – Algoman Nov3,2019at12:03 Note:the--scroll-pixelsflagisgonesince2013.Seeissue#154776 – rustyx May9at14:52 Addacomment  |  5Answers 5 Sortedby: Resettodefault Highestscore(default) Datemodified(newestfirst) Datecreated(oldestfirst) 16 Update2020:justusethisscriptfrommyrepohereandbedone:eRCaGuy_dotfiles...touchpad_toggle.sh Originalanswer: Hereisasolutionwhichworksperfectly(testedrecentlyinUbuntu14.04,18.04,and20.04): sudoaptupdate sudoaptinstallimwheel gedit~/.imwheelrc Copyandpastethefollowingintothenewly-created.imwheelrcfile(thatyoujustmadeinyourhomedirectoryviathegeditcommandabove): ".*-chrome*" None,Up,Button4,3 None,Down,Button5,3 Control_L,Up,Control_L|Button4 Control_L,Down,Control_L|Button5 Shift_L,Up,Shift_L|Button4 Shift_L,Down,Shift_L|Button5 3isthe"scrollspeedmultiplier."Usealargernumberforfasterscrolling,orasmallernumberforslowerscrolling.The".*-chrome*"partsaystoapplythesescrollwheelspeedincreasechangesONLYtochrome. Runimwheel-b"45"totestyoursettings.Whendonetesting,runkillallimwheeltokillit,thenmakeyoureditsto.imwheelrc,asdesired,andrunimwheel-b"45"againformoretesting.Besuretofullycloseandre-openChromeeachtimeyourestartimwheeltoo,toensureitsnewsettingstakeeffect.Thismustbedonebyright-clickingthelittleChromeiconinthetop-rightofyourdesktoppaneandgoingto"Exit". Alsokeepinmindthatifyouareusingacheapmouse,yourscrollwheeldecodermaybelousyandmissencodercountswhenmovingthewheelfast.Therefore,insuchacase,movethewheelatareducedspeedwhentestingtheeffectofimwheel,sothatyourmousedoesn'tmissencodercountsonthescrollwheel,makingyouthinkimwheelisn'tworkingrightwhenit'sreallyjustyourcheaphardware'sproblem. Addimwheel-b"45"toUbuntu's"StartupApplications"togetittoruneverytimethecomputerstarts. AsStevenC.Howellsayshere: Notethatusingtheoption-b"45"restrictsimwheeltoonlyaffectthescrollwheel,discussedhere. Anotheranswerby"tvn"here:https://askubuntu.com/a/304653/327339. Moreanswershere:Increasemousewheelscrollspeed. Referencenotes: Iamnottheoriginalauthoroftheanswerslinked-toabove,rather,user"tvn"andothersare,althoughtvn'sanswerislackinginthatitreplacesmousescrollwheelmovementswithmultiplearrow-keyArrowUpandArrowDownkeypresses,whichmeansyouhavetoclickinawindowforittotakeeffect,andsomethingslikethebrowser-basedJupyterNotebookPythonprogrammingenvironmentscrollhorriblylikethis!Therefore,StevenC.Howellgaveanimprovedanswerwhichkeepsthescrollwheelmappingtothescrollwheel,insteadoftokeyboardupanddownkeys,buthisanswerislackinginthatitappliesthisnewscrollwheelscalingtoeverythingonyourcomputer,soIjustmodifiedthisanswer27Aug.2018toreflectStevenHowell'sanswer,butwiththeadditionofadding".*-chrome*"tothetopofthe~/.imwheelrcfilesothatthesenewscrollsettingapplyonlytoyourChromebrowser,whichisreallywhatIwant.Notealso,Ihavemadeseveralsignificantandimportanteditsandcontributionstotvn'sanswerlinkedtoabove,butnowIthinkthisanswerhereismuchbetter,andit'sdeviatedtoomuchfromtvn'sanswertoevenattempttoedithisanswerfurther. TestedinUbuntu14.04LTS. Update3Mar.2019:testedinUbuntu18.04LTSaswell,anditseemstheeffecttakesplaceimmediatelyinChromenoweachtimeyourunkillallimwheelandthenimwheel-b"45"totestnewsettings. Help,mytouchpad/trackpadisglitchywhenscrolling! Thissectionadded22June2019: Dependingonyourcomputerandhardware,theabovesettingsmayworkbestwithamousewithascrollwheel.Onatrackpad(again,thismayormaynotapplytoyouoryourcomputer)itmaymaketheresultveryglitchywhentryingtodotwo-fingerscrollingonthetouchpad.Ihaveashortcutkey(Ctrl+Alt+P)setuptorunascriptwhichenables/disablesmytrackpadsoIdon'tbumpitwhiletypingandusingamouse,yetsoIcanstilleasilyenableitforwhenIdon'thaveamouseand/orsomeoneelsewholovestouchpadswantstousemycomputer.Tofixtheglitchyscrollingcausedbyimwheelwhenusingthetouchpad,I'vejustaddedthefollowingtomyscript: Whenthetouchpadisdisabled,enableimwheelsomymousescrollwheelwillworkwell: imwheel-b"45" Whenthetouchpadisenabled,disableimwheelsomytouchpadtwo-fingerscrollingwillworkwellandnotbeglitchy: killallimwheel DoingtheaboveisespeciallyimportantformyHPSpectrex360Ultrabook(Model13-4193nr,andrunningUbuntu18.04),whichotherwisehashorriblyglitchytwo-fingertouchpadscrollingwhenimwheelisenabled. Hereismyfulltouchpadtogglescriptwiththose2imwheellinesaddedasdescribedjustabove: File"~/bin/toggle_touchpad": (Ikeepthelatestversionupdatedhere:eRCaGuy_dotfiles/.../touchpad_toggle.sh). #!/bin/bash #GS_toggle_touchpad.sh #-togglethetouchpadonandoff #GabrielStaples #Written:2Apr.2018 #Updated:12Sept.2019 #References: #-https://askubuntu.com/a/874865/327339 #-https://askubuntu.com/questions/844151/enable-disable-touchpad/1109515#1109515 #Searchforidnumberof"TouchPad"OR"Touchpad"in`xinput`list;manuallytype`xinput`toseeallyourdevices readTouchPadDeviceId<<"Moretools"-->"Taskmanager". Share Improvethisanswer Follow editedMay8at22:12 answeredJan3,2018at1:34 GabrielStaplesGabrielStaples 5,48555goldbadges4848silverbadges7979bronzebadges 9 imwheelemulatesmultiplescrollmessages.Butthattotallybreaksscrollingthroughtabs.NowIcan'tscrolltoanytab,Iscrollthrough4tabsatatime. – Trevor Jul16,2020at0:34 Thisistrue.Forfine-tunedverticalscrolling,IusetheUpandDownarrowkeys.Andforchangingtabs,IuseCtrl+PageUpandCtrl+PageDown.ThebenefitIgetwiththeimprovedmousescrollingoverallisworththetradeoffandcostIthink. – GabrielStaples Jul16,2020at3:02 HopefullyChromegivesussomescrollspeed/resolution/distancesettingsinthefuture,butfornow,thisiswhatworksbestformebyfar.YoumightconsidermakingrequeststhroughGoogletoaddscrollsettingsintoChrome,though,sowewouldn'tneedtohackitanymore. – GabrielStaples Jul16,2020at3:02 @Trevor,Ijustfoundanothersupersimplefix:sinceI'mapplyingtheimwheelincreasedscrollspeedtoChromeonly,simplyremovingfocusfromtheChromewindowandthenhoveringoverthetabsandusingthemousescrollwheelworkstoo.Thisiseasyifyouhavetwomonitors:justclickonawindowontheothermonitor,thenwhenyouhoverovertheChrometabs&scroll,sincethechromewindowisn'tinfocus,itappliesthenormal1-tabpertickscroll.OnceyouclickontheChromewindow,itgetsfocus,&nowyou'llgettheimwheel-adjustedincreasedscroll,skippingsometabsasyouscroll. – GabrielStaples Aug7,2020at18:29 WorksgreatforlegacysystemsrunningX11butnothingmodernrunningWayland – ScottP. Jan22,2021at3:45  |  Show4morecomments 5 unfortunatelythisfunctionisdeprecatedandremovedfromChromeandChromium.ItisnotworkinganymorewiththelatestversionsofChrome. https://code.google.com/p/chromium/issues/detail?id=154776 ButyoucanusethisquitecoolplugintospeedupyourscrollspeedinChromeonLinux. https://chrome.google.com/webstore/detail/chromium-wheel-smooth-scr/khpcanbeojalbkpgpmjpdkjnkfcgfkhb Share Improvethisanswer Follow editedFeb6,2014at17:09 answeredApr19,2013at20:20 ZoltanZoltan 49877silverbadges1111bronzebadges 2 1 Theperformanceofthepluginisnotsogood.Thespeediserratic. – Casper Oct6,2016at7:28 1 TrytheSmoothScrollextension,itshouldworkbetter. – rustyx Jan29at23:04 Addacomment  |  0 Trythisalternativehttps://chrome.google.com/webstore/detail/gestures-for-google-chrom/jpkfjicglakibpenojifdiepckckakgk?utm_source=chrome-app-launcher-info-dialog.IthasbetterperformancethanChromiumWheelSmoothScroller Share Improvethisanswer Follow answeredDec4,2016at18:37 ipeacocksipeacocks 64011goldbadge99silverbadges1919bronzebadges 2 Thishasbeenfixedinchromeforawhilenow – GetOffMyLawn Dec4,2016at18:38 @get-off-my-lawncouldyouprovidebetteralternative? – ipeacocks Dec4,2016at20:17 Addacomment  |  0 I'vecreatedasimplechromeextensioncalledScrollSpeedinwhichyoucansetthescrollfactor. Canbefoundhere:https://chrome.google.com/webstore/detail/scroll-speed/mfmhdfkinffhnfhaalnabffcfjgcmdhl Ithasmuchbetterperformancethanthe"smoothscroll"extensionsI'vetriedtofixthisproblem. Share Improvethisanswer Follow answeredMay2,2020at14:26 BertHekmanBertHekman 10133bronzebadges Addacomment  |  0 Aftertryingforseveraldifferentpluginstogetaroundthisissuewithlinuxchromeextension:AutoScroll,whichdoesnotsolvethespeedissuebutoffersawaytousethemiddlekeytoincreasethescrollingspeedwhilepreservingasmoothexperience. Share Improvethisanswer Follow answeredJan28at12:44 CharlieLeeCharlieLee 3133bronzebadges Addacomment  |  YourAnswer ThanksforcontributingananswertoAskUbuntu!Pleasebesuretoanswerthequestion.Providedetailsandshareyourresearch!Butavoid…Askingforhelp,clarification,orrespondingtootheranswers.Makingstatementsbasedonopinion;backthemupwithreferencesorpersonalexperience.Tolearnmore,seeourtipsonwritinggreatanswers. Draftsaved Draftdiscarded Signuporlogin SignupusingGoogle SignupusingFacebook SignupusingEmailandPassword Submit Postasaguest Name Email Required,butnevershown PostYourAnswer Discard Byclicking“PostYourAnswer”,youagreetoourtermsofservice,privacypolicyandcookiepolicy Nottheansweryou'relookingfor?Browseotherquestionstaggedgoogle-chromeoraskyourownquestion. TheOverflowBlog Abeginner’sguidetoJSON,thedataformatfortheinternet Episode448:KidnappinganNFT FeaturedonMeta AnnouncingthearrivalofValuedAssociate#1214:Dalmarus Improvementstositestatusandincidentcommunication Linked 106 Increasemousewheelscrollspeed 60 HowdoIdisablethetouchscreendrivers? 23 Enable/disabletouchpad 19 HowtosetNemoasthedefaultfilemanagerinUbuntu? 19 imwheeldestroysback/forthnavigationbuttonsfrommymouse 6 ChangemousewheelscrollspeedinChromeon12.04(editstarterbarcommandline) 7 Chromiumbrowserscrollingslow Related 6 ChangemousewheelscrollspeedinChromeon12.04(editstarterbarcommandline) 6 Cronworks,butscheduledjobtoopenwebpageinchromedoesnot 3 Chrome35stoppedtouchinteractionafterChromeupdateonUbuntu14.04 0 FlashstopsrespondingonsomewebsitesinlatestChromeinUbuntu14.04 1 Ubuntu16.04laggyUIusingGoogleChrome HotNetworkQuestions Equationalignmentwithvaryingnumberofcolumns DoIneedtocheckoutmyluggageifIexittheairportduringtransit? HowcanIcreatesuch3Dpixelartwork? Doesanyoneknowwhatsetthesepartsbelongto?Lotsofdarkred,withtansandgreys Originofthephrase"tohavenotruckwith" Anargumentthateverythingexists WhywasSmileyshockedbyseeingthis? Softwaretosyncwithtempoinviolin Newemployeraskedmetoworkcontrarytoouragreement.Iamnotsurewhattodo WhydoWesterncountriesseemtobesoreluctanttosendmorepowerfulweaponsinUkraine? CanIputasuspensionforkonahybridbikeliketheKonaDew? Arethereanymethodstomakerigsusingjusttextureeyesonspheresorflatsurfacesobj? Permutationssummingtopermutations Whatistheplanetthat"leadsmenstraightoneveryroad"inDante's"Inferno"? FindingScorpiointheMilkyWaypanorama WhatisthereasoningbehindexpectingresidualsinOLSregressiontobenormallydistributed? HowtoModelPathBeingOnlyThroughAdjacentCells Howatnormalspeed,is"onenaunenhaut,hein?"pronouncedbynatives? atemporaryobjectinrange_basedforlooprelatedquestioninc++ Howdoeconomicsanctionswork?Howdotheynotcreateanarbitrageopportunity? Sciencefictionstoryaboutpeoplethatalllookthesameandvisitingastronautsstarttochangeaswell Irepaired/wasreparingmybikefrom2to4pm Onmathematicallevel,whatexactlyistimeinNewtonianmechanics? ShouldIletmycoworkersknowIcanunderstandtheirlanguage? morehotquestions Questionfeed SubscribetoRSS Questionfeed TosubscribetothisRSSfeed,copyandpastethisURLintoyourRSSreader. Yourprivacy Byclicking“Acceptallcookies”,youagreeStackExchangecanstorecookiesonyourdeviceanddiscloseinformationinaccordancewithourCookiePolicy. Acceptallcookies Customizesettings  



請為這篇文章評分?