Disable kwallet popups from chrome

I've edited ~/.kde/share/config/kwalletrc and added

[Auto Deny]
kdewallet=Chromium

In the KDE Wallet Configuration in system settings I've unchecked "Enable the KDE wallet subsystem". This also seems to add:

[Auto Deny]
kdewallet[$d]

However I'm still getting a popup when I visit my first page in google chrome. How can I stop it?

I've noticed there are actually two locations for wallets. One in ~/.kde/share/apps/kwallet/ and one in ~/.local/share/kwalletd/. At one point when I changed the KDE colour theme I noticed the popup for chrome was different to the GUI I got through system settings. There's also a duplicate KDE Wallet Configuration I can get by running kwalletmanager->Settings->Configure Wallet where I get the same options but their own set of values. Even after unchecking "Enable the KDE wallet subsystem" here as well I still get a popup from chrome. What's going on with the mess of multiple config locations and settings pages?


Solution 1:

You can completely disable the KWallet backend by adding the following command-line flag to Chrome: --password-store=basic

For instance (if you're using Ubuntu's Chromium build), edit /etc/chromium-browser/default (system-wide) or ~/.chromium-browser.init (per-user) and add the flag to CHROMIUM_FLAGS. E.g.:

# Default settings for chromium-browser. This file is sourced by /bin/sh from
# /usr/bin/chromium-browser

# Options to pass to chromium-browser
CHROMIUM_FLAGS="--password-store=basic"

If you're using ArchLinux's Chromium build, edit ~/.config/chromium-flags.conf and add:

--password-store=basic

Solution 2:

No matter what distro you're on this might work.

Open "google-chrome" file with a text editor (I used kate <3)

kdesu kate /opt/google/chrome/google-chrome

Paste this at the end of file with quote sign

"--password-store=basic"

So it must look like this

else
  exec -a "$0" "$HERE/chrome"  "$@" "--password-store=basic"
fi

SAVE AND EXIT. DONE!

(I tried it on OpenSUSE Thumbleweed with success! :D)

Solution 3:

I found a simple solution, that works a 100% of the time, on any version of KDE:

I couldn't find any way to get kwallet off my system. There are some dependency issues and pacman won't let you remove the package. However I managed to avoid the irritating pop ups. First you need to remove any existing wallet. Delete the files under ~/.kde/share/apps/kwallet/.

Next time you do anything that interests Kwallet, it will pop up again. But this time it will ask you for an encryption method, blowfish or gpg. Select blowfish and when asked for a password, provide an empty password.

It won't ask for password anymore. This method worked for me on kwallet 5.13. Hopefully it will work for you too.

Solution 4:

The easiest solution to this Problem got served by the later KDE Plasma Versions. I currently use Version 5.12.7.

1. Go to: System Settings -> Account Details (Personalization) -> KDE Wallet

2. Uncheck the Box "Enable the KDE wallet subsystem"

3. Apply