Этот коммит содержится в:
Ihar Hancharenka 2025-06-10 18:45:22 +03:00
родитель 34320ab533
Коммит d7720d1c57
2 изменённых файлов: 40 добавлений и 10 удалений

Просмотреть файл

@ -0,0 +1,4 @@
[D-BUS Service]
Name=org.freedesktop.secrets
# Exec=/usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
Exec=/usr/bin/keepassxc

Просмотреть файл

@ -1,5 +1,7 @@
https://github.com/brotskydotcom/dbus-secret-service
/usr/share/dbus-1/
integration
https://lib.rs/crates/dbus-secret-service
https://github.com/swiesend/secret-service
@ -10,20 +12,44 @@ integration
https://superuser.com/questions/536433/what-applications-provide-org-freedesktop-secrets-service
https://bilelmoussaoui.github.io/oo7/oo7/
https://github.com/bilelmoussaoui/oo7
keepassxc
https://gist.github.com/GrabbenD/6658c36a1c7fc7ee30ee2498647ca4c6
cat $HOME/.local/share/dbus-1/services/org.freedesktop.secrets.service
/usr/share/dbus-1/
/usr/share/dbus-1/services/
/usr/share/dbus-1/services/org.freedesktop.secrets.service
keepassxc
https://gist.github.com/GrabbenD/6658c36a1c7fc7ee30ee2498647ca4c6
echo $XDG_RUNTIME_DIR
/run/user/1000
cp /usr/share/dbus-1/services/org.freedesktop.secrets.service ~/.local/share/dbus-1/services
cat $HOME/.local/share/dbus-1/services/org.freedesktop.secrets.service
sudo dnf install xdg-desktop-portal xdg-desktop-portal-wlr xdg-desktop-portal-gtk
[D-BUS Service]
Name=org.freedesktop.secrets
# Exec=/usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
Exec=/usr/bin/keepassxc
https://stackoverflow.com/questions/31702465/how-to-define-a-d-bus-activated-systemd-service
/usr/share/dbus-1/
/usr/share/dbus-1/services/
/usr/share/dbus-1/services/org.freedesktop.secrets.service
echo $XDG_RUNTIME_DIR
/run/user/1000
sudo dnf install xdg-desktop-portal xdg-desktop-portal-wlr xdg-desktop-portal-gtk libsecret
# everything is already installed
Register as the default Secret Service provider (DBus service)
https://github.com/keepassxreboot/keepassxc/issues/6274#issuecomment-2061095854
systemctl status --user xdg-desktop-portal{,-wlr,-gtk} | grep Active
systemctl status --user dbus-broker.service | grep Active
https://stackoverflow.com/questions/31702465/how-to-define-a-d-bus-activated-systemd-service
$ cat /usr/lib/systemd/system/systemd-hostnamed.service
...
[Service]
BusName=org.freedesktop.hostname1
...
$ readlink /usr/lib/systemd/system/dbus-org.freedesktop.hostname1.service
systemd-hostnamed.service
?
$ loginctl session-status