Firefox refuses to start in the second screen.

After start firefox in the Second Screen, firefox refuse to start in the main screen if it is still opened in the second screen

https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/120181

Bug description

I am using 7.04x86_64. I edited /etc/X11/xorg.conf to use double monitors.
I started firefox in the second screen to browse this web site.
I did not close firefox. I clicked the firefox icon in the main screen .
But firefox refuse to start. It said"Firefox is already running,but is not responding. ….. restart your system" -_-

———————–

This is easy to work round.

1. Close all Firefox windows and run the following on your terminal:

firefox -ProfileManager

2. Create a new profile, say “Second Screen.” Keep the checkbox “Don’t ask on startup” selected and click “Exit”.
3. On your secondary monitor, modify the Firefox launcher by right clicking on the icon on your Panel and selecting “Properties”. Change the “Command” to:

firefox %u -p SecondScreen

4. That’s it. Enjoy indepently configurable Firefox on both screens now!