Skip to content

Instantly share code, notes, and snippets.

@tonylambiris
Created May 10, 2019 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonylambiris/b69757f77942db925c258ba855214a0d to your computer and use it in GitHub Desktop.
Save tonylambiris/b69757f77942db925c258ba855214a0d to your computer and use it in GitHub Desktop.
Fix-up for keychain when running GNOME with nvidia-xrun
if [ $# -gt 0 ]; then
$*
else
dbus-update-activation-environment --systemd DISPLAY
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
exec gnome-session
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment