Chromium with Pepper Flash
Ok, so i've done the Chromium with Pepper Flash method on a couple of computers and would like to upload what worked for me. Hopefully this will save someone a couple of hours:
Chromium with Pepper Flash on Ubuntu/Mint systems:
Follow the instructions on this page to add Pepper Flash via PPA:
To add the PPA and install Adobe Pepper Flash from Google Chrome in Ubuntu (to be used in Chromium), use the following commands:
sudo add-apt-repository ppa:skunk/pepper-flash
sudo apt-get update
sudo apt-get install pepflashplugin-installer
http://www.webupd8.org/2013/04/install-pepper-flash-player-for.html
This link works wonders, but i've had issues where, upon restart of the system, Chromium would revert back to the 11.2 version flash.
The culprit was the fact that ". /usr/lib/pepflashplugin-installer/pepflashplayer.sh" got removed from "/etc/chromium-browser/default" after each restart.
I then wrote a little script to add the line of text back to the file incase the word "pepflashplayer" was not found in the file:
#!/bin/bash
if grep -q 'pepflashplayer' /etc/chromium-browser/default; then
echo
else
echo '. /usr/lib/pepflashplugin-installer/pepflashplayer.sh' | sudo tee -a /etc/chromium-browser/default >/dev/null
fi
I then saved the script to: "/home/!!YOUR-USERNAME!!/.sarsefiling/sarsefilingscript.sh"
After that, you have to add the following command to the Chromium desktop launcher:
sh -c "/home/!!YOUR-USERNAME!!/.sarsefiling/sarsefilingscript.sh && chromium-browser %U"
Please improve the scrip if you can. I tried to execute the command without user intervention, but couldn't get it working. It can probably be done easily.
Once the user launches Chromium, the script is called to check if the line of text is still in the needed file, if so, Chromium launches normally. If not, the terminal asks the user to enter their password, in order to grant permission to write the line of text to the file, and if successfull, launches Chromium with Pepper Flash.
Chromium with Pepper Flash on Debian/LMDE systems:
Debian has a package for Pepper Flash, called "pepperflashplugin-nonfree" and as of writing this post, it's still in testing.
In order to install a testing package on a stable system, you will have to change your apt repository priority:
Add the following repository to your sources:
deb
http://ftp.us.debian.org/debian/ testing main contrib non-free
Then locate "/etc/apt/preferences" and change it to:
(Note, this is for a LMDE System)
Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 900
Package: *
Pin: origin debian.linuxmint.com
Pin-Priority: 700
Package: *
Pin: release a=testing
Pin-Priority: 600
http://unix.stackexchange.com/questions/37603/enabling-apt-repository-priority-in-lmde
Refresh your package information/repository indexes.
You should then be able to install the "pepperflashplugin-nonfree"
-testing package, by running this command in terminal:
sudo apt-get -t testing install pepperflashplugin-nonfree
This package installs Chrome to make use of Pepper Flash whilst still staying within Google's usage agreements.
Hopes this helps someone
Lekker aand manne.