Change mouse wheel scroll speed in Chrome on 12.04 (edit starter bar commandline)

32,729

The .desktop files you are looking for are stored in /usr/share/applications/


To change the mouse wheel speed open the .desktop file:
sudo -i gedit /usr/share/applications/google-chrome.desktop

and then go the 'Desktop Entry' section and look for following line (mine is on line 108):
Exec=/opt/google/chrome/google-chrome

and change it to (you can use any value you like instead of 150):
Exec=/opt/google/chrome/google-chrome --scroll-pixels=150 %U


Hint: if you use Chromium instead of Google Chrome, edit the chromium-browser.desktop file ;)

Share:
32,729

Related videos on Youtube

Felix Dombek
Author by

Felix Dombek

Computational Linguistics B.Sc. from University of Potsdam, Germany. 7 years of experience developing Windows software for a backup/office software company (languages: classic and modern C++, VB6, Python, PHP) 4 years at TomTom, developing embedded routing software on Linux in modern C++.

Updated on September 18, 2022

Comments

  • Felix Dombek
    Felix Dombek almost 2 years

    I want to increase the mouse wheel scroll speed in Google Chrome on Ubuntu 12.04.

    I've read How to change my mouse wheel scroll rate?, I'm on Unity though, how can I edit the commandline for the Chrome icon in the starter bar?

    • Admin
      Admin over 12 years
      Does the command on the previous question work? like, do you need to just figure out how to edit the shortcut in unity?
    • Admin
      Admin over 12 years
      I didn't test it, I just assumed it works. An answer pointing out how to set a system-wide "mouse wheel scrolls by X lines/px/..." option is also very welcome!
    • Admin
      Admin over 11 years
      FWIW, here's a relevant search results page. google.com/…
  • Get Off My Lawn
    Get Off My Lawn over 11 years
    I was looking for the same thing, and this worked for me! Thanks!
  • Frank Nocke
    Frank Nocke over 7 years
    Answer appears outdated (no longer working with current Chrome), see here for a solution → askubuntu.com/a/98881/479118