Gentoo Forums
Gentoo Forums
Quick Search: in
Two Desktops, Two Monitors, One Firefox.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sat Jul 16, 2005 2:24 am    Post subject: Two Desktops, Two Monitors, One Firefox. Reply with quote

I'm having some issues with running firefox on my two monitor two kde instance display setup. It seems once I start firefox on one desktop, each time I load up firefox (on any desktop) it opens it on the first desktop. So if I open up firefox on desktop one, and try to open up firefox on desktop two it will load the new window on desktop one. I think it has something to do with the profiles that firefox has - but I don't get that 'profile in use' pop menu (so it might not be that). If you don't quite understand my two display setup, the way it works is I have setup two monitors and screens in the xorg.conf, as well as two devices (I have a dual head nvidia card). So then I startx on display 0:0 and the window manager opens up a second desktop on display 0:1. This way I get 3d acceleration on both screens, and can run on different resolutions without using virtual displays.

If anybody could help me out that would be great.
_________________
www.garberdesign.com
"You need a Windows PC to listen to this music." -listen.com
Back to top
View user's profile Send private message
Arno Nymous
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2005
Posts: 87
Location: N 51� 30' 58" E 7� 28' 6"

PostPosted: Sat Jul 16, 2005 5:43 am    Post subject: Reply with quote

firefox --help shows this option:
Code:
X11 options
        --display=DISPLAY               X display to use

I don't have two displays but I would expect that in "check for running windows" firefox will check for the each display seperately.
Back to top
View user's profile Send private message
cybermatthieu
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2004
Posts: 77

PostPosted: Sat Sep 17, 2005 6:54 am    Post subject: Reply with quote

Hi,
I have the same problem here! No solution yet but still searching...

I'll let you know if I find anything,
Matt
Back to top
View user's profile Send private message
bitwise
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 104
Location: seattle

PostPosted: Sat Sep 17, 2005 7:08 am    Post subject: Reply with quote

the mozilla-launcher script is most likely to blame. have a look at it in /usr/libexec/mozilla-launcher. I'm tired as hell, but it looks like the 'find_running()' function is what you want to look at. You'd have to trick the new window to open on a different display, simply getting it to run a new instance won't work due to the profiles issue you mentioned.
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Sat Sep 17, 2005 7:13 am    Post subject: Reply with quote

I use the portage version in screen 1, and a binary installed manually from www.mozilla.org on screen 2. That way when it crashes on one screen, at least I don't lose whatever is running on the other screen.

Plus whenever firefox gets confused and locks up the whole instance, the other instance is responsive...
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
cybermatthieu
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2004
Posts: 77

PostPosted: Fri Sep 23, 2005 6:02 am    Post subject: Temp solution Reply with quote

Hi,
For now I'm using firefox on one screen and mozilla on the other... They are really similar.
But I took a look at the laucher script and It looks like he could be responsible for this.

Matt
Back to top
View user's profile Send private message
sawatts
n00b
n00b


Joined: 18 Jan 2005
Posts: 23
Location: Hampshire, UK

PostPosted: Sun Oct 30, 2005 12:40 pm    Post subject: Reply with quote

(bump)

Same situation as original poster here -- dual display, but Firefox only started on one display. *Very* irritating.

Tried invoking 'firefox -display $DISPLAY' from the second display (with firefox running on the first). This gets me to the mozilla profile dialog, since profile 'default' is already in use. Don't really want to have to mess around with seperate profiles for each display...

I see that 'mozilla-launcher' script is setting the 'DISPLAY' envar in the 'try_running()' script - presumable to the display on which it found the running instance?

Is it possible, at all, to run Firefox on two displays from the same profile? There shouldn't be any technical reason why not -- other than assumptions built into the code?
Back to top
View user's profile Send private message
pioto
Retired Dev
Retired Dev


Joined: 24 Oct 2003
Posts: 54
Location: Pittsburgh, PA

PostPosted: Sun Oct 30, 2005 12:52 pm    Post subject: Reply with quote

sawatts wrote:
Is it possible, at all, to run Firefox on two displays from the same profile? There shouldn't be any technical reason why not -- other than assumptions built into the code?


I think I read somewhere that Firefox stores some of its data, such as images, in the X resource database. If I understand that correctly, that would mean that these images would only be accessible on one display, not both. I'm sure that somehow this must mean that Firefox is very unwilling to open the same profile, the same session in essence, when it doesn't really have access to everything it should.

If your two displays are on one machine, why not use Xinerama? Again, I don't have any experience with it, but it seems like it would allow you to run the same Firefox instance, as they share a common DISPLAY, and just have some windows on one monitor, and some windows on another one. Or are you trying to achieve something different here?

If you're trying to do something like run one isntance locally on your machine, and run another instance forwarded through SSH, then I'm as frustrated as you. The only options I've found are to:
  • have a separate profile
  • have a separate browser
  • just connect to my local desktop through VNC or something similar


Best of luck.
Back to top
View user's profile Send private message
je_fro
Developer
Developer


Joined: 14 Dec 2002
Posts: 236
Location: Republic of Texas

PostPosted: Mon Dec 12, 2005 12:56 pm    Post subject: anything yet? Reply with quote

