From: Gottfried <gottfried@posteo.de>
To: help-guix@gnu.org
Subject: Re: Help-Guix Digest, Vol 89, Issue 29
Date: Wed, 19 Apr 2023 16:05:56 +0000 [thread overview]
Message-ID: <64248064-5227-2e5f-3f7e-d70cd84e96ad@posteo.de> (raw)
In-Reply-To: <mailman.79.1681747224.15763.help-guix@gnu.org>
[-- 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 --]
next parent reply other threads:[~2023-04-19 16:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.79.1681747224.15763.help-guix@gnu.org>
2023-04-19 16:05 ` Gottfried [this message]
2023-04-19 18:54 ` Help-Guix Digest, Vol 89, Issue 29 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=64248064-5227-2e5f-3f7e-d70cd84e96ad@posteo.de \
--to=gottfried@posteo.de \
--cc=help-guix@gnu.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.