all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luis Felipe <luis.felipe.la@protonmail.com>
To: Christophe Pisteur <christophe.pisteur@fsfe.org>
Cc: help guix <help-guix@gnu.org>
Subject: Re: flatpak applications in the gnome applications menu (XDG_DATA_DIRS)
Date: Sun, 07 Feb 2021 23:07:36 +0000	[thread overview]
Message-ID: <kxG6Iwz7IDNrK7tw3vSYJG5CmHFJOfiWKM5lPR9Xa6IyXxHtFEND89IJwQ26BeoGnoyxvwDP4PVDQKKVqnZ7kxETnrNsjXFUsQuEsywa-vs=@protonmail.com> (raw)
In-Reply-To: <c796a51b3a09eba935cfb36c52457cb1df190089.camel@fsfe.org>

Hi, Christophe,


> I installed Element (1) by flatpak, but applications installed by
> Flatpak do not appear on the gnome desktop applications menu (even
> after reboot).


You have to add some paths to XDG_DATA_DIRS.

I'm using Guix System, and this is what I do:

1. Add the following to .bash_profile file

# MAKE FLATPAK APPLICATION LAUNCHERS AVAILABLE IN GUIX'S GNOME
export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share"
export XDG_DATA_DIRS="$XDG_DATA_DIRS:/var/lib/flatpak/exports/share"

Note that I don't know why ".bash_profile" instead of ".profile". I use the former because using the latter never works for me.

2. Restart the GNOME SHELL. You can do this as follows:

2.1 Press Alt + F2
2.2 Enter the letter r
2.3 Press Enter

After this, flatpak applications should be listed along with the applications you install with guix.

About the error, I don't know. I've experienced other problems with flatpaks though. For example, it is common that some flatpak applications can't access the file system, but some can.

Anyways, hope that helps.


  parent reply	other threads:[~2021-02-07 23:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-07 18:59 flatpak applications in the gnome applications menu (XDG_DATA_DIRS) Christophe Pisteur
2021-02-07 19:27 ` Léo Le Bouter
2021-02-07 21:07   ` Christophe Pisteur
2021-02-07 23:07 ` Luis Felipe [this message]
2021-02-07 23:53 ` Adonay Felipe Nogueira via
2021-02-08  0:10   ` Léo Le Bouter
  -- strict thread matches above, loose matches on Subject: below --
2021-02-08  5:52 Christophe Pisteur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='kxG6Iwz7IDNrK7tw3vSYJG5CmHFJOfiWKM5lPR9Xa6IyXxHtFEND89IJwQ26BeoGnoyxvwDP4PVDQKKVqnZ7kxETnrNsjXFUsQuEsywa-vs=@protonmail.com' \
    --to=luis.felipe.la@protonmail.com \
    --cc=christophe.pisteur@fsfe.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.