all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Wojtek Kosior via <help-guix@gnu.org>
To: Gottfried <gottfried@posteo.de>
Cc: help-guix@gnu.org
Subject: Re: to enable all profiles at login time
Date: Mon, 17 Apr 2023 22:15:04 +0200	[thread overview]
Message-ID: <20230417221504.25b0f538.koszko@koszko.org> (raw)
In-Reply-To: <8d98ea5b-518a-8fa8-e368-766bd6231bef@posteo.de>

[-- Attachment #1: Type: text/plain, Size: 2718 bytes --]

> No, I put libreoffice in a separate profile,
> so in the terminal it is not found:
> 
> gfp@Tuxedo ~$ libreoffice
> -bash: libreoffice: Kommando nicht gefunden.
> gfp@Tuxedo ~$ frescobaldi
> -bash: frescobaldi: Kommando nicht gefunden.
> gfp@Tuxedo ~$ lilypond
> -bash: lilypond: Kommando nicht gefunden.
> 
> Also other packages from different profiles are not found.

I see the problem now. The profile paths on your system are not like
"/home/gfp/Projekte/Libreoffice" but rather like
"/home/gfp/Projekte/Libreoffice/guix-profil". So we need to add
"/guix-profil" to each profile path.

You can try replacing

    profile=$i

line with

    profile=$i/guix-profil

In your `.bash_profile`.

Once you do this it'll (hopefully!) work :) And then you can choose to
either stay at the setup I suggested or e.g. try using X session
startup files as others suggested (which btw seems like a neat solution)

Wojtek

-- (sig_start)
website: https://koszko.org/koszko.html
PGP: https://koszko.org/key.gpg
fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A

♥ R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ== | ÷ c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ==
✝ YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ== | ? U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8=
-- (sig_end)


On Mon, 17 Apr 2023 14:55:10 +0000
Gottfried <gottfried@posteo.de> wrote:

> Hi,
> thanks for help
> 
> 
> > Then you're all set. It should be working now 😄
> > 
> > Try closing the terminal and opening it again. Are the commands from
> > your profiles (e.g. `libreoffice`) available immediately, without the
> > need to run any manual `guix` commands? They should be  
> 
> No, I put libreoffice in a separate profile,
> so in the terminal it is not found:
> 
> gfp@Tuxedo ~$ libreoffice
> -bash: libreoffice: Kommando nicht gefunden.
> gfp@Tuxedo ~$ frescobaldi
> -bash: frescobaldi: Kommando nicht gefunden.
> gfp@Tuxedo ~$ lilypond
> -bash: lilypond: Kommando nicht gefunden.
> 
> Also other packages from different profiles are not found.
> 
> -------------------------------------------------------------------------
> But I have a symbol of libreoffice on my desktop and if I klick on it, 
> it will open libreoffice (an older version).
> The symbol didn’t disappear after uninstalling libreoffice from my 
> default profile.
> ------------------------------------------------------------------------
> 
> So may be I didn’t understand everything yet, what I have to do.
> -------------------------------------------------------------------------
> 
> I have to open each profile with
> guix shell -p ~/Projekte/e.g.: Icecat/guix-profil
> 
> Kind regards
> 
> Gottfried



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

  reply	other threads:[~2023-04-17 21:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-16 13:09 to enable all profiles at login time Gottfried
2023-04-16 20:18 ` Wojtek Kosior via
2023-04-17  7:37   ` Gottfried
2023-04-17 11:56     ` Wojtek Kosior via
2023-04-17 12:45       ` Gottfried
2023-04-17 12:55         ` Wojtek Kosior via
2023-04-17 14:30           ` Martin Castillo
2023-04-17 14:55           ` Gottfried
2023-04-17 20:15             ` Wojtek Kosior via [this message]
2023-04-18 15:19               ` Gottfried
2023-04-17 18:32         ` Sergiu Ivanov
2023-04-20 10:11           ` Gottfried
2023-04-20 10:20             ` Sergiu Ivanov
2023-04-20 11:28               ` Gottfried
2023-04-20 13:51                 ` Sergiu Ivanov
2023-04-17 17:25 ` Giovanni Biscuolo
  -- strict thread matches above, loose matches on Subject: below --
2023-04-19 16:10 Gottfried
2023-04-19 18:19 ` Martin Castillo

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=20230417221504.25b0f538.koszko@koszko.org \
    --to=help-guix@gnu.org \
    --cc=gottfried@posteo.de \
    --cc=koszko@koszko.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.