Opened 14 years ago

Closed 14 years ago

#4974 closed Bug report (fixed)

Links in welcome dialog don't work

Reported by: Bernd Eggink Owned by:
Priority: normal Component: FileZilla Client
Keywords: welcome dialog Cc:
Component version: Operating system type: Linux
Operating system version: Crux 2.6

Description

Clicking a link in the welcome dialog of FileZilla 3.3.0 doesn't work correctly under Linux. On my PC (Crux 2.6), Opera gets started, although the default browser is Firefox. On my laptop (same system), FileZilla tries to start wine, which of course doesn't work. An explicit browser setting in the preferences is missing.

Change History (7)

comment:1 by Tim Kosse, 14 years ago

Status: newmoreinfo

Looks like your system's URL handler is configured incorrectly.

Does this problem also exist on a fresh Crux installation with only the base system and FileZilla installed?

comment:2 by Bernd Eggink, 14 years ago

Status: moreinfonew

Which URL handler does FileZilla use? Here is the content of ~/.gconf/desktop/gnome/url-handlers/http/%gconf.xml:

<gconf>
<entry name="needs_terminal" mtime="1233776238" type="bool" value="false">
        </entry>
<entry name="enabled" mtime="1233776238" type="bool" value="true">
        </entry>
<entry name="command" mtime="1256917528" type="string">
<stringvalue>/usr/bin/firefox "%s"</stringvalue>
</entry>
</gconf>

This works well in all other cases like Java, Firefox-Thunderbird coupling etc.

comment:3 by Tim Kosse, 14 years ago

Status: newmoreinfo

Open a terminal and try the following command please:

xdg-open http://welcome.filezilla-project.org/welcome?category=news

Does that open the correct browser?

comment:4 by Bernd Eggink, 14 years ago

Status: moreinfonew

Ah! Thanks! I didn't have xdg-open on my system. After installing xdg-utils, the command above AND the links in the FileZilla welcome dialog work correctly.

It should be mentioned that xdg-open is needed. Presently it seems that if xdg-open is missing, FileZilla picks an application at random, instead of issuing an error message (or trying some other means to determine the browser).

comment:5 by Tim Kosse, 14 years ago

Status: newmoreinfo

xdg-open is the preferred mechanism, though there are several fallbacks in place to find the default browser.

Please uninstall xdg-open again and try the following:

What's the output of:
gconftool-2 --get /desktop/gnome/applications/browser/exec

What happens on
kfmclient openURL http://welcome.filezilla-project.org/welcome?category=news

Last but not least, why is your desktop environment?

comment:6 by Bernd Eggink, 14 years ago

Status: moreinfonew

"gconftool-2 --get /desktop/gnome/applications/browser/exec" outputs

No value set for '/desktop/gnome/applications/brower/exec'

My desktop environment is icewm + ROX. Neither kde nor gnome. Basic gnome libraries are present, however,

comment:7 by Tim Kosse, 14 years ago

Resolution: fixed
Status: newclosed

The next version of FileZilla will complain at compile time if xdg-open does not exist.

Note: See TracTickets for help on using tickets.