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?

5

7 Answers

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
5

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)

2

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.

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

3

I solved this one out in the KWalletManager by creating a new wallet named test and replacing the .salt file from the existing wallet named kdewallet, with the .salt file of the newly created wallet test.

So

cd /home/'username'/.kde4/share/apps/kwallet
mv kdewallet.salt .kdewallet.salt;cp test.salt kdewallet.salt

And now the existing wallet named kdewallet has the password for the newly created test wallet.

Distro: Mageia 5.

One way is just to give chrome a fake dbus socket (Also you will probably need to disable password manager... you can use Paster Password Manager as an alternative)

env DBUS_SESSION_BUS_ADDRESS=none chrome 

A quick solution is to just change KWallet's password to a blank one:

KDE's Application Menu (or Launcher, etc.) > System > KWalletManager > Change Password... > OK > Yes

This ends KWallet's password pop-ups when starting Chrome/Chromium.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like