PDA

View Full Version : HOWTO: Flash in Google Chrome


MadnessRed
August 22nd, 2009, 12:59 PM
This simple script will add the flash plugin to Chrome.

Please make sure that google chrome is updated as only the newer versions support plugins.

Simple script for default configuration:
This assumes that flash is installed in /usr/lib/adobe-flashplugin/ and google chrome in /opt/google/chrome/
1) Install flash:
If you haven't already done so, then download and install flash from the adobe website.
http://get.adobe.com/flashplayer/

2) Run the script:
cd /opt/google/chrome/; sudo mkdir plugins; cd plugins; sudo ln -s /usr/lib/adobe-flashplugin/libflashplayer.so

3) Edit the launchers:
Click on System > Prefernces > Main Menu
Then select Internet > Google Chrome
Select edit and change the launcher to
/opt/google/chrome/google-chrome --enable-plugins %U
If you have any other launchers on the panel or desktop, right click on them and select properties and then do the same.

Not so simple way: via gui
You need to find the flash plugin folder, if you can't find the /usr/lib/flash-plugin/ then you may also find it in the firfox/plugins folder. Now you need to make a folder in your chrome directory called plugins. Either copy into or make a link to "libflashplayer.so" in that folder.

After this do step 2 of the simple method.

I did this and youtube works for me, haven't tested anything else yet.

Sam_S
November 19th, 2009, 12:34 AM
For me running Ubuntu 9.10 on a Toshiba satellite laptop, I still received errors with the flash plugin and Chrome would sometimes lock up.

I just came across a posting for the chromium browser that solved my problem with a slight adjustment for chrome. The following is what worked for me:

sudo mkdir /opt/google/chrome/plugins
sudo ln -s /usr/lib/firefox/plugins/flashplugin-alternative.so /opt/google/chrome/plugins/libflashplayer.so

Vihosa
December 9th, 2009, 03:18 PM
I have this problem, when I download and open the .deb file, it says:"Error: Wrong architecture 'i386'" What should I do?

YosefKaro
December 11th, 2009, 01:41 PM
This works great. Thank you so much :D

-Yos

aysiu
December 11th, 2009, 01:46 PM
This simple script will add the flash plugin to Chrome. I don't get why this tutorial is necessary. I just installed the Ubuntu .deb from the Adobe website and double-clicked it. That Flash plugin worked for Chrome, Opera, and Firefox. I didn't have to do anything else special to get it to work in Chrome.

I have this problem, when I download and open the .deb file, it says:"Error: Wrong architecture 'i386'" What should I do? It's probably the wrong architecture. Can you paste this command into the terminal (http://www.psychocats.net/ubuntu/terminal) and paste the output back here? uname -m

burtonbarber
December 12th, 2009, 10:35 AM
Thanks!!!! I didn't have sound with YouTube, now I do.:D

mehkidoo
May 10th, 2010, 05:15 PM
Aysiu - I have the same problem as Vihosa - Chrome isn't installing and is giving ab i386. When I pasted the text into the Terminal, I get this output:

x86_64


I'm a complete newbie, so I have no idea what this means. :P