Skip to content

Instantly share code, notes, and snippets.

View TomKellyGenetics's full-sized avatar
🗾
In Japan

Tom Kelly TomKellyGenetics

🗾
In Japan
View GitHub Profile
@TomKellyGenetics
TomKellyGenetics / install_flash_for_midori.sh
Last active February 24, 2016 21:48 — forked from lewisgoddard/install_flash_for_midori.sh
This one single method will work in both 64bit and 32bit systems by using the 32bit flash natively, or emulating it. Either way, it uses nspluginwrapper, which will pull in a lot of libraries (packages), but most of them should be quite small. You can download and execute this file or just copy and paste the whole block into your terminal, then …
clear &&
echo 'Installing Flash for Midori' &&
read -p 'Press Enter to continue, or abort by pressing CTRL+C' nothing &&
mkdir -p ~/.mozilla/plugins &&
wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.569/install_flash_player_11_linux.i386.tar.gz &&
tar -zxvf install_flash_player_11_linux.i386.tar.gz libflashplayer.so &&
rm install_flash_player_11_linux.i386.tar.gz &&
if [ $(getconf LONG_BIT) = '64' ]
then
mv libflashplayer.so ~/.mozilla/plugins/libflashplayer.32.so &&