How to solve the problems with Flash on Ubuntu 10.04.1 (64bit) when Compiz is enabled

Discussion in 'Desktop Operation' started by Hans, Sep 21, 2010.

  1. Hans

    Hans Moderator

    When you run Ubuntu 10.04.1 64 bit with Compiz enabled, you'll notice that You can't control the buttons anymore whitin the flashplayer. To solve this problem, do the following:

    1. Start a Terminal window.
    2. Type: cd /usr/lib/nspluginwrapper/i386/linux/
    3. Type: sudo mv npviewer.bin npviewer.bin.real
    4. Type: sudo pico npviewer.bin
    5. Add these two lines of text to the file, i.e. Pico:
    #!/bin/sh
    GDK_NATIVE_WINDOWS=true /usr/lib/nspluginwrapper/i386/linux/npviewer.bin.real $*
    6. Press "Ctrl+x" to exit and save.
    7. Type: sudo chmod 755 npviewer.bin

    That's it!
     

Share This Page