#clipboard #ringboard #x11 #tool

nightly app clipboard-history-x11

X11 Ringboard clipboard listener

17 releases (6 breaking)

new 0.6.2 Oct 28, 2024
0.5.4 Aug 14, 2024
0.2.0 Jul 25, 2024

#2121 in Development tools

47 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

~12–24MB
~346K SLoC