There’s a bug in the current gnome-shell 3.8.x+ with fullscreen flash videos presented in chromium and iceweasel. While youtube seems to have a workaround for the missing window focus (but only in chromium), other flash players just open the video into an invisible layer, the browser video freezes, and you’ll only hear the sound.
Works in fullscreen – does not work. The bug is described here, but seems a bit dead.
Debian Testing, d-u 2013-12-29
xorg 1.14.5-1
gnome-shell 3.8.4
chrome flash player 11.2 r202
Workaround – use a tool named devilspie and set the focus for such fullscreen events automatically as described here.
# apt-get install devilspie
$ mkdir ~/.devilspie $ cat <<EOF > ~/.devilspie/flash_fullscreen.ds (if (or (is (application_name) "plugin-container") (and (contains application_name) "chromium-browser") (contains application_name) "flash-plugin") ) ) (begin (focus) ) ) EOF
Now make sure that devilspie is started automatically in gnome 3 – either using ‘ALT + F2’ and ‘gnome-session-properties’ and adding a new entry like shown below
or add a new entry manually:
$ cat <<EOF > ~/.config/autostart/devilspie.desktop [Desktop Entry] Type=Application Exec=/usr/bin/devilspie Hidden=false NoDisplay=false X-GNOME-Autostart-enabled=true Name[de_DE]=devilspie Name=devilspie Comment[de_DE]=flash fullscreen fix Comment=flash fullscreen fix EOF
Logout/login again, or run devilspie in background using ‘/usr/bin/devilspie&’ – works again 🙂