summaryrefslogtreecommitdiff
path: root/www/linuxpluginwrapper/files/pkg-message.in
blob: 38071922e984fb47fb1eb3c20fb70cf288d43944 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
If you are using a Mozilla browser, you first need to copy the linux
flash plugin into the mozilla plugins directory:

# cp %%LOCALBASE%%/lib/flash/libflashplayer.so \
    %%X11BASE%%/lib/browser_plugins/libflashplayer_linux.so
# cp %%LOCALBASE%%/lib/flash/ShockwaveFlash.class \
    %%X11BASE%%/lib/browser_plugins/

Next, change the Mozilla startup script, %%X11BASE%%/bin/mozilla
to have:

LD_PRELOAD=%%PREFIX%%/lib/libflashplayer.so.1
export LD_PRELOAD

at the top of it (but after #!/bin/sh).  Now start mozilla and go to
'about:plugins' and the flash plugin is enabled!