Blog-Archiv

Montag, 29. Januar 2024

Prevent Webkit Browsers Ask for Password on LINUX

Update for year 2025:

For Chrome or Brave browsers you can press the ESCAPE key when the dialog asks you to unlock the keyring. At least after the third ESCAPE it will give up and let the browser start. I don't believe that a web-browser needs the keyring.

No longer the --password-store=basic option in file chrome-browser.desktop helps. Either you switch off your auto-login and enter your password any time you start your machine, or you unlock the keyring manually on demand only. This demand may not appear so soon, only few applications use the LINUX keystore. Every application that wants to access it will ask separately for its password through an operating-system managed dialog. So there is no urgent need to unlock the keyring.

To unlock the keyring manually, go to the list of your installed applications (Ubuntu: "Show Apps", first or last button on taksbar) and search for "keyring". It will find an application called

  • "Passwords and Keys" (project "Seahorse")

Here you can click onto "Login" below "Passwords" menu. If the keyring has not been unlocked yet, the green button on right side will lead to the keyring password dialog.


Original article from 2024:

Any time I start a Brave or Chrome web-browser on my LINUX machine, I see a nasty modal password dialog that prevents the browser from starting up. Here is how to get rid of that dialog, on LINUX.

For Brave browser, open a command terminal and edit the file

sudo gedit /usr/share/applications/brave-browser.desktop

For Chrome browser, it would be

sudo gedit /usr/share/applications/chrome-browser.desktop

Then change the "Exec" line to following:

Exec=/usr/bin/brave-browser --password-store=basic %U

The "--password-store=basic" argument should do the job. When you restart the bowser now, the nasty password dialog should not appear any more.

You could also copy the /usr/share/applications/brave-browser.desktop file to $HOME/.local/share/applications and edit it there, that way you avoid the sudo command.