<div dir="ltr">I'm pretty sure this is expected...as Jacob says, X11 has multiple different paste sources (selections). Middle-click almost always uses the primary selection, which is different from the clipboard selection which pass's use of xclip defaults to if not otherwise specified.<div><br></div><div>I believe you can override with PASSWORD_STORE_X_SELECTION</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 9, 2019 at 1:58 PM Jacob MacDonald <<a href="mailto:jaccarmac@gmail.com">jaccarmac@gmail.com</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">I don't use XFCE or use middle-click paste, but I do know that DEs and<br>
X11 sometimes have different concepts of clipboard. I believe pass<br>
uses xclip, which makes the middle-click failure a little strange, but<br>
try Ctrl-Shift-V, context menu, etc. (In my case<br>
Ctrl-Shift-V/Shift-Ins/C-y [in Emacs]) will sometimes give me<br>
divergent results.<br>
<br>
On Sun, Jun 9, 2019 at 3:51 PM Hellmut Weber <<a href="mailto:mail@hellmutweber.de" target="_blank">mail@hellmutweber.de</a>> wrote:<br>
><br>
> Hi list,<br>
> I'm new to pass,<br>
> working on Lenovo W520 with Ubuntu-bionic server-amd with XFCE-GUI.<br>
><br>
> I just installed 'pass' and created a first '.password-store' and<br>
> entered my first password in the 'pass'-storage.<br>
><br>
> CLI-command (in xfce4-terminal)<br>
><br>
>   leo@leoncavallo:~$ pass mail/mailat<br>
><br>
> interactively asks for the passphrase of my gpg-privateKey,<br>
> then show the correct result in console.<br>
><br>
> BUT command<br>
>   leo@leoncavallo:~$ pass --cli=1 mail/mailat<br>
> shows the text:<br>
><br>
>   "Copied mail/mailat to clipboard. Will clear in 45 seconds."<br>
><br>
> BUT when clicking with middle mouse the previous content of the<br>
> clipboard is shown.<br>
><br>
> Am I missing somthing?<br>
><br>
><br>
> TIA<br>
><br>
> Best regards<br>
><br>
> Hellmut<br>
><br>
> --<br>
> Dr. Hellmut Weber             <a href="mailto:mail@hellmutweber.de" target="_blank">mail@hellmutweber.de</a><br>
> Podere Belvedere          I - 58040 Vetulonia (GR)<br>
> tel +39-0564-949683          mobil +39-377-4020743<br>
> tel dalla Germania:                  089 890572912<br>
> fax trasformato in email (pdf):    +49 89 22846855<br>
><br>
> Degenfeldstraße 2             tel   +49-89-3081172<br>
> D-80803 München-Schwabing    mobil +49-172-8450321<br>
> please: No DOCs, no PPTs.    why: <a href="http://tinyurl.com/cbgq" rel="noreferrer" target="_blank">tinyurl.com/cbgq</a><br>
> _______________________________________________<br>
> Password-Store mailing list<br>
> <a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
> <a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
_______________________________________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
</blockquote></div>