unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53134: org.signal.Signal on flatpak can't execvp xdg-settings
@ 2022-01-09  3:07 Alexandre Hannud Abdo
  2022-01-09  3:47 ` John Kehayias via Bug reports for GNU Guix
  0 siblings, 1 reply; 3+ messages in thread
From: Alexandre Hannud Abdo @ 2022-01-09  3:07 UTC (permalink / raw)
  To: 53134


[-- Attachment #1.1.1: Type: text/plain, Size: 1459 bytes --]

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 #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3473 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#53134: org.signal.Signal on flatpak can't execvp xdg-settings
  2022-01-09  3:07 bug#53134: org.signal.Signal on flatpak can't execvp xdg-settings Alexandre Hannud Abdo
@ 2022-01-09  3:47 ` John Kehayias via Bug reports for GNU Guix
  2022-07-14  3:57   ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: John Kehayias via Bug reports for GNU Guix @ 2022-01-09  3:47 UTC (permalink / raw)
  To: 53134@debbugs.gnu.org

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#53134: org.signal.Signal on flatpak can't execvp xdg-settings
  2022-01-09  3:47 ` John Kehayias via Bug reports for GNU Guix
@ 2022-07-14  3:57   ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2022-07-14  3:57 UTC (permalink / raw)
  To: John Kehayias; +Cc: 53134-done@debbugs.gnu.org

Hello,

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

> 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-14  3:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-09  3:07 bug#53134: org.signal.Signal on flatpak can't execvp xdg-settings Alexandre Hannud Abdo
2022-01-09  3:47 ` John Kehayias via Bug reports for GNU Guix
2022-07-14  3:57   ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).