How to make flash work in Fogger

Asked by Owais Lone

Flash does not work in Fogger. This is because Fogger is a Gtk3 app and Adobe Flash plugin is written in Gtk2. Gtk3 and Gtk2 cannot run in the same process. Flash works in Chrome and Firefox because they run plugins in separate processes. This issue will be fixed once WebKit2 comes out as it will have mechanism to run plugins in separate processes.

... but we don't have to wait for WebKit2 for Flash to work. We can use nspluginwrapper to wrap the flash plugin and run it separately. This is mostly used to run 32bit plugin on 64bit systems.

Download and extract http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.236.orig.tar.gz

Then use ndiswrapper to wrap the plugin and install it

    sudo apt-get install nspluginwrapper
    sudo nspluginwrapper -i /path/to/extracted/dir/i386/libflashplayer.so
    sudo nspluginwrapper -v -a -n -i

That should do it

Question information

Language:
English Edit question
Status:
Invalid
For:
Fogger Edit question
Assignee:
No assignee Edit question
Solved by:
Owais Lone
Solved:
Last query:
Last reply:
Revision history for this message
Owais Lone (loneowais) said :
#1

Owais Lone suggests this article as an answer to your question:
FAQ #1992: “How to make flash work in Fogger”.

Revision history for this message
Owais Lone (loneowais) said :
#2

I wanted to create FAQ but create a Question instead.

Revision history for this message
Stas Sușcov (sushkov) said :
#3

Actually if you have firefox installed (or any of the adobe-flashplugin-* packages), you should be able to use the flashplugin directly:

`
sudo apt-get install nspluginwrapper
sudo nspluginwrapper -i /usr/lib/flashplugin-installer/libflashplayer.so
sudo nspluginwrapper -v -a -n -i

Revision history for this message
Tony (ppe1700) said :
#4

None of the above works. I always get :

sudo nspluginwrapper -i /usr/lib/adobe-flashplugin/libflashplayer.so
nspluginwrapper: no appropriate viewer found for /usr/lib/adobe-flashplugin/libflashplayer.so

Same thing when downloading the new flash version from Adobe.

Any ideas?

Revision history for this message
Neil (kingfisher) said :
#5
Revision history for this message
koukourikos (ekoukourikos) said :
#6

@Tony

if you are on 64bit try installing the ia32-libs package