workaround for flash mouse problem (bug #410407)
Just wanted to post this here for everyone's benefit (and hopefully less spam in the bugreport).
In comment #143, Edward posted a workaround which works for me as well as others. However, I have an alternative workaround which doesn't involve creating files that the package manager won't know about (bad thing):
Edit /usr/lib/nspluginwrapper/i386/linux/npviewer to include a line, "export GDK_NATIVE_WINDOWS=1".
Step-by-step instructions:
1) Run "gksudo gedit /usr/lib/nspluginwrapper/i386/linux/npviewer" with Alt-F2.
2) Add the "export GDK_NATIVE_WINDOWS=1" immediately before the last line of text.
3) Save and exit.
You should then be golden! Please post here if it doesn't work. Also, please remember to revert the npviewer script to its original state when next upgrading your system.
For reference, my npviewer script looks like:
Code:
#!/bin/sh
TARGET_OS=linux
TARGET_ARCH=i386
# dgt 02 Nov 2009
export GDK_NATIVE_WINDOWS=1
. /usr/lib/nspluginwrapper/noarch/npviewer
Re: workaround for flash mouse problem (bug #410407)
I was experiencing the same issue with iceweasel on debian.
to workaround i would execute the following command:
Code:
GDK_NATIVE_WINDOWS=TRUE iceweasel
as a semi-permanant fix, i created an alias in my ~/.bashrc file
Code:
alias iceweasel='GDK_NATIVE_WINDOWS=TRUE iceweasel'
Re: workaround for flash mouse problem (bug #410407)
Quote:
Originally Posted by
Cyan_Fire
...
Code:
#!/bin/sh
TARGET_OS=linux
TARGET_ARCH=i386
# dgt 02 Nov 2009
export GDK_NATIVE_WINDOWS=1
. /usr/lib/nspluginwrapper/noarch/npviewer
Worked for me - Thanks :)
The original worked as well but this is less to change.
Re: workaround for flash mouse problem (bug #410407)
I took this script, it fixes the firefox flash stuff by downloading the latest version from adobe itself
Code:
#!/bin/bash
# Script created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
# Jaša Bartelj jasa.bartelj@gmail.com
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
Re: workaround for flash mouse problem (bug #410407)
Hi robau,
I don't personally recommend using that script as it performs filesystem operations without the package manager's knowledge. This can leave your system in an inconsistent state.
It's also downloading the 64-bit Alpha from Adobe, which works for some people, but not others (including me... I get crashes on some flash websites).
Re: workaround for flash mouse problem (bug #410407)
I am also experiencing this problem with Ajax. I have replicated the issue on multiple machines, but primarily with firefox. I have yet to experience the issue with Opera or Chromium.
This fix does not resolve my issue.
Matt
Re: workaround for flash mouse problem (bug #410407)
Hi mwolfgang,
That's probably a different issue. I haven't had a problem with AJAX mouse recognition at all. You should probably file a separate bug report.
Hope it helps.
Re: workaround for flash mouse problem (bug #410407)
Thanks! Worked like a charm. :D
Re: workaround for flash mouse problem (bug #410407)
Quote:
Originally Posted by
robau
I took this script, it fixes the firefox flash stuff by downloading the latest version from adobe itself
Code:
#!/bin/bash
# Script created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
# Jaša Bartelj jasa.bartelj@gmail.com
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
It works! Thanks, Nikos
Re: workaround for flash mouse problem (bug #410407)
Thanks Cyan! Did the trick nicely! :D