Here is the BIG secret: Install it exactly as if you were using Firefox! *gasp*
- Go to addons.mozilla.org.
- Search for the Add-on you want.
- Install the Add-on and restart Flock.
#!/bin/bash
OLDIFS=$IFS
FOLDERLIST="
/usr/lib/xulrunner-addons/plugins
/usr/lib/totem/default
/usr/lib/flashplugin-nonfree"
if [ ! -d ~/.flock/plugins ];
then
mkdir -p ~/.flock/plugins/
fi
for a in $FOLDERLIST; do
if [ -d "$a" ]; then
printf "\n$a plugins found, linking\n"
for i in `ls -1 $a | grep -E 'so|xpt'`;
do
if [ -f "$a/$i" ]; then
rm -f ~/.flock/plugins/$i;
ln -s $a/$i ~/.flock/plugins/$i;
printf "linking $i into ~/.flock/plugins\n"
else
printf "$i is a symlink, skipping\n"
fi
done
fi
done
if [ -z `cat /etc/ld.so.conf.d/* | grep xul` ]; then
printf "
Xul dependency not in path. Please paste these lines to fix:
sudo echo "/usr/lib/xulrunner" > ~/xul.conf
sudo mv ~/xul.conf /etc/ld.so.conf.d/xul.conf
sudo ldconfig
"
fi