You are not logged in.

#1 2019-04-04 23:03:37

olocin
Member
Registered: 2018-01-03
Posts: 171

eval vs export gnome-keyring demon in xinitrc

The arch wiki, wrt gnome-keyring unlocking at login for nm-applet to use it, suggests, among other things, to have in .xinitrc

eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK

while the gentoo wiki has similar but different

export $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)

Both seem to work equally well for me, but I'd like to understand the differences, if any.
Is anyone so kind to explain it to me in layman's terms?

Offline

#2 2019-04-04 23:46:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: eval vs export gnome-keyring demon in xinitrc

I gather the gnome-keyring-daemon returns "SSH_AUTH_SOCK=...".  In that case, the two are equivalent except that the first has a useless `eval` and the second includes gpg.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB