all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Help-Guix Digest, Vol 89, Issue 29
       [not found] <mailman.79.1681747224.15763.help-guix@gnu.org>
@ 2023-04-19 16:05 ` Gottfried
  2023-04-19 18:54   ` Martin Castillo
  0 siblings, 1 reply; 2+ messages in thread
From: Gottfried @ 2023-04-19 16:05 UTC (permalink / raw)
  To: help-guix


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

Hi,

thanks for help

I have MATE 1.24.1 Desktop
and GDM as display manager

> You need to know what display-manager (the program where you log in to
>> your user) you use and look at its documentation to see what files it
>> may source before it logs you in.

I didn’t find out which version of gdm I have.
the command "gdm --version" does not work.
So I don’t know at the moment which other commands I can use.


I also don’t know at the moment how I can find this in the documentation 
of gdm.
..........................................................................

Interestingly, after opening some packages like libreoffice in the 
terminal, it displays an icon in my main menu for choosing packages.

But not all packages I opened through the terminal show an icon

Kind regards
Gottfried

> Date: Mon, 17 Apr 2023 16:30:01 +0200
> From: Martin Castillo <castilma@uni-bremen.de>
> To: help-guix@gnu.org
> Subject: Re: to enable all profiles at login time
> Message-ID: <0b483b8f-2399-ea66-80fb-a2c1e20139e4@uni-bremen.de>
> Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> Hi,
> 
>>> 5.
>>> is there also a possibility to enable all my profiles when I log in
>>> to my MATE desktop?
>>
>> So that all applications (including terminal emulators, regardless of
>> their configuration) open with them already enabled? There's no such
>> possibility I know of :/
> 
> There is a way and I think it may even be standardized.
> On my non-guix distro I use sddm as display-manager. On login, it
> executes /usr/share/sddm/scripts/Xsession as my user.
> 
> It contains:
>     9 case $SHELL in
>    10   */bash)
>    11     [ -z "$BASH" ] && exec $SHELL $0 "$@"
>    12     set +o posix
>    13     [ -f /etc/profile ] && . /etc/profile
>    14     if [ -f $HOME/.bash_profile ]; then
>    15       . $HOME/.bash_profile
>    16     elif [ -f $HOME/.bash_login ]; then
>    17       . $HOME/.bash_login
>    18     elif [ -f $HOME/.profile ]; then
>    19       . $HOME/.profile
>    20     fi
> ...
>    41   */fish)
>    42     xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
>    43     $SHELL --login -c "/bin/sh -c 'export -p' > $xsess_tmp"
>    44     . $xsess_tmp
>    45     rm -f $xsess_tmp
>    46     ;;
>    47   *) # Plain sh, ksh, and anything we do not know.
>    48     [ -f /etc/profile ] && . /etc/profile
>    49     [ -f $HOME/.profile ] && . $HOME/.profile
> 
> 
> So it does try to find shell specific config files (for those that it
> knows about).
> 
> You need to know what display-manager (the program where you log in to
> your user) you use and look at its documentation to see what files it
> may source before it logs you in.
> 
> In that case, you don't need to launch bash as login shell in your
> terminal, because all the profiles are activated when you login.
> 
> Martin
> 
> 

[-- 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] 2+ messages in thread

* Re: Help-Guix Digest, Vol 89, Issue 29
  2023-04-19 16:05 ` Help-Guix Digest, Vol 89, Issue 29 Gottfried
@ 2023-04-19 18:54   ` Martin Castillo
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Castillo @ 2023-04-19 18:54 UTC (permalink / raw)
  To: help-guix

Hi,

sorry for the other mail, I just saw this one.

Am 19.04.23 um 18:05 schrieb Gottfried:
> Hi,
> 
> thanks for help
> 
> I have MATE 1.24.1 Desktop
> and GDM as display manager
> 

A quick search makes me think gdm sources .xprofile. So adding
source ~/.bash_profile
to ~/.xprofile should work.

[1]: Somewhat helpful archwiki entry: 
https://wiki.archlinux.org/title/environment_variables#Graphical_environment


Martin


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

end of thread, other threads:[~2023-04-19 19:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.79.1681747224.15763.help-guix@gnu.org>
2023-04-19 16:05 ` Help-Guix Digest, Vol 89, Issue 29 Gottfried
2023-04-19 18:54   ` Martin Castillo

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.