summaryrefslogtreecommitdiff
path: root/www/linuxpluginwrapper/files/pkg-message.in
blob: 1e8e666ca9a227c606b5505218165079ffe202c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
To use the flash plugin wrapper, you first need to copy the linux flash
plugin into your mozilla directory:

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

(Note, if you are using mozilla-devel, the destination directories will be
different)

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!