Chad, I don't agree that "the XDG utilities aren't written very well." The problem is that there's little agreement between both applications and platforms on how defaults are detected, and the script is doing its best to accommodate all the scenarios that cause issues. I believe I have tried EVERY fix (short of installing testing versions from PPAs of XDG-utils and Chromium) and Chromium STILL doesn't know that it's the default browser.
Chad, I don't agree that "the XDG utilities aren't written very well." The problem is that there's little agreement between both applications and platforms on how defaults are detected, and the script is doing its best to accommodate all the scenarios that cause issues. I believe I have tried EVERY fix (short of installing testing versions from PPAs of XDG-utils and Chromium) and Chromium STILL doesn't know that it's the default browser.
~$ apt-cache policy xdg-utils; grep http ~/.config/ mimeapps. list ~/.local/ share/applicati ons/mimeapps. list git20111210- 7.4 git20111210- 7.4 git20111210- 7.4 0 httpredir. debian. org/debian/ jessie/main amd64 Packages dpkg/status .local/ share/applicati ons/mimeapps. list:x- scheme- handler/ http=chromium. desktop .local/ share/applicati ons/mimeapps. list:x- scheme- handler/ https=chromium. desktop
xdg-utils:
Installed: 1.1.0~rc1+
Candidate: 1.1.0~rc1+
Version table:
*** 1.1.0~rc1+
500 http://
100 /var/lib/
/home/USERNAME/
/home/USERNAME/
~$ uname -a
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
~$ lsb_release -d
Description: Debian GNU/Linux 8.8 (jessie)
~$ apt-cache policy chromium 98-1~deb8u1 98-1~deb8u1 98-1~deb8u1 0 httpredir. debian. org/debian/ jessie/main amd64 Packages security. debian. org/ jessie/updates/main amd64 Packages dpkg/status
chromium:
Installed: 57.0.2987.
Candidate: 57.0.2987.
Version table:
*** 57.0.2987.
500 http://
500 http://
100 /var/lib/
/usr/bin/ xdg-settings: \[[^]=] *])?=" "$file" | cut -d= -f 2- | first_word`" \[[^]=] *])?=" "$file" | cut -d= -f 2- | first_word | head -n 1`" \[[^]=] *])?=" "$file" | cut -d= -f 2- | sed -e 's/ .*$//' | head -n 1`"
198# command="`grep -E "^Exec(
199 command="`grep -E "^Exec(
200# command="`grep -E "^Exec(
Each line uncommented in turn with no change in chrome://settings: "Chromium is not currently your default browser."