You are not logged in.

#1 2014-08-02 11:10:49

SergentPepper
Member
Registered: 2014-07-19
Posts: 10

flash in x64 midori - can we get it to work ?

Hello,

I've installed midori and I really like (little ram usage, custom shortcuts, ect). Though, I can't get flash player to work ! I have a x64 cpu + midori gtk2+ package from the official repository. I've tried :
- the midori-flash package from the aur, but it seems it does not support x64 cpu's : "This package no longer worked for i686, so I removed 'i686' from the arch array. Contributions that makes it work on i686 again are welcome."
- the epiphany flash instructions (link found on midori's wki page) https://wiki.archlinux.org/index.php/Epiphany#Flash
- redefining the plugin path with 'export MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins"'
with no success...

I though have found documentation from the elemtary OS FAQ, especially this script :

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.378/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 &&
	sudo apt-get install nspluginwrapper:i386 libnss3:i386
else
	mv libflashplayer.so ~/.mozilla/plugins/libflashplayer.so &&
	sudo apt-get install nspluginwrapper
fi &&
nspluginwrapper -a -v -n -i

But it is designed for debian distribution...

Do you think such a script could function on arch ? If it can, I would need help to adapt it, especially : how can I select the 32bits version of a package with pacman (it seems to me that the script installs the x32 version of nspluginwrapper and libnss3) ?

Thanks in advance for your help smile
SergentPepper

Offline

#2 2014-08-02 11:24:30

SergentPepper
Member
Registered: 2014-07-19
Posts: 10

Re: flash in x64 midori - can we get it to work ?

hmm, this is embarassing, but it is fixed... Actually one does not need the 32 bits nspluginwrapper, it works with the default one supplied by pacman. I will describe how i did so this topic isn't completey pointless :

- go to /usr/lib/mozilla/plugin and delete the file libflashplayer.so ( ! this step may cause flash player to bug in other browsers )

- get the 32bits version of the flash plugin (libflashplayer.so), here for example : http://fpdownload.macromedia.com/get/fl … 386.tar.gz

- extract the file libflashplayer.so from the archive and copy it to /usr/lib/mozilla/plugin

- install the package nspluginwrapper from the official repository

- run "nspluginwrapper -a -v -n -i"

- restart midori, go the the extensions settings, there you should now find the "shockwave flash" plugin

Once againm, sorry for the disturbance

Offline

Board footer

Powered by FluxBB