"Writing login information to the keychain failed with error 'GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files'."
Since very recently I haved been seeing this error in Code OSS. A bit of searching around made me clear that I NEED to have gnome-keyring. Otherwise this error is the result. And 'pacman -Qi' shows that gnome-keyring is an optional dependency of code-features, while not being any dependency of code itself or code-marketplace. And indeed installing gnome-keyring fixes the issue. (I've may have had gnome-keyring before as a depencency of other packages, but things change and a 'pacman -Rs $(pacman -Qdtq)' that I run regularly may have removed it as currently no other package on my system seems to need it anymore - I use Xfce, not GNOME anyway.)
So: Why is gnome-keyring an defined as an optional depencency for this package while it should be a required one??
Pinned Comments
sainnhe commented on 2024-11-01 14:53 (UTC) (edited on 2024-11-02 03:08 (UTC) by sainnhe)
New Command Available in 1.95.0-2
Now there is a new command /usr/bin/code-features-update that can update the patch to keep up with the official vscode release. You can use this command to manually update the patch when this package is out of date or some extensions don't work after an update in extra/code.
sainnhe commented on 2024-05-17 03:39 (UTC) (edited on 2024-10-26 10:10 (UTC) by sainnhe)
About this package
This package installs a hook that will patch product.json every time the code package is updated. The patch basically does the following:
~/.vscode
and~/.Code
instead of~/.vscode-oss
and~/.Code OSS
.You might be confused why this package changes the data directory. There are two reasons:
If you don't like this behavior, simply create a symlink.
About proprietary extensions
Proprietary extensions are not guaranteed to work, because some extensions will actively detect whether the current running environment is the official vscode release, and it's very hard to bypass their detection at all time.
If some extensions don't work, try:
makepkg -fsi
to rebuild and install this package.