org.signal.Signal on flatpak can't execvp xdg-settings

  • Open
  • quality assurance status badge
Details
3 participants
  • Alexandre Hannud Abdo
  • John Kehayias
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Alexandre Hannud Abdo
Severity
normal
A
A
Alexandre Hannud Abdo wrote on 9 Jan 2022 04:07
(address . bug-guix@gnu.org)
b2d3d434-968f-e12c-ee0f-b5cff14f3239@member.fsf.org
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
Attachment: OpenPGP_signature
J
J
John Kehayias wrote on 9 Jan 2022 04:47
(name . 53134@debbugs.gnu.org)(address . 53134@debbugs.gnu.org)
xqVoxqOrneuooWQ5mO7TPf63kgl0NimXkUKU4t5R-_Ae3AE8Ipnu-NymO8xGgO53U2w3p9f5w7HTbHNGpcQAIAO1KkXqf_qTmXHe8zh5eno=@protonmail.com
Hello,

I use Signal through Flatpak on a Guix System without any issues. I can't say I have seen this error before. Some general pointers about Flatpak (on Guix at least):

1. Applications should be installed as a user, i.e. with flatpak --user I don't think running them it makes a difference specifying, and probably you would have run into an error or suggestion from flatpak telling you to use --user.

2. To interact with the system (Flatpak is a sandbox) you will likely need an xdg-desktop-portal, probably xdg-desktop-portal-gtk or xdg-desktop-portal-wlr (for Wayland, not sure how the setup for that works though)

3. The first warning you see can be rectified by adding the second path (the first won't exist on Guix Systems) to XDG_DATA_DIRS as it notes (in your .profile or similar), or you can use the script provided by the package in your profile's etc/profile.d/flatpak.sh (I don't think Guix automatically uses scripts in etc/profile.d unlike other distros)

Hope that helps! If you can provide other info like how you installed Signal, guix describe, and so on, that may help too.

John
M
M
Maxim Cournoyer wrote on 14 Jul 2022 05:57
Re: bug#53134: org.signal.Signal on flatpak can't execvp xdg-settings
(name . John Kehayias)(address . john.kehayias@protonmail.com)(name . 53134-done@debbugs.gnu.org)(address . 53134@debbugs.gnu.org)
87mtdcxs5p.fsf@gmail.com
Hello,

John Kehayias <john.kehayias@protonmail.com> writes:

Toggle quote (26 lines)
> Hello,
>
> I use Signal through Flatpak on a Guix System without any issues. I
> can't say I have seen this error before. Some general pointers about
> Flatpak (on Guix at least):
>
> 1. Applications should be installed as a user, i.e. with flatpak
> --user I don't think running them it makes a difference specifying,
> and probably you would have run into an error or suggestion from
> flatpak telling you to use --user.
>
> 2. To interact with the system (Flatpak is a sandbox) you will likely
> need an xdg-desktop-portal, probably xdg-desktop-portal-gtk or
> xdg-desktop-portal-wlr (for Wayland, not sure how the setup for that
> works though)
>
> 3. The first warning you see can be rectified by adding the second
> path (the first won't exist on Guix Systems) to XDG_DATA_DIRS as it
> notes (in your .profile or similar), or you can use the script
> provided by the package in your profile's etc/profile.d/flatpak.sh (I
> don't think Guix automatically uses scripts in etc/profile.d unlike
> other distros)
>
> Hope that helps! If you can provide other info like how you installed
> Signal, guix describe, and so on, that may help too.

Thanks John for this answer; I hope it helped Alexandre solving their
flatpak related problem.

Closing.

Maxim
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 53134@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 53134
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch