-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS Code detects KDE instead of GNOME for password store #415
Comments
Adding |
Does nothing for me, unfortunately. |
@SeaDve Where is this file located? |
Run |
@SeaDve This doesn't work for me, it also gives me |
I have tried adding both |
In my case, it had given me the same warning in argv.json but it worked nonetheless. In any case, try launching VS Code this way first for logging as well as for testing the workaround: flatpak run com.visualstudio.code --verbose --vmodule="*/components/os_crypt/*=1" --password-store=gnome-libsecret If the issue is solved, you can proceed to add If it doesn't, close VS Code and check the logs for errors. Note: In my case, I am indeed using KDE Plasma and |
@irfanhakim-as Thank you for the help! As before, it does not work for me. This is what I found in the log: [23:0809/233425.828199:VERBOSE1:key_storage_linux.cc(174)] OSCrypt using Libsecret as backend.
[23:0809/233425.832975:VERBOSE1:key_storage_libsecret.cc(82)] OSCrypt generated a new password.
[23:0809/233425.833799:INFO:CONSOLE(627)] "%cTRACE color: #888 Layout#layout, height: 1048, width: 1920", source: vscode-file://vscode-app/app/extra/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js (627)
[main 2023-08-09T21:34:25.834Z] window#load: window reported ready (id: 1)
[main 2023-08-09T21:34:25.834Z] ElectronURLListener#flush(): flushing URLs
[23:0809/233425.864152:INFO:CONSOLE(627)] "%cTRACE color: #888 [secrets] getting secret for key: secret://vscode.loginAccount", source: vscode-file://vscode-app/app/extra/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js (627)
[23:0809/233425.864483:INFO:CONSOLE(627)] "%cTRACE color: #888 [secrets] no secret found for key: secret://vscode.loginAccount", source: vscode-file://vscode-app/app/extra/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js (627)
[main 2023-08-09T21:34:25.864Z] Going to get password from keytar: vscode.login account
[main 2023-08-09T21:34:25.868Z] Doing get password from keytar: vscode.login account
[main 2023-08-09T21:34:25.869Z] Did not get a password from keytar for account: account |
In my case, set argv.json ""password-store": "gnome-libsecret"" and install "zypper install gnome-keyring", then vscode work (sync with github) |
I'm actually running KDE but ran into this and while the editor tab for |
using your command @irfanhakim-as i notice the following issue:
seems that it finds the values but fails to decode them for some reason. |
дело было так! С недавнего времени эти ключи добавились после очередного обновления, добавили проверку ключей и в ларужении KDE. Предпологаю: опять надо обманывать систему. Если сработает конечно. Писал себе такое https://yvsik.ru/forum/topic/c%d0%b2%d1%8f%d0%b7%d0%ba%d0%b0-%d0%ba%d0%bb%d1%8e%d1%87%d0%b5%d0%b9/ теперь надо находить как от этих ключей збавляться. |
даже манул предлогает это сделать, . Если вы используете KDE5 или выше и у вас возникают проблемы с подключением к kwallet5 (например, у пользователей неофициального пакета VS Code Flatpak в выпуске # 189672), вы можете попробовать настроить связку ключей на gnome-libsecret, поскольку при этом для связи с любой действующей связкой ключей будет использоваться Secret Service API. kwallet5 реализует API секретной службы и может быть доступна с помощью этого метода. |
Yeah, I'll not click on any of the provided links. |
скажу больше, если почитать что они там пишут Что они там курят (эти микро мягкие)и кто их просит? |
Всё, сам справился ,а вы? Только дергается к сайту GitHub, надо на сайте тоже согласиться атоматизировать и все ... |
Ever since the last update, something broke which causes VSC to show an error like this at startup:
This causes me to be forcibly logged out of settings sync. Problem is, I use Gnome and have been using it for months.
What is going on?
Note: I've tried this resource: https://code.visualstudio.com/docs/editor/settings-sync#_other-linux-desktop-environments but to no avail.
The text was updated successfully, but these errors were encountered: