Hi, I've just installed Flock on Ubuntu Linux 7.10, where I was previously using Firefox. I'm having trouble getting the Totem media plugin installed (it worked perfectly on Firefox).
Flock seems to have automatically detected the libflashplayer.so and libjavaplugin_oji.so plugins automatically, without them needing to be copied to the plugins folder. The only file in the plugins folder when I started was libnullplugin.so. These three plugins are the only ones displayed in about:plugins.
I have copied all of the files from /usr/lib/firefox/plugins to my ~/.Flock/plugins folder, but with no success. The about:plugins page has not changed and media requiring totem says I need to install a plugin then sends me to windows media player. I have restarted flock and also my computer. Help?!









nik
install plugin 'media player connectivity'
it searches players installed on computer n opens media in external player
u can find it here
https://addons.mozilla.org/en-US/firefox/addon/446
chezzo
but this shouldn't be necessary! the totem plugin works fine in firefox, so why can't i get it to work in flock?!
chezzo
thank you so much! worked perfectly!
chezzo
unfortunately this no longer seems to work for the Totem plugins with Ubuntu 8.04, perhaps because of the presence of the Firefox 3 beta. Although Totem still works fine in Firefox (2 and 3), the plugin files don't seem to be in any of the folders such as /usr/lib/firefox/plugins, usr/lib/firefox-3.0b5/plugins, usr/lib/mozilla/plugins or usr/lib/mozilla-firefox/plugins
I've tried copying and linking from /usr/lib/totem/default, /usr/lib/totem/xine and /usr/lib/xulrunner-addons/plugins but none of these have worked!
(The above method still works fine for other plugins such as Helix and Shockwave)
Cyrus
Chezzo see (http://www.flock.com/node/61855)
chezzo
thanks, i've replied on there
how irritating!
Jen Anderberg
Hi everyone,
My apologies for our delay in addressing this issue. One of senior developers is working on this now and will hopefully have a solution for this in the next day or so.
Thanks for your patience.
Jen Anderberg
Community Support Lead
jen at flock dot com
Jen Anderberg
So, here's the latest news on this issue:
Please do the following:
Save the script shown on http://pastebin.com/f7c987cc8 to a file
Rename it to flockplugins.sh
Then do bash flockplugins.sh
and follow the remaining messages it outputs.
When you open Flock again after this, you should have flash, totem plugins, and xulrunner addons- provided that those are present for Firefox. Please let me know if you need any other specific add-ons, and we can go from there.
Thanks again,
Jen Anderberg
Community Support Lead
jen at flock dot com
chezzo
thanks, but all i got was this...
: command not foundne 7:
flockplugins.sh: line 11: syntax error near unexpected token `fi'
'lockplugins.sh: line 11: `fi
:s
chezzo
oh, and other plugins which would be useful:
Helix (found for me at /usr/lib/helix/player/mozilla/nphelix.so)
GJC (/usr/lib/jvm/java-6-openjdk/jre/lib/i386/gcjwebplugin.so)
thanks :)
Cyrus
@Jen - are these Firefox 2 specific plugins? or will this also work if using Flock 1.2 and have Firefox 3 (pre installed with Ubuntu). If they are FF3 specific then I will download Flock 2 alpha :)
There going in to my .flock/plugin folder which is great but under about:plugins i just have "Shockwave Flash
File name: /usr/lib/flashplugin-nonfree/libflashplayer.so
Shockwave Flash 9.0 r124"
Thanks for the help and pass a thanks to the dev that wrote this :)
Cyrus
@Jen - Doesn't matter, I tried it with 1.2 and 2preAlpha and it still asked me to install missing plugins :( both removing Flock and .Flock folders and starting clean under Ubuntu 8.04
niadh
The script has imported some sort of rhythmbox iTunes plugin, as for java, it's not worked yet. I followed the instructions about copying the xulrunner.conf file, but after doing that I still do not have java. In fact after copying the xul.conf file, I re-ran the script to check if it now worked, it just kept telling me to run the commands over and over.
It's a good start, but Java is the one I really wanna get working.
Thanks
chezzo
i don't understand how people are getting this to work, i'm just getting that error message
but anyway, actually looking at the script, all it is doing is symlinking from plugin folders such as /usr/lib/totem/default to the flock plugins folder i.e. the old solution to the problem which doesn't work any more
see my post from april 26th - "I've tried copying and linking from /usr/lib/totem/default, /usr/lib/totem/xine and /usr/lib/xulrunner-addons/plugins but none of these have worked!"
Aaron
*chezzo: if you look a little further down, the script is doing one step more than "basic symlinking".
ld.so.conf doesn't search /usr/lib/xulrunner by default, so that means the plugins can't find the dependencies that are in that folder, and fail.
The last few lines of the script offer 3 commands to add those lines, and fix that. If you don't run those commands, it very likely won't work.
This could all easily be done by hand, but this method makes it easier to rebuild the list if anything gets updated. If you would like to add those other plugins, add them to the FOLDERLIST variable near the top of the script.
*niadh: correct. I'm working with a stock ubuntu 8.04 install, and i haven't added java to mine.
If i had, i would've add the path to the java plugin to the FOLDERLIST variable near the top of the file (one line per path). I encourage you to do that if you know it's location, otherwise I'll paste a new script up soon.
*cyrus: Sorry, this fix is JUST for flock 2.0+. Flock 1.2 is still using the firefox 2.x plugins, and isn't compatible with the FF3 plugin sets.
chezzo
ooh ok, sorry, i wondered what all that stuff meant...
but yeah, still not working for me anyway, still just getting
: command not foundne 7:
flockplugins.sh: line 11: syntax error near unexpected token `fi'
'lockplugins.sh: line 11: `fi
which sounds like it's finding errors in the script?
Aaron Greengrass
*chezzo
Did you download the script or just copy and paste?
Copy and paste may have introduced errors if so, there's a download button on the pastebin page, i recommend trying that now.
chezzo
i didn't copy and paste... i downloaded it to my home folder, changed the name, then ran "bash flockplugins.sh" and that was the message i got :s
Aaron Greengrass
*cheezo:
that's very strange. I just tried it here, and it worked without issues.
please copy from the #!/bin/bash line all the way to #END into a file, then trigger it using this command:
bash MYFILENAME
and let me know what happens.
Thanks!
#!/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
# END
Cyrus
@Aaron - I tried it with the Flock 2.0 Pre Alpha and it didnt pick them up...they were copied to the .flock/plugins folder but flock still asked to "install missing plugins"
chezzo
thanks, that worked! for some reason the one i was downloading didn't have the last line...
yeah, doesn't actually work because i'm using 1.2, but it's definitely doing what it's meant to :)
Aaron Greengrass
Cyrus: run the flock binary from the commandline please, and let me know what output you see. It may be we're missing a dependency on your machine.
Oh, and did you do the 3 steps at the bottom? Those don't happen by themselves, since they are root-level activities.
niadh
I believe I do have java, but i can wait until the new script is up. Thank you for your dedication to attempting to solve this problem. It is appreciated.
Cyrus
@ Aaron : here is my terminal output plus the steps i took.
1. Downloaded fresh Flock 2 Alpha
2. Moved Flock 1.2 folder plus .flock to another folder
3. Extracted Flock2alpha
4. Opened from Terminal and visited the below website
Website - http://www.zshare.net/audio/12396880c621c426/
Cyrus@SubZero:~/flock$ ./flock
[08:49:41.627 flock:webServiceManager:error] Can not instantiate the service because it doesn't implement flockILoginWebService
LoadPlugin: failed to initialize shared library libXt.so [libXt.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library libXext.so [libXext.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library /usr/lib/xulrunner-addons/plugins/libnullplugin.so [libxul.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library /usr/lib/xulrunner-addons/plugins/libunixprintplugin.so [libxul.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library /usr/lib/totem/gstreamer/libtotem-basic-plugin.so [libxul.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library /usr/lib/totem/gstreamer/libtotem-complex-plugin.so [libxul.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library /usr/lib/totem/gstreamer/libtotem-cone-plugin.so [libxul.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library /usr/lib/totem/gstreamer/libtotem-gmp-plugin.so [libxul.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library /usr/lib/totem/gstreamer/libtotem-mully-plugin.so [libxul.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library /usr/lib/totem/gstreamer/libtotem-narrowspace-plugin.so [libxul.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library /usr/lib/jvm/java-6-openjdk/jre/lib/i386/gcjwebplugin.so [libxul.so: cannot open shared object file: No such file or directory]
Hope this helps, any more testing just give me a shout am always happy to help.
Cyrus
P.S. Running Ubuntu 8.04 (fully updated) and I ran the last part of the code, before running Flock 2. :)
skaboobie
I got the Java plugin working under Ubuntu 8.04. Please see:
http://flock.com/node/62266
chezzo
this solution needs to be added to the faq!
Ben
Bump - I cut and pasted, after having Exactly the same problem
it ran fine - last line is missing from the downloaded file!
Crazy.