| Chromium doesn't recognise being the default browser when set as such by "Preferred Applications" in ubuntu | |||||||
| Reported by bensha...@gmail.com, May 27 2010 | Back to list | ||||||
Chrome Version (from the about:version page): 6.0.416.0 (48240) Ubuntu Is this the most recent version: Yes OS + version: ubuntu 10.04 lucid lynx CPU architecture (32-bit / 64-bit): 64 bit Window manager: compiz URLs (if relevant): N/A Behavior in Linux Firefox: OK Behavior in Windows Chrome (if you have access to it): N/A What steps will reproduce the problem? 1. From Gnome panel open System->Preferences->Preferred Applications 2. In the Web Browser field choose "Chromium" 3. Start Chromium What is the expected result? Chromium recognising it is the default browser What happens instead? Chromium asks to set itself as the default browser Please provide any additional information below. Attach a screenshot and backtrace if possible. When Chromium sets itself as the default browser it uses the custom command "/usr/lib/chromium-browser/chromium-browser %s". When ubuntu sets it as the default browser it uses the command "chromium-browser %s". In both cases the browser functions properly when openning links from other apps.
,
Jun 3 2010
,
Jun 7 2010
Is this a bug in Chromium or is the bug in the .desktop file fta distributes?
,
Jun 8 2010
Hi evan, I am not sure I understand your question. The desktop file, triggered through the Applications menu shortcut, works fine. If you tell me what data you need I can send it.
,
Jun 8 2010
Evan is referring to /usr/share/applications/chromium-browser.desktop.
,
Jun 8 2010
I attach the file.
,
Jun 8 2010
I see, thanks for the attachment! Comparing the Ubuntu Chromium .desktop and the Google Chrome one, I see these extra fields in the former: X-MultipleArgs=false StartupWMClass=Chromium-browser StartupNotify=true I'm not sure what the first one is, but the latter two allow your desktop to properly show the hourglass cursor when launching. Ideally we'd just launch fast but I guess we should probably add those.
,
Jun 8 2010
@evan: iirc, this is not about the desktop file but about xdg-utils. See https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/513133
,
Jun 8 2010
for StartupWMClass, see https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/587664 StartupNotify is for the "Window List" gnome applet. Users requested it so that they can see when the app is starting vs is already dead. I don't use that pplet myself though.
,
Jun 11 2010
In xdg-settings's check_browser_gnome(), $check is /usr/bin/chromium-browser, but $binary is chromium-browser. This is because the Ubuntu Chromium .desktop file has Exec=chromium-browser, whereas Google Chrome has Exec=/opt/google/chrome/google-chrome. I guess the discussion should really continue on the xdg-utils bug: https://bugs.freedesktop.org/show_bug.cgi?id=26300 fta: If you feel any of the extra fields in the .desktop file are worth upstreaming, then please do. I personally don't care for startup notification.
,
Jun 11 2010
Well, even with the patch in the freedesktop bug, we still fail the fourth check in check_browser_gnome().
,
Sep 29 2010
using chromium trunk from a recent ubuntu package, if you set chromium as your preferred browser *in gnome*, chromium still shows it's not default. If now i ask Chromium to become the default browser, it works. That's too bad to have to select that twice. I traced it a bit: It starts from "xdg-settings check default-web-browser chromium-browser.desktop", finds DE=gnome, calls a bunch of gconf prefs (all pointing to chromium) and gets to a last test pointing to firefox. That's "xdg-mime query default text/html" xdg-mime gets that from /usr/share/gnome/applications/defaults.list which is a symlink to /etc/gnome/defaults.list itself provided by the desktop-file-utils package. I don't understand why xdg-settings has to go that deep..
,
May 10 2011
,
May 10 2011
This one is different. It's because the chromium packages don't specify the full path in the desktop files.
,
Jun 11 2012
(Un-ccing myself from bugs.)
,
Mar 10 2013
|
|||||||
| ► Sign in to add a comment | |||||||
Status: Untriaged