unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Csepp <raingloom@riseup.net>
To: Liliana Marie Prikler <liliana.prikler@ist.tugraz.at>
Cc: kreyren@rixotstudio.cz, 56567@debbugs.gnu.org
Subject: bug#56567: [BUG] Gnome doesn't recognize applications path for flatpak
Date: Tue, 12 Sep 2023 13:57:35 +0200	[thread overview]
Message-ID: <cucwmwvtx29.fsf@riseup.net> (raw)
In-Reply-To: <f28b945ac3f1b0fbb8e7e7be4ca6399205ceb802.camel@ist.tugraz.at>


Liliana Marie Prikler <liliana.prikler@ist.tugraz.at> writes:

> Am Sonntag, dem 17.07.2022 um 06:03 +0000 schrieb Jacob Hrbek:
>> Why is making a user configuration saner in comparison to making it
>> work out of the box?
> Because in this instance "making it work out of the box" entails
> statefulness that most Guix users would typically like to avoid.  Plus,
> we are not talking about a very complicated setup here, it's one line
> of shell code to drop into your .bash_profile or similar:
>
> export
> $XDG_DATA_DIRS="$HOME/.local/share/flatpak/exports/share:$XDG_DATA_DIRS
> "
>
> Now granted, if you wanted to account for the fact that XDG_DATA_DIRS
> could be empty on some systems (some foreign distros rely on the
> implicit default), then you'd have to code around that, but that's
> again not within the scope of Guix System.

Since I am running into this same issue on Sway, *even though* I added
that line to my Zsh profile, I don't think the user config route is the
right one to recommend.
Editing environment variables certainly *seems* easy, but I consider
myself fairly adept at Linux and I could not tell you in what order they
are loaded, and clearly it matters, since j4-dmenu-desktop gets the
wrong variables when launched from Sway, but the right ones when
launched from a terminal.  Even though Sway was also run from a
terminal, via dbus-run-session.
So clearly there are a lot of moving parts, and a regular user who just
wants desktop apps to work should not be expected to manually edit these
files.




      reply	other threads:[~2023-09-12 12:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <80b11ebe-8ebd-274c-d4a0-6b94c6656cc8@rixotstudio.cz>
2022-07-15  8:17 ` bug#56567: [BUG] Gnome doesn't recognize applications path for flatpak Liliana Marie Prikler
     [not found]   ` <823067fc-f926-8fde-f20c-c3fbbdb9f364@rixotstudio.cz>
2022-07-18  6:13     ` Liliana Marie Prikler
2023-09-12 11:57       ` Csepp [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=cucwmwvtx29.fsf@riseup.net \
    --to=raingloom@riseup.net \
    --cc=56567@debbugs.gnu.org \
    --cc=kreyren@rixotstudio.cz \
    --cc=liliana.prikler@ist.tugraz.at \
    /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 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).