Add gpg-agent to startup.
[james-home-plus.git] / .startxwinrc
blobf6f7b22fd2f461eefd415651297d07c68bb0835b
1 #!/bin/sh
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 &
7 #gnome-power-manager &
8 #gnome-panel &
9 #unclutter -root -grab &
11 # rest in here
12 #. $HOME/.xsessionrc
14 #! /bin/sh
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
24 # export SSH_ASKPASS
25 keychain ###--inherit any-once --ignore-missing id_rsa id_ed25519
26 host=`uname -n`
27 [ -f ~/.keychain/$host-sh ] && . ~/.keychain/$host-sh
28 [ -f ~/.keychain/$host-sh-gpg ] && . ~/.keychain/$host-sh-gpg
31 # Source global environment file.
32 . $HOME/.environment
34 # I use utf-8 int X.
35 LANG=en_US.UTF-8
36 export LANG
38 HOSTNAME=$(hostname)
40 # This makes X work when I su to root.
41 if [ -z "$XAUTHORITY" ]; then
42 XAUTHORITY=$HOME/.Xauthority
43 export XAUTHORITY
46 xrdb -merge $HOME/.Xresources
47 xmodmap ~/.Xmodmap &
48 xset s off &
49 #/usr/bin/emacs --daemon
50 exec /usr/bin/xwin-xdg-menu