On 05/25/2017 08:06 PM, Carsten Haitzler wrote:
On Thu, 25 May 2017 10:53:00 -0400 "William L. Thomson Jr." <[email protected]>
said:

On Thu, 25 May 2017 08:32:17 +0900
Carsten Haitzler (The Rasterman) <[email protected]> wrote:

On Wed, 24 May 2017 15:19:54 -0400 "William L. Thomson Jr."
<[email protected]> said:

before you init elm/efl:

char buf[1024];
snprintf(buf, sizeof(buf), "DISPLAY=%s", pe->display);
putenv(strdup(buf));

I think you mean before pinentry initializes and unsets DISPLAY or

ummm no. the parent process has already removed the env var before your
pinentry process is run. i read the gpg-agent code... i believe it's that that
spawns the pinentry... so the env var is already gone before your process even
begins to run.


+2 ;)

your only chance is to get it from arguments. this is why i said that gpg in
this case is simply creating extra work by passing as an arg rather than as an
env var which is what the rest of the "world" does (your environment determines
how to display - both for x11 and wayland).

Agree



other. I will test that out and see if that works. If that is the case
I may be able to call elm_init before I initialize pinentry and solve
it that way.

N + 0 = No
elm may not init x in elm_init.

Not your problem. The dsp sys goes how it .. should

 it may init it later (e.g. when the first

x11 is a bakup

window is really created), so don't depend on it being explicitly initted in
elm_init. just as long as by elm_init (and after) DISPLAY env var is set...


We like to have choices ;)

Otherwise I will have to save ENV variables and do a conditional on
ecore_x_init, and wayland_x_init,

NOT NEEDED !!!
with the proper setup, wl first, x11 sec. wl+x11 for FF ... but ...lazy browser...

dh

 and not sure what happens in other
envs like cocoa etc. Pinentry has its own windows port. Not sure EFL
would be used on Windows. I assume its used on OS X, but does not
seem to have anything specific for that in pinentry. Unless I missed
something.

--
William L. Thomson Jr.




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to