#1006649 xclip: 'xclip -i -loops 2' allows infinite pastes

Package:
xclip
Source:
xclip
Description:
command line interface to X selections
Submitter:
Teemu Ikonen
Date:
2026-01-10 11:39:42 UTC
Severity:
normal
Tags:
#1006649#5
Date:
2022-03-01 13:14:45 UTC
From:
To:
Contrary to what the docs (manpage) say, after issuing this command:

    echo -n "test" | xclip -i -loops 2

I'm able to paste the test string seemingly infinitely to a buffer.
'xclip -i -loops 1' works as expected.

Note that I'm running xclip under wayland (and Gnome), which may have
something to do with this behaviour.

#1006649#10
Date:
2026-01-10 10:08:08 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.