Fix kde and gpg setup.