This is work around for Bug#410407
Procedure to follow
Method 1
First you need to edit /usr/lib/nspluginwrapper/i386/linux/npviewer file from terminal
gksudo gedit /usr/lib/nspluginwrapper/i386/linux/npviewer
Add the following line before the last line of text
export GDK_NATIVE_WINDOWS=1
Save and exit the file
Note:- when you try to upgrading your system next time you need to revert back the changes
Method 2
Note:-- Using this script might break your system
Create a file called flashclickfix.sh and script credit goes here
gedit flashclickfix.sh
Add the following script
#!/bin/bash # Script created by # Romeo-Adrian Cioaba [email protected] # Jaša Bartelj [email protected] echo "Stopping any Firefox that might be running." sudo killall -9 firefox echo "Removing any other flash plugin previously installed." sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper sudo rm -f /usr/lib/mozilla/plugins/*flash* sudo rm -f ~/.mozilla/plugins/*flash* sudo rm -f /usr/lib/firefox/plugins/*flash* sudo rm -f /usr/lib/firefox-addons/plugins/*flash* sudo rm -rfd /usr/lib/nspluginwrapper echo "Installing Flash Player 10." sudo cd /tmp sudo wget http://labs.adobe.com/downloads/flashplayer10.html sudo wget `cat flashplayer10.html | egrep -o "http:.*"|cut -d\" -f1|grep linux-x86_64.so.tar.gz` ARCHIVE=`ls libflashplayer-*.linux-x86_64.so.tar.gz` echo "Version is $ARCHIVE." sudo tar zxvf $ARCHIVE sudo cp libflashplayer.so /usr/lib/mozilla/plugins/ echo "Linking the libraries so Firefox and apps built on XULRunner can find it." sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/ sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/ # now doing some cleaning up: sudo rm -rf flashplayer10.html sudo rm -rf libflashplayer.so sudo rm -rf $ARCHIVE
Save and exit the file
Now you need to change the permissions on the script
sudo chmod 755 flashclickfix.sh
Run the script with the following command
sh flashclickfix.sh
Thanks,
Is this x86 or 64 or both?
Cheers
Paul
I have tried under x86 it worked and i didn’t try on 64
I’m using the 64 bit versin and I don’t have a /usr/lib/nspluginwrapper/i386/linux/npviewer file.
I have now implemented the script into file and it works flawlessly. Simple & easy short tutorial that fixed the bug with flash.
Ubuntu 9.10, Shiretoko 3.5.5, x64 works OK.
(if there will appear some errors, I will let you know)
Thanks Ubuntu Geek for the nice amount of fixes to the great Ubuntu 9.10.
I had this working under Wubi install but under standard install there is no i386 directory or npviewer file.
Unistalled Wubi version and fresh installed purely because of this fix.
Fix would be appreciated!
Thanks for this.
I still have an issue where npviewer.bin dies and I have to kill and restart firefox to enjoy youtubage sometimes. does anyone know how to resolve this bad boy?
The npviewer file is empty with me
It worked on x64, thanks!
For me didnt work, dont have the folder:
../i386/linux/npviewer
Not working for me, npviewer is empty 🙁
method 1 worked great for me!
i’m using Ubuntu 9.10 64 bits
by the way, I didnt try method 2 but I tried downloading the unstable version of flasplayer plugin for linux 64 bits from adobe.com and my browser crashed when I openes gmail or other pages with flash movies… I think method 2 is just the same
regards
this is the contents of my npviewer file after I implemented method 1
#!/bin/sh
TARGET_OS=linux
TARGET_ARCH=i386
export GDK_NATIVE_WINDOWS=1
. /usr/lib/nspluginwrapper/noarch/npviewer
It worked, thanks!
i just used the flash 64bit version from the ppa here https://launchpad.net/~sevenmachines/+archive/flash easy fix for 64-bit pc’s. works perfectly now =)
after execution of the script, flash do recognize mouse clicks, however, youtube videoa were gone. The flash player does not appear to work now, all other flash apps are working. please help
Thanks, method 1 works great! However I also tried method 2 and that ended up making Firefox crash every time Flash loaded!
I tried method 1, and it did not work. I wanna try method 2, but I am afraid it will break my system. What exactly is the risk of method 2. To me it just looks like it removes a buncha plugins downloads flash player, and makes some symbolic links. Yet I am kind of a beginner so I am not sure and dont wanna risk anything.
thx, worked after rebooting system!
Used method 1. Running Ubuntu 9.10 64-bit. Using 32-bit flash with Chromium. Worked great! This has been bugging me for so long. Thanks a ton!
That is Fantastic. THANKYOU. This has been pissing me off for time! Method 1 is the 1!
cant believe it thanks so much i have tried everything been looking and trying for 2 days was about to install a different linux THANKSABUNCH!!!!!!!!!!!!
Used method 1 on Ubuntu 10.04 64-bit, using 64bit flash. Works perfectly
Using Method 1, but a little quicker technique. Execute fr Terminal:
sudo echo “export GDK_NATIVE_WINDOWS=1” >> /usr/lib/nspluginwrapper/i386/linux/npviewer
Method 1 works on 10.04/amd64 (64-bit), with “flashplugin-nonfree” fr Synaptic Package Manager already installed.
I tried to do this: Using Method 1, but a little quicker technique. Execute fr Terminal:
sudo echo “export GDK_NATIVE_WINDOWS=1? >> /usr/lib/nspluginwrapper/i386/linux/npviewer
Method 1 works on 10.04/amd64 (64-bit), with “flashplugin-nonfree” fr Synaptic Package Manager already installed.
But I get message that I dont have permission to do that:(
T. New To Linux