![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Absolute Beginner Talk The perfect starting place to find out more about computers, Linux and Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Dipped in Ubuntu
![]() |
Re: Firefox crash ONLY when clicking fullscreen youtube
Solved: load the flash plugin before firefox or swiftfox. It's a NVidia driver issue. (edit: not only... ATI users seem to benefit from this too).
Easiest fix: modify the startup script of your browser, e.g. in case of Minefield (firefox-3.6): gksudo gedit /usr/lib/firefox-3.6a1pre/firefox.sh Find your browser script in the same area, somewhere in /usr/lib/yourbrowser; (edit: other possible locations are like /usr/local/lib/firefox-3.5/firefox or for install with ubuntuzilla it is /opt/firefox/firefox; using a run-mozilla.sh file if that is available also seems to work); then add as 2nd (NOT 1st) line: Code:
export LD_PRELOAD=/usr/lib/libGL.so.1 This doesn't seem to work for 64-bit; you'll need to rightclick flash video and disable hardware acceleration (thx Garyhans). If you now have the problem that when you press full screen in youtube you see your compiz animation for opening a window, it very briefly shows video full screen (less than a second) and then the full screen window closes, then do the following (thx Danbo19): in compiz config settings manager go to Effects > Animation > Open Animation > Add and add "!(name=firefox)" (without "", but with !). ########### SCRIPT OPTION ########### If this doesn't work or you don't like this solution try the following: I couldn't get it done in a launcher command but I used the script option (copypaste in gedit and save): Code:
#!/bin/sh ## replace firefox-3.6 with what you use, e.g. firefox, firefox-3.5, swiftfox LD_PRELOAD=/usr/lib/libGL.so.1 firefox-3.6 Code:
#!/bin/sh export LD_PRELOAD=/usr/lib/libGL.so.1 /path/to/firefox sh /path/to/script Last edited by VCoolio; July 21st, 2009 at 11:30 AM.. |
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() |
Re: Firefox crash ONLY when clicking fullscreen youtube
Adding:
export LD_PRELOAD=/usr/lib/libGL.so.1 To the second line of /usr/lib/firefox-3.5/firefox.sh worked perfectly with the latest release candidate of Firefox! A big thank you! I was sick of using the Compiz enhanced zoom feature as a work around. Again, thanks! |
|
|
|
|
|
#3 |
|
Spilled the Beans
![]() Join Date: Apr 2006
Beans: 13
|
Re: Firefox crash ONLY when clicking fullscreen youtube
Finally! Thanks VCoolio.
(BTW, I have ATI, not nVidia, but still had this problem until now) |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: May 2009
Beans: 2
|
Re: Firefox crash ONLY when clicking fullscreen youtube
Thanks VCoolio! That worked for me!
![]() |
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: Feb 2008
Location: Melbourne, Australia
Beans: 97
|
Re: Firefox crash ONLY when clicking fullscreen youtube
Thanks a lot VCoolio, its unbeleivable that Mozilla didn't pick this HUGE bug up during development, come on Mozilla !! people use Firefox on other platforms other than Windows !!
|
|
|
|
|
|
#6 | |
|
Ubuntu addict and loving it
![]() Join Date: Aug 2008
Location: Caprica City
Beans: 4,894
Ubuntu 9.10 Karmic Koala
|
Re: Firefox crash ONLY when clicking fullscreen youtube
Quote:
I have compiled Firefox and it was installed at /usr/local/lib/firefox-3.5 and there is no firefox.sh there. The only similar file available is plain firefox, but it doesn't work. Do you how do I find it or if this can be done another way? |
|
|
|
|
|
|
#7 |
|
Dipped in Ubuntu
![]() |
Re: Firefox crash ONLY when clicking fullscreen youtube
search in /usr/bin or try the script option I gave as alternative.
__________________
|
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2009
Beans: 10
|
Re: Firefox crash ONLY when clicking fullscreen youtube
Many thx man!
It worked with Mozilla's Firefox 3.5 tar ball (the one downloaded from mozilla). I just added the line: Code:
export LD_PRELOAD=/usr/lib/libGL.so.1 Code:
moz_libdir=/usr/local/lib/firefox-3.5 |
|
|
|
|
|
#9 |
|
Ubuntu addict and loving it
![]() Join Date: Aug 2008
Location: Caprica City
Beans: 4,894
Ubuntu 9.10 Karmic Koala
|
Re: Firefox crash ONLY when clicking fullscreen youtube
Thank you. That worked like a charm for me too.
|
|
|
|
|
|
#10 |
|
May the Ubuntu Be With You!
![]() Join Date: Dec 2006
My beans are hidden!
|
Re: Firefox crash ONLY when clicking fullscreen youtube
simply for 3.5 did this
gksudo gedit /usr/lib/firefox-3.5/firefox.sh added line Code:
MOZDIR=$HOME/.mozilla LIBDIR=/usr/lib/firefox-3.5 export LD_PRELOAD=/usr/lib/libGL.so.1 APPVER=3.5 META_NAME= GDB=/usr/bin/gdb DROPPED=abandoned |
|
|
|
| Bookmarks |
| Tags |
| crash, firefox, fullscreen, poopie, youtube |
| Thread Tools | |
| Display Modes | |
|
|