How To Setup Chromium (Google Chrome) with Adblock, Greasemonkey, Themes and Plugins on Linux

By Pratik Shivarkar | Labels: , , , , ,

Introduction -I’ve seen people giving very bad review of Google Chrome..even I don’t like it, Google Chrome is a Chromium based (Open Source) browser coded in C+++ with some Google branding. however If you want to use it on Linux you have to use unbranded Chromium browser <--- Now this is what I like, a good Open Source browser for an Open Source Operating System.
Chromium is quite good and possibly can be the browser for future.

1. Installing Chromium on Ubuntu / Debian systems -

There are only deb repository available for Chromium, which is updated on daily revisions..So I’m not going to tell anyone to compile their browser everyday, but to use if on deb-based systems. (e.g. Debian/Ubuntu and Variations/Mint/Dream Linux)
The first thing you have to do is to add Ubuntu/Deb repository to apt.
Open /etc/apt/source.list -
sudo gedit /etc/apt/sources.list
Add following line to the file, and save the file.
deb jaunty main #chromium-browser
Now add the GPG key -
sudo apt-key adv --recv-keys --keyserver 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5
Refresh the repository -
sudo apt-get update
Install Chromium -
sudo apt-get install chromium-browser
Now You have Chromium installed.

2. Enabling the Plugins/Extensions and User Scripts in Chromium -

All you have to do is start Chromium with some --flags.
Easy way to do this is.
Create a Launcher – Open Gedit, add following text to blank file.
#!/usr/bin/env xdg-open

[Desktop Entry]
Name=Chromium 3
Exec=/usr/bin/chromium-browser --enable-plugins --enable-user-scripts --enable-extensions
Save the file as chromium.desktop
Or Create file with following text and save it as chrome-launcher
exec /usr/bin/chromium-browser --enable-plugins --enable-user-scripts --enable-extensions
exit 0
Make it executable, and move it to /usr/local/bin
chmod a+x chrome-launcher && sudo mv chrome-launcher /usr/local/bin/

Now you can use chrome-launcher as regular command.

3. Flash Plugin -
Once you completed the 2nd step, you can install the extensions/themes and user scripts.for Plug-ins like Shockwave-Flash you do not need to copy or create links of or to /usr/lib/chromium-browser/plugins/
Chromium will directly use all the plug-ins from the /usr/lib/mozilla/plugins, To confirm that Plug-ins are in use correctly, type about:plugins in address bar and hit enter.

4. Extensions -
Once you have started Chromium with extensions enabled. your can install .crx plugins right away.
Download the .crx file from Chromium and save it..
Extension will be activated instantly you don’t need to restart the browser.
ype in
chrome://extensions to see installed extensions.

You can get some Extensions

Themes are also packaged with .crx entensions..and installed the same way as extensions.
Visit the
Official Google Chrome Theme Gallery
and Install the theme you want, Or use your native GTK+ theme, So you can always be sure that your Chromium goes with your desktop theme.

6. Ad Blocking -
A very important thing for your browser, Advertises can be blocked using
AdSweep user script
AdSweep.crx <-- (Click to Install) Chromium extension.

With Ads.. Without Ads..

7. Greasemonkey / User Scripts

As we have enabled user scripts using --enable-user-scripts, all we need to to is to put our .js scripts in
~/.config/chromium/Default/User Scripts
You can get userscipts at
However scripts do not run for me sometimes.

8. Web Applications -

You can also create standalone application like mozilla prism
To do so use --app=URL option.
chromium-browser --enable-plugins --enable-user-scripts --enable-extensions --app=
Will create application like this..
And there you get uber Chromium ready for surfing.

Technorati Tags: ,,,,,,,,,,,

Reblog this post [with Zemanta]

blog comments powered by Disqus


Your Ad Here