Fix for Flash is not recognizing mouse clicks

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


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 and script credit goes here


Add the following script

# 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
sudo wget `cat flashplayer10.html | egrep -o "http:.*"|cut -d\" -f1|grep`
ARCHIVE=`ls libflashplayer-*`
echo "Version is $ARCHIVE."
sudo tar zxvf $ARCHIVE
sudo cp /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/ /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/  /usr/lib/xulrunner-addons/plugins/
# now doing some cleaning up:
sudo rm -rf flashplayer10.html
sudo rm -rf
sudo rm -rf $ARCHIVE

Save and exit the file

Now you need to change the permissions on the script

sudo chmod 755

Run the script with the following command


Sponsored Link

Related posts

24 thoughts on “Fix for Flash is not recognizing mouse clicks

  1. I’m using the 64 bit versin and I don’t have a /usr/lib/nspluginwrapper/i386/linux/npviewer file.

  2. 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.

  3. 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!

  4. 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?

  5. 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 and my browser crashed when I openes gmail or other pages with flash movies… I think method 2 is just the same


  6. this is the contents of my npviewer file after I implemented method 1

    . /usr/lib/nspluginwrapper/noarch/npviewer

  7. 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

  8. Thanks, method 1 works great! However I also tried method 2 and that ended up making Firefox crash every time Flash loaded!

  9. 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.

  10. 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!

  11. 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!!!!!!!!!!!!

  12. 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.

  13. 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

Leave a comment

Your email address will not be published. Required fields are marked *