[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help-Guix Digest, Vol 89, Issue 29
From: |
Gottfried |
Subject: |
Re: Help-Guix Digest, Vol 89, Issue 29 |
Date: |
Wed, 19 Apr 2023 16:05:56 +0000 |
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
OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
- Re: Help-Guix Digest, Vol 89, Issue 29,
Gottfried <=