2 # This file is not used when using gnome as the session manager.
3 # It only contains stuff normally started by gnome-session.
5 #gnome-settings-daemon &
6 #wicd-client & #nm-applet &
9 #unclutter -root -grab &
15 # This script is run when logging in via GDM to gnome.
16 # I use it to start stuff I don't want to configure gnome to start.
18 # Note that this script is run before the session is fully setup.
19 # As a consequence it can't start a terminal.
21 # pull in keys, if installed
22 if [ -x "$(which keychain)" ]; then
23 # SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass
25 keychain
###--inherit any-once --ignore-missing id_rsa id_ed25519
27 [ -f ~
/.keychain
/$host-sh ] && . ~
/.keychain
/$host-sh
28 [ -f ~
/.keychain
/$host-sh-gpg ] && . ~
/.keychain
/$host-sh-gpg
31 # Source global environment file.
40 # This makes X work when I su to root.
41 if [ -z "$XAUTHORITY" ]; then
42 XAUTHORITY
=$HOME/.Xauthority
46 xrdb
-merge $HOME/.Xresources
49 #/usr/bin/emacs --daemon
50 exec /usr
/bin
/xwin-xdg-menu