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.
This happens because of sanitized environment in the ubiquity.desktop file.
ubuntu@ubuntu:~$ grep ^Exec= /usr/share/ applications/ ubiquity. desktop env=DBUS_ SESSION_ BUS_ADDRESS, XDG_RUNTIME_ DIR sh -c 'ubiquity gtk_ui'
Exec=sudo --preserve-
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=b866789ac 7e7ae8d62dbc522 56ba758df0db17f 7#n203