Sunday, July 27, 2014

How to get FLASH player working in Chrome browser - Ubuntu/Mint

How to install Pepper Flash for Chromium browser in Ubunutu/Mint

Installing flash plugin for Chrome Browser can be a nightmare. There are easier ways to install them for FireFox and other browsers.

One choice is download the .tar.gz file from ADOBE and set it up in chrome-browser/plugin directory (.so and usr)

That does not go well all the time. There seems to be some minor changes in different flavors of LINUX and causes some trouble

Easier solution will be use PPA. Here's how we can do it

sudo add-apt-repository ppa:skunk/pepper-flash
sudo apt-get update
sudo apt-get install pepflashplugin-installer

Now that the automatic stuff is over, lets do a little manual one, this one easy too

Locate file "default" in /etc/chromium-browser/ and open it. You may need to use "sudo" previlege

Add the following line to the file
. /usr/lib/pepflashplugin-installer/

The file will probably look like the following after your edit (in LINUX Mint)

# Default settings for chromium-browser. This file is sourced by /bin/sh from
# /usr/bin/chromium-browser

# Options to pass to chromium-browser
CHROMIUM_FLAGS="--disable-new-tab-first-run --enable-user-scripts"

# part for pepperflashplugin-nonfree : begin


if [ -f $flashso ]
        flashversion=`strings $flashso|grep ^LNX|sed -e "s/^LNX //"|sed -e "s/,/./g"`
        CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=$flashso --ppapi-flash-version=$flashversion"

. /usr/lib/pepflashplugin-installer/
# part for pepperflashplugin-nonfree : end

Good luck and let me know how things went for you. It worked well for me