“You’re running in a KDE environment but the OS keyring is not available for encryption. Ensure you have kwallet running.”, follow these steps to configure VS Code to use gnome-libsecret instead of KWallet:
1. Create Configuration File:
touch ~/.config/Code/User/argv.json
then write the content:
{
"password-store": "gnome-libsecret"
}
2. Install Prerequisites:
Install gnome-keyring by running:
sudo apt install gnome-keyring -y
3. Launch VS Code with gnome-libsecret:
code --password-store="gnome-libsecret"