Comment 4 for bug 1945658

Revision history for this message
Nicholas Guriev (mymedia) wrote (last edit ): Re: Link to release notes on Ubiquity language plugin page is opened with gedit

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

ubuntu@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_DATA_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