Bug#832298: firefox: Setting default browser creates a new .desktop file in ~/.local/share/applications

Laurent Bigonville bigon at debian.org
Sat Jul 23 22:58:32 UTC 2016


On Sun, 24 Jul 2016 00:27:04 +0200 Laurent Bigonville <bigon at debian.org> 
wrote:
 >
 > Hi,
 >
 > When clicking a the button in the options to set the default browser, it
 > creates a new .desktop file in ~/.local/share/applications.
 >
 > This confuse gnome-control-center. Also, I don't see this happening in
 > Fedora and this shouldn't happen in debian.
 >
 > What I can see is that in this .desktop file the path to the executable
 > is /usr/lib/firefox/firefox and not just "firefox", I feel this is
 > related.

OK, the issue is that in debian, the MOZ_APP_LAUNCHER environment 
variable is not set like it is in fedora.

In Fedora it set in a wrapper script (along with other environment 
variables), see [0]

Shouldn't this wrapper script (or something similar) be added in debian too?

Cheers,

Laurent Bigonville

[0] http://pkgs.fedoraproject.org/cgit/rpms/firefox.git/tree/firefox.sh.in



More information about the pkg-mozilla-maintainers mailing list