2 # This script is run when logging in via GDM to gnome.
3 # I use it to start stuff I don't want to configure gnome to start.
5 # Note that this script is run before the session is fully setup.
6 # As a consequence it can't start a terminal.
8 # Source global environment file.
11 # pull in keys, if installed
12 if [ -x "$(which keychain)" ]; then
13 SSH_ASKPASS
=/usr
/bin
/ssh-askpass
15 keychain
--inherit any-once
--ignore-missing id_rsa id_ed25519
17 [ -f ~
/.keychain
/$host-sh ] && . ~
/.keychain
/$host-sh
18 [ -f ~
/.keychain
/$host-sh-gpg ] && . ~
/.keychain
/$host-sh-gpg
20 if [ -x "$(which gpgconf)" ]; then
21 # if gnupg is installed, we should gpgconf and gpg-connect-agent.
22 gpg-connect-agent
/bye
23 export SSH_AUTH_SOCK
=$
(gpgconf
--list-dirs agent-ssh-socket
)
32 # This makes X work when I su to root.
33 if [ -z "$XAUTHORITY" ]; then
34 XAUTHORITY
=$HOME/.Xauthority
37 #[ -r $HOME/.guix-profile/share/fonts/terminus/fonts.dir ] && xset +fp $HOME/.guix-profile/share/fonts/terminus
38 #[ -r $HOME/.guix-profile/share/fonts/X11/75dpi/fonts.dir ] && xset +fp $HOME/.guix-profile/share/fonts/X11/75dpi
39 #[ -r $HOME/.guix-profile/share/fonts/X11/100dpi/fonts.dir ] && xset +fp $HOME/.guix-profile/share/fonts/X11/100dpi
40 #[ -r $HOME/.guix-profile/share/fonts/X11/misc/fonts.dir ] && xset +fp $HOME/.guix-profile/share/fonts/X11/misc
41 #[ -r $HOME/.guix-profile/share/fonts/X11/truetype/fonts.dir ] && xset +fp $HOME/.guix-profile/share/fonts/truetype
43 xrdb
-merge $HOME/.Xresources
50 xsetroot
-cursor_name left_ptr