Clipboard: System clipboard interface.

[ bsd3, library, system ] [ Propose Tags ]

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 by sudo apt-get install libxrandr-dev (or the equivalent on your system).

[Skip to Readme]




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 1.0.0, 2.0.0, 2.1.0, 2.2.0,,,,,,,,
Dependencies base (>=4 && <5), directory, unix, utf8-string, Win32 (>= && <2.4), X11 (>=1.6) [details]
License BSD-3-Clause
Author Sævar Berg (Windows), Matthew Bekkema (X11), Daniel Díaz (Maintainer)
Maintainer dhelta.diaz `at`
Category System
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by DanielDiaz at 2017-07-06T13:22:11Z
Distributions LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 11265 total (39 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-07-06 [all 1 reports]

Readme for Clipboard-

[back to package description]


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


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