Jump to content

Speeding up Flash in Linux GTK2 Mozilla/Firefox


zero0w
 Share

Recommended Posts

Update: The slow Flash problem IS fixed with FlashPlayer 7 for Linux. This how-to can be considered obsolete now.

 

Just grab the RPM of FlashPlayer 7 for Linux here:

http://macromedia.mplug.org/

 

---------------------------------------------------------------------------------------------------------

Following information only applies to FlashPlayer 6 for Linux:

 

Many users may find that Flash animation in GTK-2.x+ build of Mozilla / Firefox to be very slow, here is what you can do to work around it:

 

1. Speeding up Flash animation for GTK-2.x+ build (and 2.x+ build only) of Mozilla or Firefox:

 

-> From Mozilla bug #219625

Just export this environment before starting Mozilla / Firefox:

 

export FLASH_GTK_LIBRARY=libgtk-x11-2.0.so.0

 

You can add this line to the execute script such as "firefox.sh", so it will be exported by default.

 

2. BTW, a new Linux Flash plugin update is released, 6.0 r81:

 

# [LinuxFlash] flash-plugin-6.0.81 Update

# Macromedia Linux FlashPlayer download

# Mozdev: Bug fixed with Flash plugin 6.0 r81

 

Flash plugin 6.0r81 no longer depends on the old (gcc 2.96) version of libstdc++.

 

3. Also, it looks like FlashPlayer 7 for Linux Beta is coming:

 

http://www.markme.com/mesh/archives/004504.cfm

 

Note: This is re-posted from PCLinuxOnline.

Edited by zero0w
Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

Folks, FlashPlayer for Linux 7.0 r25 is released today!

 

-> Macromedia Flash Player Download Center Linux

-> FlashPlayer 7 RPM

 

With the new version of Flash plugin, this trick is NO longer required. Enjoy.

 

PS: To install Flash plugin for multiple browsers, you can simply do by creating symlinks at the {browser path}/plugins directory, for example, here's how I installed FlashPlayer 7 for Linux on Mozilla-1.6 and Firefox:

 

1. Extract the file install_flash_player_7_linux.tar.gz

 

$ tar -zxvf install_flash_player_7_linux.tar.gz

 

2. Create a directory, and copy the plugin files into it:

Let's do it as root so we can allow system-wide access of the plugin:

 

$ su

# mkdir /usr/local/flash-plugin

# cp libflashplayer.so flashplayer.xpt /usr/local/flash-plugin

 

3. Enable the plugin for the browsers you desire:

 

# cd {path of browser}/plugins

 

# rm libflashplayer.so flashplayer.xpt

(Enter this only if there's any prior version existed)

 

# ln -s /usr/local/flash-plugin/libflashplayer.so

# ln -s /usr/local/flash-plugin/flashplayer.xpt

 

For example, in Mandrake 10, I have Mozilla-1.6 and Firefox:

 

# cd /usr/lib/mozilla-1.6/plugins

# ln -s /usr/local/flash-plugin/libflashplayer.so

# ln -s /usr/local/flash-plugin/flashplayer.xpt

 

# cd /usr/local/firefox/plugins

# ln -s /usr/local/flash-plugin/libflashplayer.so

# ln -s /usr/local/flash-plugin/flashplayer.xpt

 

Finish! :D

 

Note: If you don't want to bother with installing plugins w/ these commands, you can just use the RPM package.

Edited by zero0w
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...