Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#74376 - [xdg-desktop-portal-gnome] should depend on org.freedesktop.secrets, not gnome-keyring

Attached to Project: Arch Linux
Opened by Pascal Ernster (hardfalcon) - Wednesday, 06 April 2022, 22:47 GMT
Last edited by David Thurstenson (thurstylark) - Monday, 25 April 2022, 22:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
Private No

Details

xdg-desktop-portal-gnome <= 42.0.1-1 depends on the gnome-keyring package, but it should actually depend upon org.freedesktop.secrets instead.

I do use a GNOME desktop, but various shortcomes, lacking features and non-configurable "I try to be smarter than the user but instead just fuck up their user experience" things and similar issues make gnome-keyring mostly unusable for me, so I have replaced it with keepassxc. However, it appears that I still need xdg-desktop-portal-gnome to be able to use WebRTC screen sharing. Also, as soon as gnome-keyring is started, it forcibly replaces keepassxc for org.freedesktop.secrets stuff (which is obviously the most stupid behaviour imaginable in this situation).

I've tried all sorts of tricks and recommendations, including "write user-specific *.desktop files that are supposed to override and disable autostart of gnome-keyring's components, and the bottom line is: None of these tricks manage to reliably prevent gnome-keyring from getting started, and the *only* viable solution is to uninstall the gnome-keyring package (but keep the xdg-desktop-portal-gnome package installed for WebRTC screensharing, ignoring its dependency upon gnome-keyring).

I've been using this setup for like two years, and the *only* issue that keeps popping up is that every time there is a new release of the xdg-desktop-portal-gnome package, the unwanted gnome-keyring package gets pulled in again and causes problems as soon as I relogin into my desktop session the next time.

Hence, please replace the xdg-desktop-portal-gnome's dependency upon gnome-keyring into a dependency upon org.freedesktop.secrets.
This task depends upon

Comment by Jan Alexander Steffens (heftig) - Tuesday, 26 April 2022, 20:43 GMT
Only gnome-keyring provides the org.freedesktop.impl.portal.Secret service.
Comment by q rty (q234rty) - Thursday, 21 July 2022, 11:57 GMT
> Only gnome-keyring provides the org.freedesktop.impl.portal.Secret service.
Yes, but as far as I understand org.freedesktop.impl.portal.Secret is not technically a part of xdg-desktop-portal-gnome: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome does not contain anything related to this portal at all and gnome-keyring provides this portal by itself. So IMO gnome-keyring should be relegated to an optional dependency, or there shouldn't be any dependency between the two at all.

Loading...