Sunday, August 2, 2009

Enabling flash plugin for Google Chrome in Ubuntu

Step 1: Install Google Chrome (Read here..)

Step 2: Create plugins directory and create symlink to flashplayer plug-in.

Issue the following commands in the gnome-terminal (perform each one line by line):
sudo mkdir /opt/google/chrome/plugins/
cd /opt/google/chrome/plugins/
sudo ln -s /usr/lib/flashplugin-installer/libflashplayer.so
Step 3: Change the Google Chrome program launcher settings.

Open the Main Menu editor. You can find it under System, Preferences, Main Menu. Select Internet under Menus and you will find Google Chrome under the items list. Select the Google Chrome entry and then click on properties.


photo of gnome menu editor showing google chrome entry

Change the 'Command' field, add --enable-plugins just before %U
photo showing changing the properties of the google chrome program launcher
You should now be able to watch YouTube videos and visit other flash enabled websites.

There are a lot of configuration options you can give to Chrome. You can get the list here:http://www.chromeplugins.org/tips-tricks/chrome-command-line-switches/
blog comments powered by Disqus