#clipboard #ringboard #x11 #tool

nightly app ringboard-x11

X11 Ringboard clipboard listener

4 releases (2 breaking)

new 0.6.1 Aug 30, 2024
0.6.0 Aug 26, 2024
0.5.4 Aug 20, 2024
0.0.0 Aug 20, 2024

#563 in Development tools

Download history 247/week @ 2024-08-19 313/week @ 2024-08-26

560 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–21MB
~345K SLoC