Fullscreen flash in firefox 3.5

Firefox 3.5 crashes when trying to view a flash video in fullscreen.
Not to worry, for there is a workaround.

in /usr/lib/firefox-3.5.1pre/firefox.sh

EDIT: the path on Fedora 11 is: /usr/lib/firefox-3.5/run-mozilla.sh
you add export LD_PRELOAD=/usr/lib/libGL.so.1 at the beginning of the file, but underneath #!/bin/sh

So it looks like this:

#!/bin/sh
#fix the goddamn flash bug.
export LD_PRELOAD=/usr/lib/libGL.so.1

# Firefox launcher containing a Profile migration helper for
# temporary profiles used during alpha and beta phases.

Save, and try out some flash video in fullscreen.

This should work for Archlinux, Fedora and Ubuntu. The path to firefox.sh might vary though.

Workaround taken from https://bugs.launchpad.net/firefox/+bug/333127/comments/13