Package: sensible-utils
Version: 0.0.12
Severity: normal

The various *-open utils (gnome, kde, exo, xdg) and GUI toolkits seem to
use the XDG mimeapps mechanism to select the default browser, at least
as a fallback. The user config file for this is ~/.config/mimeapps.list

These commands return the .desktop file for the application configured
for the browser related MIME types:

xdg-mime query default text/html
xdg-mime query default x-scheme-handler/http
xdg-mime query default x-scheme-handler/https
xdg-mime query default x-scheme-handler/about

(Setting of the defaults is made with a similar command, e.g.:
xdg-mime default firefox-esr.desktop text/html )

As sensible-browser does not come with a .desktop file, there is no way
to set it as a default with this mechanism. Maybe a .desktop file could
be provided in sensible-utils?

(Referring to default applications by their .desktop file is pretty
bonkers IMO, but sensible-utils is easier to fix than xdg-mime)

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 4.9.0-8-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

Reply via email to