#clipboard #ringboard #x11 #tool

nightly app clipboard-history-x11

X11 Ringboard clipboard listener

20 releases (8 breaking)

0.8.1 Nov 27, 2024
0.7.0 Nov 12, 2024
0.2.0 Jul 25, 2024

#2281 in Development tools

Download history 19/week @ 2024-08-19 331/week @ 2024-08-26 25/week @ 2024-09-02 8/week @ 2024-09-09 23/week @ 2024-09-16 18/week @ 2024-09-23 8/week @ 2024-09-30 15/week @ 2024-10-07 13/week @ 2024-10-14 7/week @ 2024-10-21 162/week @ 2024-10-28 50/week @ 2024-11-04 135/week @ 2024-11-11 23/week @ 2024-11-18 313/week @ 2024-11-25 16/week @ 2024-12-02

490 downloads per month

Apache-2.0

130KB
3.5K SLoC

Ringboard X11

Crates.io Version

This binary provides an X11 clipboard watching service for the Ringboard database. It connects to the X11 and Ringboard servers and uses the X11 XFixes extension to monitor the clipboard for new clipboard selections to send to the Ringboard server.

Additionally, it offers a paste server capable of becoming the X11 selection owner for clients to call.

Implementation notes

  • Primary selections are not supported.
  • Blank and empty clipboard contents selections are not supported.
  • A plain text fast path is implemented wherein an attempt will first be made to retrieve UTF8_STRING data before falling back to a TARGETS query.
  • Target prioritization is implemented in best_target.rs.
  • Best effort duplicate entry avoidance is provided with content hashing up to 4096 bytes and length hashing thereafter.

Developer resources

Dependencies

~12–21MB
~342K SLoC