qtkeychain icon indicating copy to clipboard operation
qtkeychain copied to clipboard

Does not check for gnome-keyring when running in KDE

Open ChristophGr opened this issue 9 years ago • 4 comments

It did work in 0.3, but stopped in 0.4

I can workaround that bug, by overriding the XDG_CURRENT_DESKTOP environment variable

XDG_CURRENT_DESKTOP=GNOME owncloud

ChristophGr avatar Sep 25 '14 20:09 ChristophGr

Not sure it's a bug. If running in KDE, it should give preference to kwallet, at least when that's available. Do you have kwalletd running, or not? What happens in your case without XDG_CURRENT_DESKTOP set?

frankosterfeld avatar Sep 26 '14 08:09 frankosterfeld

I have no kwalletd running (I disabled it via Account Details in System-settings). This is what happens when I run the test-client

➜ ~/oss/qtkeychain(master⚡) » ./testclient store myaccount pass                                                                                                                                  1 ↵
Storing password failed: Could not open wallet: org.freedesktop.DBus.Error.ServiceUnknown; The name org.kde.kwalletd was not provided by any .service files
➜ ~/oss/qtkeychain(master⚡) » ./testclient restore myaccount 
Restoring password failed: No keychain service available
➜ ~/oss/qtkeychain(master⚡) » XDG_CURRENT_DESKTOP=GNOME ./testclient store myaccount pass                                                                                                        1 ↵
Password stored successfully
➜ ~/oss/qtkeychain(master⚡) » XDG_CURRENT_DESKTOP=GNOME ./testclient restore myaccount
pass

ChristophGr avatar Sep 26 '14 08:09 ChristophGr

@ChristophGr Can I ask you to have a look at https://github.com/owncloud/client/issues/3726 ? How did you fix the issue?

guruz avatar Nov 03 '15 13:11 guruz

For me nothing has changed yet. But I'm still running gnome-keyring 3.16 on Fedora 22

ChristophGr avatar Nov 03 '15 14:11 ChristophGr