:::: MENU ::::
Posts tagged with: gnome

Fix Firefox fullscreen video bug on Gnome 3

Does this sound like a familiar scenario?: You’ve found your favourite Seinfeld clip, you’ve waited for it to buffer, you’ve clicked fullscreen mode, swiftly alt-tabbed to check your mail (the thousandth time today), switched back into Firefox, clicked fullscreen again, only to find the comedy genius’ face has vacated your screen, or frozen, glass-eyed and unanimated, as the sound plays on? Seinfeld may be impossible to dislike, but this bug certainly isn’t.

Seinfeld clip on TouTube screenshot

Seinfeld’s “The Deal” in Firefox

To put the problem another way, fullscreen video only works the first time it’s attempted, and thereafter fails to show any images at all.

After what feels like years of suffering from this bug, a newbie Fedora convert last week encouraged me to cure the itch. Here’s how to fix it, adapted from Mozilla’s guide for Ubuntu.

The fix

  1. Press the meta (aka “windows”) key then type terminal.
  2. Open the terminal app, then type or paste:

    sudo gedit /usr/share/applications/firefox.desktop

  3. Enter your password, hit enter.
  4. Scroll to the bottom of the text in the editor that should have opened (that’s Gedit), and look for the line that reads Exec=firefox %u
  5. Replace it with this:

    Exec=env LD_PRELOAD=/usr/lib/libGL.so.1 firefox %u

  6. Then save it (ctrl + s), and close gedit (file menu -> close).
  7. Now restart Firefox and the problem should be solved.

Explanation

What we do here is basically change the command that Linux uses to run Firefox. Instead of running it directly (%u means use the same window if new links are opened, instead of creating new ones), we preload a graphics library first (libGL). That graphics library handles the fullscreen switching properly.

Good luck!


How to fix Fedora 19 “unlockable lockscreen” bug

The problem

So you’re using Fedora 19, you update yum one day, and a few days later you find some strange lockscreen behaviour. The look of your lockscreen has changed – a different background colour, clock size, and password box positioning. So far so good. But wait, why does a second lockscreen appear after you shoo away the first? Why can’t you type your password to the input field? Why can’t you get back to your desktop and unsaved work? Continue Reading