The Clipboard package

[Tags:bsd3, library]

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]


Versions 1.0.0, 2.0.0, 2.1.0, 2.2.0,,,,,
Dependencies base (==4.*), directory, unix, utf8-string, Win32 (>= && <2.4), X11 (==1.6.*) [details]
License BSD3
Author Sævar Berg (Windows), Matthew Bekkema (X11), Daniel Díaz (Maintainer)
Maintainer dhelta.diaz `at`
Stability Stable
Category System
Home page
Bug tracker
Source repository head: git clone git://
Uploaded Tue May 31 16:51:36 UTC 2016 by DanielDiaz
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 1987 total (32 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2016-05-31 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for Clipboard

Readme for Clipboard-


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! :)