Sunday, November 30, 2014

The frigging flash plugin on fedora linux with firefox





Issue:  

  •  Install flash player on linux (since officially they arent supporting new version on linux anymore
  • make firefox work with it
  • make fullscreen work on your browser 
Solution:
install flash
 
## Adobe Repository 32-bit x86 ##
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
 
## Adobe Repository 64-bit x86_64 ##
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
 
su
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
yum -y install flash-plugin 
exit 


make web browsers detect it
copy the libflashplayer.so to 
/usr/lib64/flash-plugin   (for 64bit OS)
/usr/lib/flash-plugin     (for 32bit OS)

[Don't reboot yet]


make the fullscreen work

yum install devilspie
$ mkdir ~/.devilspie
 
create the file "~/.devilspie/flash-fullscreen-firefox.ds" and paste the content below
 
(if
(is (application_name) "plugin-container")
(begin
(focus)
)
) 
 
use gnome-session-properties to put devilspie in the autostart.