View previous topic :: View next topic |
Author |
Message |
Rajish n00b
Joined: 23 Nov 2004 Posts: 14 Location: Poland
|
Posted: Fri Jun 27, 2008 10:42 am Post subject: [SOLVED] Firefox 3 on dual-head xorg - invoking a link issue |
|
|
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 |
|
|
jba n00b
Joined: 22 Sep 2005 Posts: 35 Location: new york, ny
|
Posted: Thu Jul 03, 2008 7:22 pm Post subject: Thx. |
|
|
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 |
|
|
jba n00b
Joined: 22 Sep 2005 Posts: 35 Location: new york, ny
|
Posted: Thu Jul 03, 2008 7:29 pm Post subject: although..... |
|
|
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 |
|
|
jba n00b
Joined: 22 Sep 2005 Posts: 35 Location: new york, ny
|
Posted: Tue Jul 08, 2008 6:35 pm Post subject: Found a ghetto fix. |
|
|
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 |
|
|
Rajish n00b
Joined: 23 Nov 2004 Posts: 14 Location: Poland
|
Posted: Mon Jul 14, 2008 8:15 am Post subject: |
|
|
OK. Not exactly the same thing (FF2 switched desktops on link-click if it was necessary) but at least somehow works. |
|
Back to top |
|
|
jba n00b
Joined: 22 Sep 2005 Posts: 35 Location: new york, ny
|
Posted: Thu Jul 17, 2008 7:03 pm Post subject: |
|
|
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 |
|
|
|