Solution for VS Code and KWallet Integration Issues on Ubuntu

“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"

发表评论

在 WordPress.com 上免费创建您自己的网站。创建您自己的网站。
免费开始