Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Firefox 3 on dual-head xorg - invoking a link issue
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Rajish
n00b
n00b


Joined: 23 Nov 2004
Posts: 14
Location: Poland

PostPosted: Fri Jun 27, 2008 10:42 am    Post subject: [SOLVED] Firefox 3 on dual-head xorg - invoking a link issue Reply with quote

I have dual-head, dual monitor xorg with KDE, and of course have installed Firefox3. From that moment on I am unable to select a link in any window running on the other monitor. I mean if I run firefox on DISPLAY=0.1 and point a link in kmail on DESKTOP=0.0 I get a message popup:

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.

When the programs are on the same display there's no problem - the link is opened in a new card. This wasn't an issue with firefox 2. Any clue?

Edit: found bug for that https://bugzilla.mozilla.org/show_bug.cgi?id=319965 - looks like patch appearing soon.


Last edited by Rajish on Mon Jul 14, 2008 8:16 am; edited 2 times in total
Back to top
View user's profile Send private message
jba
n00b
n00b


Joined: 22 Sep 2005
Posts: 35
Location: new york, ny

PostPosted: Thu Jul 03, 2008 7:22 pm    Post subject: Thx. Reply with quote

Thanks for finding that bugreport. Having the same issue with it here.

Last edited by jba on Thu Jul 03, 2008 7:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
jba
n00b
n00b


Joined: 22 Sep 2005
Posts: 35
Location: new york, ny

PostPosted: Thu Jul 03, 2008 7:29 pm    Post subject: although..... Reply with quote

The original bug report is from 2005... i see there's active work on it, but much of the focus is on running multiple copies of firefox in a dual head setup. My concern sounds more similar to yours - the xremote client in FF 2 worked fine when opening links from one display to the other, but its definitely broken in FF3.0. Instead of opening the link in a new tab like the FF2, it attempts to open a new browser window in the desktop from which the link was spawned (fail).

Gonna keep poking around.
Back to top
View user's profile Send private message
jba
n00b
n00b


Joined: 22 Sep 2005
Posts: 35
Location: new york, ny

PostPosted: Tue Jul 08, 2008 6:35 pm    Post subject: Found a ghetto fix. Reply with quote

modified /usr/bin/firefox:

Code:

#!/bin/sh

# (GM) - hack on
DETECT_INSTANCE=$(cat /proc/$(pidof firefox)/environ | grep -ze '^DISPLAY='| sed 's,^DISPLAY=,,g')
[ -n "$DETECT_INSTANCE" ] && export DISPLAY="$DETECT_INSTANCE"
# (GM) - hack off

export LD_LIBRARY_PATH="/usr/lib/mozilla-firefox"
exec /usr/lib/mozilla-firefox/firefox "$@"


Found via: https://bugzilla.mozilla.org/show_bug.cgi?id=405307

Works like a charm.
Back to top
View user's profile Send private message
Rajish
n00b
n00b


Joined: 23 Nov 2004
Posts: 14
Location: Poland

PostPosted: Mon Jul 14, 2008 8:15 am    Post subject: Reply with quote

OK. Not exactly the same thing (FF2 switched desktops on link-click if it was necessary) but at least somehow works.
Back to top
View user's profile Send private message
jba
n00b
n00b


Joined: 22 Sep 2005
Posts: 35
Location: new york, ny

PostPosted: Thu Jul 17, 2008 7:03 pm    Post subject: Reply with quote

Rajish wrote:
OK. Not exactly the same thing (FF2 switched desktops on link-click if it was necessary) but at least somehow works.


Yeah - that would require xremoteclient to be working in order to inform the window manager too. glad it works for ya though.
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