Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: workaround for flash mouse problem (bug #410407)

  1. #1
    Join Date
    Sep 2006
    Beans
    24
    Distro
    Xubuntu

    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

  2. #2
    Join Date
    Aug 2006
    Beans
    Hidden!

    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'

  3. #3
    Join Date
    Dec 2006
    Beans
    717
    Distro
    Xubuntu 13.04 Raring Ringtail

    Cool Re: workaround for flash mouse problem (bug #410407)

    Quote Originally Posted by Cyan_Fire View Post
    ...

    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.

  4. #4
    Join Date
    Nov 2009
    Beans
    2

    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
    Last edited by robau; November 3rd, 2009 at 01:12 PM.

  5. #5
    Join Date
    Sep 2006
    Beans
    24
    Distro
    Xubuntu

    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).

  6. #6
    Join Date
    Apr 2009
    Location
    Dallas, TX
    Beans
    19
    Distro
    Ubuntu 9.10 Karmic Koala

    Unhappy 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

  7. #7
    Join Date
    Sep 2006
    Beans
    24
    Distro
    Xubuntu

    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.

  8. #8
    Join Date
    Oct 2008
    Beans
    23

    Re: workaround for flash mouse problem (bug #410407)

    Thanks! Worked like a charm.

  9. #9
    Join Date
    Dec 2005
    Location
    Greece
    Beans
    436

    Re: workaround for flash mouse problem (bug #410407)

    Quote Originally Posted by robau View Post
    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

  10. #10
    Join Date
    May 2009
    Beans
    28

    Re: workaround for flash mouse problem (bug #410407)

    Thanks Cyan! Did the trick nicely!

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •