Eu criei um script devilspie para reproduzir vídeos em tela cheia no Chromium e no Firefox.
Salve o seguinte snippet em um arquivo, torne-o executável e execute-o.
(Testado no Fedora Linux 19 usando o yum ao invés do apt-get)
#!/bin/bash
set -e
sudo yum install devilspie
mkdir -p ~/.devilspie
echo '(if
(or
(is (application_name) "plugin-container")
(and
(contains application_name) "chromium-browser")
(contains application_name) "flash-plugin")
)
)
(begin
(focus)
)
)' > ~/.devilspie/flash_fullscreen.ds
echo '#!/bin/bash
echo "running" > /home/maarten/devilspie.log
while [ true ]; do
/usr/bin/devilspie;
done' > ~/.devilspie/devilspie_daemon.sh
chmod a+x ~/.devilspie/devilspie_daemon.sh
mkdir -p ~/.config/autostart
echo '[Desktop Entry]
Type=Application
Exec=/home/maarten/.devilspie/devilspie_daemon.sh
Hidden=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Devilspie Daemon
Name=Devilspie Daemon
Comment[en_US]=Script will continuously restart devilspie if stopped
Comment=Script will continuously restart devilspie if stopped
' > ~/.config/autostart/devilspie_daemon.desktop