Passing a URL via xdg-open does not open URL in Firefox 36 but shows default homepage instead

RESOLVED INVALID

Status

()

Firefox
Untriaged
RESOLVED INVALID
3 years ago
3 years ago

People

(Reporter: Geoffrey De Belie (Smile4ever), Unassigned)

Tracking

36 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20150113033800

Steps to reproduce:

1) Upgrade to Firefox 36 on Manjaro Linux which makes use of Xfce
2) Open a link with exo-open while Firefox is set as the default webbrowser:
exo-open http://test.com



Actual results:

Firefox opens the homepage instead of the link. This affects most applications, as xdg-open redirects the call to exo-open which does not work anymore with Firefox 36. Firefox 35 does not contain this problem.


Expected results:

Firefox opens the specified link.
(Reporter)

Updated

3 years ago
Version: 35 Branch → 36 Branch

Comment 1

3 years ago
I can confirm that "xdg-open http://example.com" only opens the homepage with FF36 on Fedora 21 with XFCE.
Summary: Exo-open stopped working with Firefox 36 → Passing a URL via xdg-open does not open URL in Firefox 36 but shows default homepage instead

Comment 2

3 years ago
This bug is causing trouble with other programs such as xchat which use xdg-open as a backend for opening links, so it's relatively critical.

Comment 3

3 years ago
Firefox 36 droped a very old no op argument called -remote xubuntu still has this in there '/usr/share/xfce4/helpers/firefox.desktop' file remove that and things should work again.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INVALID

Comment 4

3 years ago
Hmm by remove i mean edit the firefox.desktop file and remove '-remote' from the command line.

Comment 5

3 years ago
Ok, so just to make sure -- the solution is to edit the last two lines in 
/usr/share/xfce4/helpers/firefox.desktop 
which are currently

  X-XFCE-Commands=%B -remote "openURL(about:blank,new-window)";%B;
  X-XFCE-CommandsWithParameter=%B -remote "openURL(%s)";%B %s;

and should become

  X-XFCE-Commands=%B;
  X-XFCE-CommandsWithParameter=%B %s;

am I right?
(Reporter)

Comment 6

3 years ago
(In reply to cousteau from comment #5)
> Ok, so just to make sure -- the solution is to edit the last two lines in 
> /usr/share/xfce4/helpers/firefox.desktop 
> which are currently
> 
>   X-XFCE-Commands=%B -remote "openURL(about:blank,new-window)";%B;
>   X-XFCE-CommandsWithParameter=%B -remote "openURL(%s)";%B %s;
> 
> and should become
> 
>   X-XFCE-Commands=%B;
>   X-XFCE-CommandsWithParameter=%B %s;
> 
> am I right?

Yes! This is confirmed to solve the issue.
You need to log in before you can comment on or make changes to this bug.