Charlie Harvey

Solved: iceweasel on xmonad won’t play HTML5 video fullscreen

New problem this, and it took some google-fu to find out a solution. I recently upgraded Iceweasel (the unbranded Firefox) on my Debian Jessie to the latest beta. I use xmonad as my windowmanager.

After the upgrade it was impossible to make HTML5 video go fullscreen. In fact F11 had stopped working as well. Iceweasel/Firefox became completely unresponsive and needed to be killed in order to make it work again. Super annoying.

Eventually I tracked down a solution on the Arch Linux wiki. The XMonad.Hooks.EwmhDesktops extension, which is found in the xmonad-contrib module resolves the problem.

You can just import it and then add an event hook to deal with the fullscreen event. Recompile xmonad and restart and you are good to go.

import XMonad.Hooks.EwmhDesktops ⋮ xmonad $ defaultConfig { modMask = mod4Mask , handleEventHook = fullscreenEventHook }


Comments

  • Be respectful. You may want to read the comment guidelines before posting.
  • You can use Markdown syntax to format your comments. You can only use level 5 and 6 headings.
  • You can add class="your language" to code blocks to help highlight.js highlight them correctly.

Privacy note: This form will forward your IP address, user agent and referrer to the Akismet, StopForumSpam and Botscout spam filtering services. I don’t log these details. Those services will. I do log everything you type into the form. Full privacy statement.