<div dir="ltr"><div><div><div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Try putting an executable shell script with this export line in a folder named<br>$HOME/.config/plasma-workspace/env .</blockquote><br></div>I did that and found out that it still didn't work.<br></div>But after removing that variable export from ~/.bashrc & reboot, it worked!<br><br></div><div>Thanks for the solution!<br></div><div><br></div>So here is the solution summary:<br><br></div>This line:<br><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-im">export PINENTRY_KDE_USE_WALLET=1<br></span></blockquote><div><br></div><div>Should be put in a script located at:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">$HOME/.config/plasma-workspace/env</blockquote>For eg:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">$HOME/.config/plasma-workspace/env/pinentry-kde-fix.sh</blockquote></div><div></div><div>Should *not* be present inside ~/.bashrc else it won't work.<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 14 Oct 2024 at 17:11, Ingo Klöcker <<a href="mailto:kloecker@kde.org" target="_blank">kloecker@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Montag, 14. Oktober 2024 05:18:05 MESZ Mihir Rabade via Gnupg-users wrote:<br>
> I'm using KDE Plasma 6.2.0<br>
> I have disabled KDE Wallet integration.<br>
> I have enabled KeepassXC's Secret Integration.<br>
> I'm using Endeavour OS which is arch based.<br>
> <br>
> Earlier I referred <a href="https://wiki.archlinux.org/title/GnuPG#pinentry" rel="noreferrer" target="_blank">https://wiki.archlinux.org/title/GnuPG#pinentry</a> so I<br>
> switched between pinentry, pinentry-gnome3, -gtk, -qt, -qt5, but it didn't<br>
> work.<br>
> <br>
> Then I added in ~/.bashrc this: (and also checked <a href="https://dev.gnupg.org/D599" rel="noreferrer" target="_blank">https://dev.gnupg.org/D599</a><br>
> for any syntax issue)<br>
> <br>
> > export PINENTRY_KDE_USE_WALLET=1<br>
<br>
Try putting an executable shell script with this export line in a folder named<br>
$HOME/.config/plasma-workspace/env .<br>
<br>
This will make sure that the environment variable is known to all processes <br>
started in the Plasma session. See<br>
<a href="https://userbase.kde.org/Session_Environment_Variables" rel="noreferrer" target="_blank">https://userbase.kde.org/Session_Environment_Variables</a> for details.<br>
<br>
Regards,<br>
Ingo<br>
_______________________________________________<br>
Gnupg-users mailing list<br>
<a href="mailto:Gnupg-users@gnupg.org" target="_blank">Gnupg-users@gnupg.org</a><br>
<a href="https://lists.gnupg.org/mailman/listinfo/gnupg-users" rel="noreferrer" target="_blank">https://lists.gnupg.org/mailman/listinfo/gnupg-users</a><br>
</blockquote></div>