Sunday, November 08, 2009

Karmic Koala is one of the best Ubuntu releases so far. Some reports might say otherwise, but my personal expierience says otherwise. It's not perfect, and some things are not fixed yet, at least the development is open en every 6 months a new release comes along improving upon the previous installment.

There are some things that bothered me, luckily fixes are available. First, when using the latest Eclipse some button clicks are not registered. This can be fixed by defining the following environment before starting eclipse;

GDK_NATIVE_WINDOWS=1

Second, on 64bit the flash plugin also sometimes doesn't register mouse clicks, this is even more bothersome. In Eclipse at least you could still use the keyboard, not so in flash. To fix this you need to add the above line at the beginning of '/usr/lib/nspluginwrapper/noarch/npviewer'.

6 comments:

Unknown said...

i tried your fix for 64 bit flash, didn't work for me

Dirk Dierickx said...

Are you trying to fix the issue that flash does not register mouse clicks? it should work, here is the output of 'head /usr/lib/nspluginwrapper/noarch/npviewer' (hopefully that makes it clearer);

#!/bin/sh
#
# nsplugin viewer wrapper script (C) 2005-2006 Gwenole Beauchesne
#
OS="`uname -s`"
ARCH="`uname -m`"
NPW_LIBDIR="/usr/lib/nspluginwrapper"
export GDK_NATIVE_WINDOWS=1

if test -z "$TARGET_OS"; then

Unknown said...

worked! well done and thanks

Unknown said...

At first sorry for my english.
Thanks for the solution, i've been looking for it a long time. Great job !!!

Unknown said...

Hi Dirk - just found this as iplayer wasn't working for me as I have just switched over to 64 bit Karmic

Works just fine

Thanks for the fix

Roy

Unknown said...

It annoyed me for months and now flash works on Karmic 64bit! Thank you very much!

PS.: could you please include Dirks code, or at least mention in the original post, that the GDK_.... should be inserted after "export", otherwise it wont work.