[Bug 1945658] Re: Link to release notes on Ubiquity language plugin page is opened with gedit

Nicholas Guriev 1945658 at bugs.launchpad.net
Fri Oct 1 20:34:53 UTC 2021


This happens because of sanitized environment in the ubiquity.desktop
file.

ubuntu at ubuntu:~$ grep ^Exec= /usr/share/applications/ubiquity.desktop
Exec=sudo --preserve-env=DBUS_SESSION_BUS_ADDRESS,XDG_RUNTIME_DIR sh -c 'ubiquity gtk_ui'

Please add the $XDG_CONFIG_DIRS environment variable into the whitelist
to fix the issue. You can find among autotests a complete list of
environment variables that may affect xdg-utils.

https://git.launchpad.net/ubuntu/+source/xdg-utils/tree/autotests/test-
lib.sh?id=b866789ac7e7ae8d62dbc52256ba758df0db17f7#n203

** Package changed: xdg-utils (Ubuntu) => ubiquity (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1945658

Title:
  Link to release notes on Ubiquity language plugin page is opened with
  gedit

Status in ubiquity package in Ubuntu:
  Triaged

Bug description:
  Reproducible only during Live session. See comment #2.

  Ubuntu Impish daily-live 20210930
  ubiquity 21.10.6
  xdg-utils 1.1.3-2ubuntu2

  Commit 33e306c9d77c6688e02d0cbae9a1d86f404272d3 to ubiquity changed
  sensible-browser to xdg-open to open hyperlinks.

  Now, for some reason the link to the release notes

  http://www.ubuntu.com/getubuntu/releasenotes?os=ubuntu&ver=21.10&lang=${LANG}

  is opened with gedit. Desktop files for both gedit and firefox show
  correct values for MimeType, however, xdg-mime query default text/xml
  outputs org.gnome.gedit.desktop

  /etc/mailcap still points to text/html; /usr/bin/sensible-browser

  For now, I propose to revert the last commit, at least until the bug
  is fixed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1945658/+subscriptions




More information about the foundations-bugs mailing list