Tuesday, February 23, 2010

How to fix mouse click problem on flash player 64 bits with Ubuntu 9.10

I just write here some informations I found on the web. On my Linux Ubuntu 9.10 64 bits, the flash plugin sometimes doesn't register mouse clicks. To fix it, edit the following file by doing :

sudo gedit /usr/lib/nspluginwrapper/noarch/npviewer

and add this export

export GDK_NATIVE_WINDOWS=1

like this

#!/bin/sh
#
# nsplugin viewer wrapper script...
OS="`uname -s`"
ARCH="`uname -m`"
NPW_LIBDIR="/usr/lib/nspluginwrapper"
export GDK_NATIVE_WINDOWS=1

if test -z "$TARGET_OS"; then
...

Enjoy!

No comments: