[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
to enable all profiles at login time
From: |
Gottfried |
Subject: |
to enable all profiles at login time |
Date: |
Sun, 16 Apr 2023 13:09:00 +0000 |
Hi,
according to the cookbook
I added
--------------------------------------------
for i in $GUIX_EXTRA_PROFILES/*; do
profile=$i/$(basename "$i")
if [ -f "$profile"/etc/profile ]; then
GUIX_PROFILE="$profile"
. "$GUIX_PROFILE"/etc/profile
fi
unset profile
done
-----------------------------------------------
into my .bash_profile file
in order to enable all profiles at login time:
------------------------------------------------
My .bash_profile file looks now like that:
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
for i in $GUIX_EXTRA_PROFILES/*; do
profile=$i/$(basename "$i")
if [ -f "$profile"/etc/profile ]; then
GUIX_PROFILE="$profile"
. "$GUIX_PROFILE"/etc/profile
fi
unset profile
done
-----------------------------------------------
but when starting MATE Desktop all my profiles are not enabled.
Could somebody help because probably the two entries in my .bash_profile
got a mistake.
--
Kind regards
Gottfried
OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
- to enable all profiles at login time,
Gottfried <=
- Re: to enable all profiles at login time, Wojtek Kosior, 2023/04/16
- Re: to enable all profiles at login time, Gottfried, 2023/04/17
- Re: to enable all profiles at login time, Wojtek Kosior, 2023/04/17
- Re: to enable all profiles at login time, Gottfried, 2023/04/17
- Re: to enable all profiles at login time, Wojtek Kosior, 2023/04/17
- Re: to enable all profiles at login time, Martin Castillo, 2023/04/17
- Re: to enable all profiles at login time, Gottfried, 2023/04/17
- Re: to enable all profiles at login time, Wojtek Kosior, 2023/04/17
- Re: to enable all profiles at login time, Gottfried, 2023/04/18
- Re: to enable all profiles at login time, Sergiu Ivanov, 2023/04/17