Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I got the add-on for the Firefox OS simulator, and it works great! It even keeps functioning after Firefox is closed, so I can save processing power for other things.

I'd like to run it as a standalone application, so that I don't even have to open Firefox in the first place.
I've gone to the System Monitor, and it says that the process (I guessed which by CPU usage and filename) was started via /home/james/.mozilla/firefox-trunk/vkuuxfit.default/extensions/ 3386 true tab, so I tried running that in the Terminal (after I'd closed the simulator, of course,) but it gives this:

james@james-OptiPlex-GX620:~/.mozilla/firefox-trunk/vkuuxfit.default/extensions/$ ./plugin-container 3386 true tab
./plugin-container: error while loading shared libraries: cannot open shared object file: No such file or directory

What should I do? Is what I'm attempting even possible? (It should be, since the simulator kept running even after Firefox itself was closed...)

NOTE: I've tried chmod u+sx plugin-container, but that didn't help.

share|improve this question


I figured it out! Turns out that there's a special version of it designed to be run by itself. (As soon as I posted the question, I began to do some research myself. I found what I needed.)

I've made an installation script, if anybody wants it:
People with 64-bit computers, please open it with a text editor and follow the comment instructions.

To uninstall, type

sudo rm -R /opt/b2g  
sudo rm /usr/bin/b2g
sudo rm /usr/share/applications/b2g.desktop

You're welcome!

Better Way:

At the terminal, run

~/.mozilla/firefox-trunk/{PROFILE_NAME}/extensions/ -profile ~/.mozilla/firefox-trunk/{PROFILE_NAME}/extensions/

...change linux64 to linux if on a 32-bit machine.

I have mine set up where ~/.mozilla/firefox-trunk/{PROFILE_NAME}/extensions/ is a symbolic link to /usr/lib/b2g, and a simple launching script has been written at /usr/bin/b2g.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.