all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: to enable all profiles at login time
@ 2023-04-19 16:10 Gottfried
  2023-04-19 18:19 ` Martin Castillo
  0 siblings, 1 reply; 18+ messages in thread
From: Gottfried @ 2023-04-19 16:10 UTC (permalink / raw)
  To: g, help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 1437 bytes --]

Hi,

your email address is still blocked through my email-provider. So I 
don’t get it.

I am working on "Guix System" , not on a foreign distro.
So I don’t know if your suggestion I can use.
-- 
Kind regards

Gottfried

> Message: 1
> Date: Mon, 17 Apr 2023 19:25:57 +0200
> From: Giovanni Biscuolo <g@xelera.eu>
> To: Gottfried <gottfried@posteo.de>, help-guix@gnu.org
> Subject: Re: to enable all profiles at login time
> Message-ID: <87mt36o1y2.fsf@xelera.eu>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi Gottfried
> 
> I guess you are on a foreign distro
> 
> Gottfried <gottfried@posteo.de> writes:
> 
> [...]
> 
>> but when starting MATE Desktop all my profiles are not enabled.
> 
> graphical sessions environment is not controlled by .bash_profile (or
> .profile)
> 
> If your distro works like Debian [1], try to add this to your ~/.xsessionrc:
> 
> if [ -f ~/.bash_profile ]; then
>     . ~/.bash_profile
> fi
> 
> Details here:
> https://wiki.debian.org/Xsession#User_configuration
> 
> [...]
> 
> Happy hacking! Gio'
> 
> -- 
> Giovanni Biscuolo
> 
> Xelera IT Infrastructures
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 849 bytes
> Desc: not available
> URL: <https://lists.gnu.org/archive/html/help-guix/attachments/20230417/0a961fe9/attachment.sig>


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

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

^ permalink raw reply	[flat|nested] 18+ messages in thread
* to enable all profiles at login time
@ 2023-04-16 13:09 Gottfried
  2023-04-16 20:18 ` Wojtek Kosior via
  2023-04-17 17:25 ` Giovanni Biscuolo
  0 siblings, 2 replies; 18+ messages in thread
From: Gottfried @ 2023-04-16 13:09 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 1061 bytes --]

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


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-04-20 13:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-19 16:10 to enable all profiles at login time Gottfried
2023-04-19 18:19 ` Martin Castillo
  -- strict thread matches above, loose matches on Subject: below --
2023-04-16 13:09 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
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

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.