#clipboard #x11 #ringboard #tool

nightly app clipboard-history-x11

X11 Ringboard clipboard listener

16 releases (6 breaking)

0.6.1 Aug 30, 2024
0.5.4 Aug 14, 2024
0.2.0 Jul 25, 2024

#2224 in Development tools

Download history 219/week @ 2024-06-23 174/week @ 2024-06-30 2/week @ 2024-07-07 133/week @ 2024-07-21 15/week @ 2024-07-28 980/week @ 2024-08-04 203/week @ 2024-08-11 31/week @ 2024-08-18 311/week @ 2024-08-25 45/week @ 2024-09-01 9/week @ 2024-09-08 18/week @ 2024-09-15

385 downloads per month

Apache-2.0

120KB
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.

Dependencies

~11–21MB
~341K SLoC