unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: bo0od <bo0od@riseup.net>
Cc: 48796@debbugs.gnu.org
Subject: bug#48796: Guix on Debian 11 - Cant run or find applications from Guix
Date: Mon, 23 Aug 2021 12:42:15 +0200	[thread overview]
Message-ID: <87bl5owigo.fsf@gmail.com> (raw)
In-Reply-To: <3ec187dc-b525-a92a-f278-2aeb87d2f003@riseup.net> (bo0od@riseup.net's message of "Thu, 15 Jul 2021 13:09:24 +0000")

Hi,

On Thu, 15 Jul 2021 at 13:09, bo0od <bo0od@riseup.net> wrote:
>> Does this message [1] fix your issue?
>
> "If you type "source ~/.guix-profile/etc/profile" from a Bash shell, it loads
> the needed environment variable"
>
> yes it worked, but thats not really what im asking as this is workaround for
> the issue but im asking for a solution to the users as they can type the app
> name and it should run and icon should be shown somewhere on application menu
> or desktop or so.
>
> flatpak , snap which work almost similarly to guix can do that then guix
> should do that as well.

I have never used Flatpack but from the doc, I read:

--8<---------------cut here---------------start------------->8---
$ flatpak run org.gimp.GIMP
--8<---------------cut here---------------end--------------->8---

<https://docs.flatpak.org/en/latest/using-flatpak.html#running-applications>

Then reading:

<https://docs.flatpak.org/en/latest/desktop-integration.html>
<https://docs.flatpak.org/en/latest/conventions.html>

I am not convinced that Guix should follow the Flatpack approach by
default.  And somehow, it is not what “guix pack” already does. ;-)

About Snap, I have not been able to get the right doc.

> otherwise guix should mention that there wont be icons nor ability to run the
> applications from terminal unless you do 1 2 3 after guix app installaion
> which is sadly a downside for new comers.

As Mark explained,

        In order to set your environment variables appropriately for
        your entire desktop environment, you must arrange for the
        environment variable settings to be loaded before the desktop
        session is launched.  I don't remember off-hand how to do this
        in Debian.  I seem to recall that one approach is to create an
        ~/.xsessionrc file, which should be an executable Bash script
        that loads the needed environment variable settings and then
        launches the desktop environment.  Maybe there's a better way.

        I'm surprised this isn't well-trodden territory, long ago documented in
        our manual, but I guess it isn't.  It would be good if some Debian
        expert(s), or at least someone who runs Guix on top of Debian, would
        step forward to fill in the details.

it is possible to have the icons and run them from the desktop
launcher.  The configuration has to be done manually though.

Therefore, a section should be added to the manual under «Application
Setup», IMHO.


All the best,
simon




  reply	other threads:[~2021-08-23 10:43 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-02 18:56 bug#48796: Guix on Debian 11 - Cant run or find applications from Guix bo0od
2021-06-03 21:26 ` Maxime Devos
2021-06-03 23:18   ` bo0od
2021-06-05  9:47     ` Maxime Devos
2021-06-05 11:25       ` bo0od
2021-06-05 17:49 ` Mark H Weaver
2021-06-17 14:56   ` Giovanni Biscuolo
2021-07-15 14:05     ` bo0od
2021-08-23 10:20       ` zimoun
2021-07-02 16:31 ` zimoun
2021-07-15 13:09   ` bo0od
2021-08-23 10:42     ` zimoun [this message]
2021-08-23  0:58 ` bug#48796: Just a newb, srsly this saved me Luke Burgess
2021-09-23 11:56   ` bug#48796: Guix on Debian 11 - Cant run or find applications from Guix Maxim Cournoyer
2021-09-23 12:10 ` Maxim Cournoyer
2021-09-24 20:46   ` bo0od
2021-09-26  5:50     ` Maxim Cournoyer
2022-01-04 23:16       ` zimoun
2022-04-28 14:14         ` Giovanni Biscuolo
2022-04-28 15:59   ` bug#48796: Guix on Debian 11 - Cant run or find applications from Guix in Desktop Menus Giovanni Biscuolo
2022-04-29 19:18     ` Liliana Marie Prikler
2022-05-02 12:49       ` Giovanni Biscuolo
2022-05-04  8:31         ` Giovanni Biscuolo
2022-05-04 19:14         ` Liliana Marie Prikler
2022-05-05 17:16           ` Giovanni Biscuolo
2022-05-07  9:25   ` bug#48796: Guix on Debian 11 - Cant run or find applications from Guix Giovanni Biscuolo
2022-05-07 10:59     ` Giovanni Biscuolo
2022-06-23  8:20 ` zimoun
2022-10-08 14:37   ` zimoun
     [not found] ` <handler.48796.D48796.166524222215541.notifdone@debbugs.gnu.org>
2022-10-14 17:35   ` bug#48796: closed (Re: bug#48796: Guix on Debian 11 - Cant run or find applications from Guix) bo0od via Bug reports for GNU Guix
2022-10-17  1:30     ` bug#48796: Guix on Debian 11 - Cant run or find applications from Guix Maxim Cournoyer

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=87bl5owigo.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=48796@debbugs.gnu.org \
    --cc=bo0od@riseup.net \
    /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).