bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34216: Shroud require xclip for x clipboard


From: Efraim Flashner
Subject: bug#34216: Shroud require xclip for x clipboard
Date: Sun, 27 Jan 2019 13:02:01 +0200
User-agent: Mutt/1.11.0 (2018-11-25)

On Sun, Jan 27, 2019 at 04:23:52PM +0530, nly wrote:
> 
> 
> > /gnu/store/w862nkwzvv2m3ng5lg5zlic1i962g416-gnupg-2.2.12           238.8    
> > 10.1   3.8%
> > /gnu/store/agz9m74v7235h30mc3bdmj2nmyxqga4c-xclip-0.13             102.7    
> >  0.1   0.0%
> > Looks like xclip is already in the closure of shroud,
> 
> I see, thanks.
> 
> > patch the reference to it so shroud can always find xclip.
> 
> How? 
> 
> Snippet from (shroud utils):
> 
> ;; Instance of use of xclip
> (define (call-with-clipboard proc)
>   "Call PROC with an open output port to the X clipboard."
>   (call-with-output-pipe* (list %xclip "-selection" "clipboard") proc))
> 
> ;; Use of gpg
> (define (call-with-encrypted-output-file file user-id proc)
>   "Apply PROC with an output port that writes encrypted data to FILE
> for the recipient USER-ID."
>   (call-with-output-pipe* `(,(gpg-binary)
>                             "--no-tty" "--batch" "--yes"
>                             "--encrypt" "--armor"
>                             "--recipient" ,user-id
>                             "--output" ,file)
>     proc))
> 
> Thanks,
> amar

I also looked at the code and it looks like there's already substitution
in place to record the locations of xclip and gpg. Perhaps you're trying
to paste from the wrong clipboard? "clipboard" indicates that "Control + V"
should work for pasting.

-- 
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]