home index sites engineering software hardware email

How-To: Chrome



Installing Google Chromium (the open-source version of the Google Chrome browser) in Ununtu 10.04

sudo apt-get install chromium-browser

Configuring a network proxy

Under Linux/Gnome modifying the network proxy in Chrome will actually modify your Gnome network proxy settings making all apps use the same network proxy (this is a known issue). To have only Chrome use a specified proxy use the following command line:

chromium-browser --proxy-server=proxyip:port

Changing the visited link color for Google search

Google changed their search page such that visited links are now a lighter color. To change it back to a dark magenta, first install the Stylish Chrome extension then create a new style with code set to:

a:visited {color: darkmagenta !important}

Then create an 'Applies to' filter with 'URLs matching the regexp' with the following value:


Then enable and save the new style.

Command line switches

The following command line switches may be of use:
  • --disable-gpu disables GPU acceleration, needed if you have a buggy GPU driver
  • --blacklist-accelerated-compositing disables accelerated compositing, needed if you have a buggy GPU driver and or window manager
  • --disk-cache-dir=/tmp/$USER.chrome.cache speeds up caching, needed if your home directory is on a slow file system such as NFS, this assumes /tmp is mounted as a ram disk, if this isn't the case then replace it with /dev/shm

Here's an example command line with all of the above switches combined:

google-chrome --disable-gpu --blacklist-accelerated-compositing --disk-cache-dir=/tmp/$USER.chrome.cache



Useful Commands

  • ctrl-k Chrome search field
  • ctrl-pgup next tab (left to right)
  • ctrl-pgdn previous tab (right to left)
  • ctrl-t new tab
  • ctrl-r or f5 reload page
  • ctrl-u view page source
  • ctrl-o open a file