Clipboard: System clipboard interface.

[ bsd3, library, system ] [ Propose Tags ] [ Report a vulnerability ]

Clipboard is a library for easily interfacing with the system clipboard with additional unicode support. Currently, only in a Windows or GNU/Linux (X11) system.

For example, if you type:

$ setClipboardString "Hello, World!"

Then you have "Hello, World!" available to be pasted wherever you want.

Now, if you type:

$ modifyClipboardString reverse

You will have "!dlroW ,olleH" in your clipboard. So:

$ getClipboardString
"!dlroW ,olleH"

The X11 version depends on the X11 package, so you will need the X11 development library available on your system at compile time. You can install it with apt install libxrandr-dev (or the equivalent on your system).


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0, 2.0.0, 2.1.0, 2.2.0, 2.2.0.1, 2.2.0.2, 2.2.0.3, 2.3.0.0, 2.3.0.1, 2.3.0.2, 2.3.1.0, 2.3.2.0, 2.3.2.2
Change log changelog.md
Dependencies base (>=4 && <5), directory, unix, utf8-string, Win32 (>=2.2.0.0 && <2.4), X11 (>=1.6) [details]
License BSD-3-Clause
Author Sævar Berg (Windows), Matthew Bekkema (X11), Daniel Casanueva (Maintainer)
Maintainer Daniel Casanueva (coding `at` danielcasanueva.eu)
Category System
Bug tracker https://codeberg.org/daniel-casanueva/Clipboard/issues
Uploaded by DanielDiaz at 2025-02-16T10:49:26Z
Distributions LTSHaskell:2.3.2.2, NixOS:2.3.2.0
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 11622 total (38 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-02-16 [all 1 reports]

Readme for Clipboard-2.3.2.2

[back to package description]

Clipboard

A simple library for a simple purpose: to set, get and modify the system clipboard.

Limitations

I'm so sorry, but this library only works on Windows and GNU/Linux (X11). Contributions are welcome! :)