Disable kde wallet service popup after login

From raju

Situation

KDE Wallet Service prompts for a password every time after logging in.

    Title: KDE Wallet Service
    Text: The application 'kde5' has requested to open the wallet 'kdewallet'. Please enter the password for this wallet below.
    

Screenshot:

KDE Wallet Service popup.png

Desired behavior

Disable the popup as I do not intend to use KDE wallet.

Solution

Add "Enabled=false" to the Wallet section of the kwallet's configuration file. For example, this is what I have

    % cat ~/.config/kwalletrc
    [Migration]
    alreadyMigrated=true
    
    [Wallet]
    Enabled=false
    

Log out and log back in.

Result

No popup after login.

System Information

    % dpkg -l \*kwallet\* | grep ^ii
    ii  libkwalletbackend5-5:amd64 5.28.0-3     amd64        Secure and unified container for user passwords.
    ii  libpam-kwallet-common      5.8.4-1      all          KWallet integration with PAM (common files)
    ii  libpam-kwallet5            5.8.4-1      amd64        KWallet (Kf5) integration with PAM
    
    % cat /etc/debian_version 
    9.4
    
    % uname -a
    Linux hogwarts 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux