I'm not expert but it's my understanding that xinitrc will only run when the x server starts, not before your shell.
Try adding # You probably need to do this too: export GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO SSH_AUTH_SOCK Into your .bashrc or .profile. I'm not really sure exactly where the values for these come in! Cheers, Adam On Mar 21, 2014 8:39 PM, "Niklas Semmler" <[email protected]> wrote: > Hello qtile group, > > somehow the environment variables in my xinitrc are not accessible after > startup. Could you help me find the problem? > > My login manager GDM starts qtile with "startx /usr/bin/qtile" > > ==== BEGIN ~/.xinitrc > #!/bin/sh > # [some comments, excluded for brevity] > if [ -d /etc/X11/xinit/xinitrc.d ]; then > for f in /etc/X11/xinit/xinitrc.d/*; do > [ -x "$f" ] && . "$f" > done > unset f > fi > > # Start GNOME Keyring > eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11, > secrets,ssh) > # You probably need to do this too: > export GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO SSH_AUTH_SOCK > > exec $1 > ==== END > > when I open a new shell afterwards and run > $> env | grep GNOME > > I receive nothing. Any ideas? > > Best, > Niklas > > > -- > You received this message because you are subscribed to the Google Groups > "qtile-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
