I must thank MrPantucci for making me aware of this. The solution comes from the official bug report for this issue.
Ready?
- Hit ALT+F2 and enter
- gksudo gedit /usr/lib/nspluginwrapper/i386/linux/npviewer
- add the following line BEFORE the last line of text
- export GDK_NATIVE_WINDOWS=1
- Save.
- Restart any applications using flash
Originally Posted at OMG Uuntu
it doesn't work, the gedit opened an empty file, there not text there.
ReplyDeleteanyway after i paste
"export GDK_NATIVE_WINDOWS=1"
and click save
this message appeared.
"Could not find the file /usr/lib/nspluginwrapper/i386/linux/npviewer."
please help...
strange thing is, flash always seem to work in firefox, but not in chrome. why is this?
hey try just running it from the terminal...
ReplyDeletesudo nano /usr/lib/nspluginwrapper/i386/linux/npviewer
this is what mine looks like (works GREAT)
#!/bin/sh
TARGET_OS=linux
TARGET_ARCH=i386
export GDK_NATIVE_WINDOWS=1
. /usr/lib/nspluginwrapper/noarch/npviewer
R@YMOŊÐ, the path is different in 64 bit ubuntu. I got that too - its what happens when you try to edit a file that doesn't exist (yet).
ReplyDeleteTry instead sudo gedit /usr/lib64/nspluginwrapper/i386/linux/npviewer.
wow, thanks for the quick responce :-)
ReplyDeleteHaze: after i type that in the terminal, it kindda hang. some weird symbols came out and it stop responding. I can still type stuff in the terminal but nothing happens
Chris: i installed 32bit ubuntu 9.10. but to be sure i went to check. in "system monitor", under the system tab, it says my system is running Linux Mint 8 helena. I feel strange, is it because i installed the mint menu? is this why the sudo stuff above dont work?
Thanks, it also works on Kubuntu x64
ReplyDeleteI'm also on 32-bit 9.10 and that file doesn't exist for me either.
ReplyDeleteWorks awesome on ubuntu 9.10 64 bit edition. Now i can play games that require clicks and watch youtube videos
ReplyDeleteNot everyone has nspluginwrapper, in fact, most probably don't.
ReplyDeleteTry adding it to /etc/environment.
WOW!
ReplyDeletevery wonderful. Thanks for sharing this!
BR
Husain
Thanks! That worked perfectly.
ReplyDeleteThanks man. Works great. This was really bugging me to.
ReplyDeleteVery helpful - thanks!
ReplyDeleteOne note: I couldn't get it to work after restarting Firefox several times. I had to restart Ubuntu itself. Now it works like a charm!
Thanks a bunch.
ReplyDeleteThank you! it worked :D
ReplyDeleteThanks from Italy!
ReplyDeleteThanks..
ReplyDeleteyou saved my day!
wow, thanks alot.. i was about to give up on linux lol
ReplyDeleteThanks a lot!
ReplyDeleteThis works on my 64-bit PC too! (Flash must be calling the i386 script then even though the machine is 64-bit Ubuntu 9.10)
thanks
ReplyDeleteit works on my Mandriva 2010
but this should be included by default
hope they fix this in new releases
awesome awesome awesome, I've converted so many friends to Ubuntu, but one thing they always moan about is flash (with compiz). Now I can fix it for them :D Thank you!
ReplyDeleteyou are such a star!
ReplyDeleteThank you!
Thanks ubuntu 10.04 x64 Beta 1
ReplyDeleteA-ok!
Thumbs up!
ReplyDeleteIt works on Google Chrome/Chromium on Ubuntu 10.04 Beta 64-bit.
Thank You so much! :-*
ReplyDeleteThis comment has been removed by the author.
ReplyDeletei did the command from te console and on Ubuntu 10.04 64bit it works!! YES you make my day.
ReplyDeleteWhy is this bug not solved on 10.04???? itś more than a 6 months now for me and the solution is not that difficult.
anyway thanks
Thanks this solved the problem perfectly
ReplyDeleteThis worked great for me too! Thanks a ton!
ReplyDeleteThanks a lot! :)
ReplyDeleteHere here. I have the 64b version, and /usr/lib64/nspluginwrapper/i386/linux/npviewer
ReplyDeletealready had the line you suggested. I added it also to /usr/lib/nspluginwrapper/i386/linux/npviewer and now flash buttons finally work.
One thing though, why do people still use the 32b version of Ubuntu? I'm thinking most people have a 64b processor by now.
Hey thanks for the great work. It workes very good. :D
ReplyDeleteThumbs up
works...thanks
ReplyDeleteYou saved my mental health, I was becoming crazy!!! Thanks
ReplyDeleteWorks perfectly! First I also got just an empty gedit but i just installed nspluginwrapper from Synaptic and then we are making magic! :)
ReplyDeleteWorks great on Ubuntu 10.04 LTS 64 bit
ReplyDeleteThanks
works on Mandriva 2010 64-bit. Thanks! - it was a headache...
ReplyDeleteWorks on Mandriva 2010.1! Thanks!!!
ReplyDeleteThanks :)
ReplyDeleteI love you xD I have had this problem for months and now it's solved, your fix works great!!!
ReplyDelete(Ubuntu 9.10 64bit)
works like a charm here, thats the solution i was looking for...
ReplyDeleteUbuntu 10.04 64bit here(installed the plugin adobe flash with the manage plugin)...
thx a lot
ReplyDeleteworks on lucid lynx
easy
thanks, mate!
ReplyDeleteYOU ROCK!
ReplyDeletethis solution doesn't work on 32bit versions, i'm using Ubuntu 9.10 32bit and Chrome Browser. I've latest flash player plugin installed 10.1.102
ReplyDeleteany ideas?
@Fido I think it doesn't work because chrome now has native support for flash, it doesn't use the system flash plugin
ReplyDelete