Package: chromium Version: 46.0.2490.71-1 Dear chromium maintainers,
Chromium calls xdg-settings with its desktop name as the argument to check if it
is the default browser.
To get its desktop name, it uses the following code (function GetDesktopName()
in chrome/browser/shell_integration_linux.cc):
#else // CHROMIUM_BUILD
// Allow $CHROME_DESKTOP to override the built-in value, so that development
// versions can set themselves as the default without interfering with
// non-official, packaged versions using the built-in value.
std::string name;
if (env->GetVar("CHROME_DESKTOP", &name) && !name.empty())
return name;
return "chromium-browser.desktop";
#endif
On Debian, the desktop name is chromium.desktop, not chromium-browser.desktop,
so we need to export CHROME_DESKTOP env variable in /usr/bin/chromium wrapper
to make the above code work.
According to the debian/changelog entry for version 9.0.597.83~r72435-1,
there used to be such code there, but it looks like it was removed later.
--
Dmitry Shachnev
signature.asc
Description: PGP signature