Anybody found a fix for this yet? Having FF on only one or the other monitor is a huge pita.

Even if I do:
Code:
DISPLAY=:0.0 firefox && DISPLAY=:0.1 firefox


It still just opens 2 firefoxes in :0.0.
_________________
Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect.
--Linus Torvalds

My site with some gentoo config files:
http://je-fro.net/page.html
Back to top
View user's profile Send private message
xaos5
Apprentice
Apprentice


Joined: 19 Apr 2005
Posts: 255
Location: Michigan

PostPosted: Mon Dec 12, 2005 1:45 pm    Post subject: Reply with quote

twinview supports 3d accel on both monitors and also different resolutions on each display. easy way to do it is setup twinview in my opinion.
_________________
AMD 3000+ xp-m (133@16.5 default) 190x11.5, 1024mb ram, geforce 6600GT @ 580/1090
Back to top
View user's profile Send private message
je_fro
Developer
Developer


Joined: 14 Dec 2002
Posts: 236
Location: Republic of Texas

PostPosted: Mon Dec 12, 2005 1:51 pm    Post subject: Reply with quote

that might work, but I don't want twinview.
_________________
Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect.
--Linus Torvalds

My site with some gentoo config files:
http://je-fro.net/page.html
Back to top
View user's profile Send private message
xaos5
Apprentice
Apprentice


Joined: 19 Apr 2005
Posts: 255
Location: Michigan

PostPosted: Mon Dec 12, 2005 2:02 pm    Post subject: Reply with quote

not sure what to tell you then, I have no experience there.
_________________
AMD 3000+ xp-m (133@16.5 default) 190x11.5, 1024mb ram, geforce 6600GT @ 580/1090
Back to top
View user's profile Send private message
je_fro
Developer
Developer


Joined: 14 Dec 2002
Posts: 236
Location: Republic of Texas

PostPosted: Tue Dec 13, 2005 11:27 am    Post subject: hmm... Reply with quote

Looks like this one isn't going to get fixed unless I do it myself...

https://bugzilla.mozilla.org/show_bug.cgi?id=285954

https://bugzilla.mozilla.org/show_bug.cgi?id=319965

Funny that mozilla works flawlessly though.....
_________________
Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect.
--Linus Torvalds

My site with some gentoo config files:
http://je-fro.net/page.html
Back to top
View user's profile Send private message
trolley
Apprentice
Apprentice


Joined: 12 Jun 2002
Posts: 292
Location: Canada

PostPosted: Tue Jun 19, 2007 5:44 pm    Post subject: Firefox refuses to open on second monitor Reply with quote

I have a dual head setup using the proprietary ATI drivers. If I try to run Firefox on my second monitor it opens on my first. Any ideas how to fix that?
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 6901

PostPosted: Wed Jun 20, 2007 4:42 am    Post subject: Reply with quote

Merged the above post.
Back to top
View user's profile Send private message
je_fro
Developer
Developer


Joined: 14 Dec 2002
Posts: 236
Location: Republic of Texas

PostPosted: Wed Jun 20, 2007 6:46 am    Post subject: Reply with quote

here's my bug https://bugzilla.mozilla.org/show_bug.cgi?id=319965
I don't have a lot of hope in getting it fixed...what I've done in the meantime is to create another user "screen1" and add all my ~/.mozilla files to his homedir.
I can launch firefox on screen1 now with "sudo -u screen1 -H /opt/firefox/firefox-bin"
_________________
Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect.
--Linus Torvalds

My site with some gentoo config files:
http://je-fro.net/page.html
Back to top
View user's profile Send private message
trolley
Apprentice
Apprentice


Joined: 12 Jun 2002
Posts: 292
Location: Canada

PostPosted: Wed Jun 20, 2007 11:39 am    Post subject: Reply with quote

desultory wrote:
Merged the above post.


Thanks, I searched but didn't find this :)
Back to top
View user's profile Send private message
gr0x0rd
Apprentice
Apprentice


Joined: 12 Aug 2006
Posts: 273

PostPosted: Wed Dec 31, 2008 11:49 pm    Post subject: Reply with quote

Three and a half years later and still no logical solution. Just upgraded to FF3, and in doing so unmerged epiphany, which wants to pull ff2 back in. Been using epiphany on my second display to watch live sports until now... lame. Looks like I'm going back to FF2.
_________________
~g
emerge -FML...
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 6901

PostPosted: Thu Jan 01, 2009 3:56 am    Post subject: Reply with quote

gr0x0rd wrote:
Just upgraded to FF3, and in doing so unmerged epiphany, which wants to pull ff2 back in. Been using epiphany on my second display to watch live sports until now... lame. Looks like I'm going back to FF2.
In which case you could either update to a more recent version of www-client/epiphany than you had been using, or enable the xulrunner USE flag for it and reinstall the same version.
Back to top
View user's profile Send private message
gr0x0rd
Apprentice
Apprentice


Joined: 12 Aug 2006
Posts: 273

PostPosted: Sat Jan 03, 2009 12:39 am    Post subject: Reply with quote

thanks d, I just found this at gentoo bugzilla as well and came back to update this thread... I had to do an emerge --sync first as well ;) be warned, xulrunner takes a while to compile.
_________________
~g
emerge -FML...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum