* Gnome and custom profile
@ 2021-01-16 21:56 Jérémy Korwin-Zmijowski
2021-01-18 11:32 ` Pierre Neidhardt
2021-01-18 14:14 ` Luis Felipe
0 siblings, 2 replies; 5+ messages in thread
From: Jérémy Korwin-Zmijowski @ 2021-01-16 21:56 UTC (permalink / raw)
To: help-guix
Dear Guixters !
Hope you are well and safe.
On my fresh Guix System, I created a profile using a manifest (mostly
to install Emacs and Qemu).
Then I tried to activate the profile during startup through .profile
file… and nothing happend. My exported variables are not even part of
the environment.
I tried to activate it through the .bashrc then I was able to launch
apps using command line but Gnome doesn't see them.
How should I activate my custom profile ?
$ cat .profile
GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles
export GUIX_EXTRA_PROFILES
GUIX_PROFILE="${GUIX_EXTRA_PROFILES}/jeko"
. "$GUIX_PROFILE/etc/profile"
XDG_DATA_DIRS="${XDG_DATA_DIRS}:${GUIX_EXTRA_PROFILES}/jeko/share"
$ guix package --search-paths -p "$HOME/.guix-extra-profiles/jeko"
export PATH="/home/jeko/.guix-extra-profiles/jeko/bin:/home/jeko/.guix-
extra-profiles/jeko/sbin"
export EMACSLOADPATH="/home/jeko/.guix-extra-
profiles/jeko/share/emacs/site-lisp:/home/jeko/.guix-extra-
profiles/jeko/share/emacs/27.1/lisp"
export INFOPATH="/home/jeko/.guix-extra-profiles/jeko/share/info"
export GUILE_LOAD_PATH="/home/jeko/.guix-extra-
profiles/jeko/share/guile/site/3.0"
export GUILE_LOAD_COMPILED_PATH="/home/jeko/.guix-extra-
profiles/jeko/lib/guile/3.0/site-ccache:/home/jeko/.guix-extra-
profiles/jeko/share/guile/site/3.0"
export MANPATH="/home/jeko/.guix-extra-profiles/jeko/share/man"
export PKG_CONFIG_PATH="/home/jeko/.guix-extra-
profiles/jeko/lib/pkgconfig"
$ cat guix-jeko-manifests/jeko-manifest.scm
(specifications->manifest
'(
;; Blog
;;; "haunt"
;;; "skribilo"
;; Emacs for Gui{le,x} dev
"emacs"
"emacs-auto-complete"
"emacs-paredit"
"emacs-geiser"
"emacs-ac-geiser"
"emacs-yasnippet"
"emacs-rainbow-delimiters"
"emacs-iedit"
"emacs-guix"
"emacs-flycheck"
"emacs-flycheck-guile"
"emacs-multiple-cursors"
"emacs-magit"
"emacs-ggtags"
"emacs-projectile"
;; Guile and tools
"guile"
"guile-readline"
"guile-colorized"
"guile-hall"
;; Doc
"info-reader"
"man-db"
"pkg-config"
;; Misc
"qemu"
))
Cheers,
Jérémy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnome and custom profile
2021-01-16 21:56 Gnome and custom profile Jérémy Korwin-Zmijowski
@ 2021-01-18 11:32 ` Pierre Neidhardt
2021-01-18 13:50 ` Jérémy Korwin-Zmijowski
2021-01-18 14:14 ` Luis Felipe
1 sibling, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2021-01-18 11:32 UTC (permalink / raw)
To: Jérémy Korwin-Zmijowski, help-guix
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
Hi Jérémy!
> $ cat .profile
> GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles
> export GUIX_EXTRA_PROFILES
> GUIX_PROFILE="${GUIX_EXTRA_PROFILES}/jeko"
Are you sure it's ${GUIX_EXTRA_PROFILES}/jeko and not ${GUIX_EXTRA_PROFILES}/jeko/jeko?
> . "$GUIX_PROFILE/etc/profile"
> XDG_DATA_DIRS="${XDG_DATA_DIRS}:${GUIX_EXTRA_PROFILES}/jeko/share"
Can you try the above GUIX_PROFILE setting and sourcing in a shell and
see if `env' shows any change?
Cheers!
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnome and custom profile
2021-01-18 11:32 ` Pierre Neidhardt
@ 2021-01-18 13:50 ` Jérémy Korwin-Zmijowski
0 siblings, 0 replies; 5+ messages in thread
From: Jérémy Korwin-Zmijowski @ 2021-01-18 13:50 UTC (permalink / raw)
To: Pierre Neidhardt, help-guix
Le lundi 18 janvier 2021 à 12:32 +0100, Pierre Neidhardt a écrit :
> Erreur lors de la vérification de la signature : Le lancement
> de GPG a échoué.
> Hi Jérémy!
>
>
> > $ cat .profile
> > GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles
> > export GUIX_EXTRA_PROFILES
> > GUIX_PROFILE="${GUIX_EXTRA_PROFILES}/jeko"
>
> Are you sure it's ${GUIX_EXTRA_PROFILES}/jeko and not
> ${GUIX_EXTRA_PROFILES}/jeko/jeko?
>
> > . "$GUIX_PROFILE/etc/profile"
> > XDG_DATA_DIRS="${XDG_DATA_DIRS}:${GUIX_EXTRA_PROFILES}
> > /jeko/share"
>
> Can you try the above GUIX_PROFILE setting and sourcing in a shell
> and
> see if `env' shows any change?
>
> Cheers!
>
Hello Pierre !
I am sure it's ${GUIX_EXTRA_PROFILES}/jeko
$ ls $HOME/.guix-extra-profiles/jeko
bin/ etc/ include/ lib/ libexec/ manifest sbin share/ var
I can source my .profile from command line, giving me access to
GUIX_EXTRA_PROFILES for example. But Gnome won't update XDG_DATA_DIRS
that way. I don't understand why it does not source it at login.
Jérémy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnome and custom profile
2021-01-16 21:56 Gnome and custom profile Jérémy Korwin-Zmijowski
2021-01-18 11:32 ` Pierre Neidhardt
@ 2021-01-18 14:14 ` Luis Felipe
2021-01-18 14:29 ` Jérémy Korwin-Zmijowski
1 sibling, 1 reply; 5+ messages in thread
From: Luis Felipe @ 2021-01-18 14:14 UTC (permalink / raw)
To: Jérémy Korwin-Zmijowski; +Cc: help-guix@gnu.org
Hi, Jérémy,
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, January 16, 2021 9:56 PM, Jérémy Korwin-Zmijowski <jeremy@korwin-zmijowski.fr> wrote:
> XDG_DATA_DIRS="${XDG_DATA_DIRS}:${GUIX_EXTRA_PROFILES}/jeko/share"
But are you sure you are exporting XDG_DATA_DIRS?
For what it's worth, I export that variable for GNOME to find the applications I install with Flatpak, and it works. I don't use .profile though, I use .bash_profile for that and to start the shepherd for user-level services when I log in to the desktop.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Gnome and custom profile
2021-01-18 14:14 ` Luis Felipe
@ 2021-01-18 14:29 ` Jérémy Korwin-Zmijowski
0 siblings, 0 replies; 5+ messages in thread
From: Jérémy Korwin-Zmijowski @ 2021-01-18 14:29 UTC (permalink / raw)
To: Luis Felipe; +Cc: help-guix@gnu.org
Le lundi 18 janvier 2021 à 14:14 +0000, Luis Felipe a écrit :
> Hi, Jérémy,
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Saturday, January 16, 2021 9:56 PM, Jérémy Korwin-Zmijowski <
> jeremy@korwin-zmijowski.fr> wrote:
>
> > XDG_DATA_DIRS="${XDG_DATA_DIRS}:${GUIX_EXTRA_PROFILES}/jeko/share"
>
> But are you sure you are exporting XDG_DATA_DIRS?
>
> For what it's worth, I export that variable for GNOME to find the
> applications I install with Flatpak, and it works. I don't use
> .profile though, I use .bash_profile for that and to start the
> shepherd for user-level services when I log in to the desktop.
I tried through .bash_profile and it works ! Thank you Luis !
Jérémy
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-01-18 14:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-16 21:56 Gnome and custom profile Jérémy Korwin-Zmijowski
2021-01-18 11:32 ` Pierre Neidhardt
2021-01-18 13:50 ` Jérémy Korwin-Zmijowski
2021-01-18 14:14 ` Luis Felipe
2021-01-18 14:29 ` Jérémy Korwin-Zmijowski
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).