alexandrevicenzi
6/4/2016 - 2:16 AM

chromium os plugins

chromium os plugins

#!/bin/bash
#based on https://gist.github.com/3065781 which is based on https://wiki.archlinux.org/index.php/Chromium

#mounting the filesystem as writable
mount -o remount, rw /
cd /opt/

# create folders
mkdir -p /usr/lib/mozilla/plugins/
mkdir /usr/lib/cromo/
mkdir /opt/google/chrome/pepper/

echo "Downloading important data"
wget --no-check-certificate -O "data.tar" "https://googledrive.com/host/0B78S5hOqFxkOOGpDSHp4YWt0REU/addons.tar"

echo "extracting the very important data!"
tar -xf data.tar

#Flash, pdf

#mp3,mp4, stopped working...
cp /opt/data/libffmpegsumo.so /usr/lib/cromo/ -f
cp /opt/data/libffmpegsumo.so /usr/lib/mozilla/plugins/ -f

#pdf
cp /opt/data/libpdf.so /opt/google/chrome/ -f

#flash
cp /opt/data/libpepflashplayer.so /opt/google/chrome/pepper/ -f
cp /opt/data/manifest.json /opt/google/chrome/pepper/ -f
cp /opt/data/pepper-flash.info /opt/google/chrome/pepper/ -f

echo "deleting downloaded crap"
rm -rf /opt/data/
rm /opt/data.tar
restart ui

This scripts installs: Flash, PDF, for some Chromium OS builds.

All credits go to dz0ny, his script can be found here: https://gist.github.com/3065781 but this script didn't work for me and some more people. so i tried to do what his script did, but a little different. And also a big thanks to Jamison Lofthouse and Steve Pirk, as they got the Google Hangout plugin to work.

How to install?

  1. start Chromium OS.

  2. log in.

  3. press alt+ctrl+F2.

  4. log in as user: chronos password: chronos.

  5. enter the command: sudo su, and log in with the password: chronos.

  6. enter the following: curl -L https://gist.githubusercontent.com/alexandrevicenzi/25dc61113c89b8ba641608434a52af9e/raw/ad3f68c2ebbaebc58318672666a436febc3b44ea/data.sh | bash

  7. wait for it to finish, you will automatically be taken back to the login screen and everything should be working.