A shell script to properly configure GNOME to play nice with a Yubikey. This script allows you to use your Yubikey for GPG and SSH while leaving passwords and PK11 for GNOME keyring (Ubuntu 15.04-17.10)
Copied from hyper3xpl0iter@github
I just modified the deb source locations since the country mirrors of archive.ubuntu.org do not contain vivid anymore.
CAVE: The removal of the new versions of gpg and so on also removes
sudo apt-get -y install gnome-control-center has to be done afterwards.
Some other link that finally fixed the card not present error after un/replugging (at least it looks like it did)