Dual monitors, separate X displays; want firefox in both displays
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dual monitors, separate X displays; want firefox in both displays
I have two monitors hooked up to my nvidia card. I'm running the proprietary nvidia driver, set up so that I have one X display for each monitor.
The problem is, I can only use Firefox in one display/monitor at once. If I try to open it in both displays, I get that familiar message:
Quote:
Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.
I can, however, use the DISPLAY specifier to open a firefox window in the display that already has firefox in it:
Code:
DISPLAY=:0.0 firefox
But this is not what I want. It seems like firefox gets locked into one display. How can I fix this? I don't want to run another instance of firefox as another user. I also can't run TwinView with the combination of monitors that I have.
Try the "-nolocal" option as well. I will use this to run firefox on a remote computer "via ssh -X". If I don't firefox will open on the local screen as expected but be running on the local machine rather than the remote. Maybe this will work for multiple screens as well.
That didn't seem to work. I had a look at the firefox man page and tried a few other options that looked promising, but they didn't work either. Do you have any other ideas?
But the solution was to run a different profile on each display. I'd prefer to run the same instance, with the same bookmarks and settings, but I'm willing to compromise. I could use a script to copy bookmarks over to the alternate profile every so often.
I want to get to the bottom of this though. What I'm thinking is that the part of Firefox that creates new windows only has the capability of using one X display per instance. In that case, I'd have to delve into the source code, which would be a hassle.
This seems to be one of those situations where people know about the problem, but their attitude is run TwinView or something when it doesn't work for squat with some programs. I prefer dual screen mode, but while Konqueror runs fine on both monitors, Firefox complains about it already running. I find it amazing that a lesser browser can do something Firefox can't. The problem is the Firefox team apparently couldn't care less for the same reasons. They'd rather just tell you to use TwinView than fix the darn problem so it'll run on both displays like it darn well SHOULD.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.