6

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?

3
  • Does the command on the previous question work? like, do you need to just figure out how to edit the shortcut in unity? Apr 2, 2012 at 20:10
  • 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! Apr 3, 2012 at 11:52
  • FWIW, here's a relevant search results page. google.com/… Jan 13, 2013 at 19:27

1 Answer 1

5

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 ;)

3
  • I was looking for the same thing, and this worked for me! Thanks! Jan 28, 2013 at 15:50
  • 3
    This method appears to be deprecated: link
    – Woltan
    Apr 26, 2013 at 7:26
  • 3
    Answer appears outdated (no longer working with current Chrome), see here for a solution → askubuntu.com/a/98881/479118
    – Frank N
    Oct 25, 2016 at 1:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .