Subject: bug#53134: org.signal.Signal on flatpak can't execvp xdg-settings

From: Alexandre Hannud Abdo <[email-masked]>
Date: Sun, 9 Jan 2022 00:07:07 -0300

Ni!

After installing org.signal.Signal with flatpak, `flatpak run org.signal.Signal` fails with the message below. I tried adding `xdg-utils` (which provides xdg-settings) to my system or my user profile, or to both, to no avail. Any ideas? Anyone has Signal Desktop working on Guix? Thanks! ale .~´

$ flatpak run org.signal.Signal

Note that the directories

'/var/lib/flatpak/exports/share'
'/home/eris/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

[2 preload-host-spawn-strategy] Running: /app/bin/zypak-helper child - /app/Signal/signal-desktop --type=zygote --enable-crashpad
Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop' }
NODE_ENV production
NODE_CONFIG_DIR /app/Signal/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
SIGNAL_ENABLE_HTTP undefined
userData: /home/bubbles/.var/app/org.signal.Signal/config/Signal
config/get: Did not find user config file (or it was empty), cache is now empty object
config/get: Did not find ephemeral config file (or it was empty), cache is now empty object
LaunchProcess: failed to execvp:
xdg-settings
LaunchProcess: failed to execvp:
xdg-settings