Skip to main content

Ralsina.Me — Roberto Alsina's website

A question for KDE devs...

... if I want to store a pass­word in kde­wal­let, from a non-kde ap­p, how can I do it?

It would be bet­ter if there was a client API I could link to that did­n't in­volve kdelib­s, or at least a DCOP in­ter­face.

This is nice tech­nol­o­gy, I want to use it.

Pinaraf / 2006-05-27 22:07:

There is a full DCOP interface for kwalletd (app kded, object kwalletd) :

dcop kded kwalletd isEnabled
dcop kded kwalletd localWallet
and so on...

George Staikos / 2006-05-27 23:25:

In KDE4 KwalletD should be a D-BUS daemon so it will be easier to communicate without linking in so many libraries.

Roberto Alsina / 2006-05-28 00:22:

Pinaraf: thanks, I was looking for it in KWalletManager...

Is there an example anywhere? Or is it the same API as from C++?

Aaron Seigo / 2006-05-28 00:25:

i totally understand how useful blogs are for having time-elapsed conversation that are more essay oriented rather than purely conversational.... but wasn't this a question that would've made a lot more sense to post to kde-devel?

in any case, yes, the dcop interface should work out fine if you don't mind using the dcop command line tools or linking to the dcop libs.

as george notes, dbus will make this even more kde-neutral going forward.

Roberto Alsina / 2006-05-28 00:38:

Aaron, for that, I would have to subscribe to kde-devel.

I am not interested, right now, to subscribe to any more mailing lists. I know it's selfish of me, but I am not coding a kde app, at all!

Subscribing even for a few days while I get my answer would be fairly annoying.

Now, maybe I should have instead posted an essay about how some of KDE's technologies should be more publicized for usage among non-KDE apps. It is probably worth writing, too.

Then I would get the answer and not post an "empty" entry, but I would probably be flamed if I did that, too, for not going to kde-pr or whatever before doing it, or for not writing the docs myself.

So I will not do that, either.

So, I posted those three lines.

Contents © 2000-2024 Roberto Alsina