Clipboard

cliphist – clipboard history manager for Wayland

cliphist is a clipboard history manager for Wayland that records previously copied content and makes it available for later retrieval.

The application is designed around a command-line workflow rather than providing its own selection interface. It works with existing menu applications, allowing clipboard history to be searched and retrieved using tools such as dmenu, rofi, wofi, and fzf.

cliphist separates the storage of clipboard content from its representation in selection menus. Entries are assigned identifiers so that their original contents can be restored without modification, even when their previews contain shortened text or formatted whitespace.

Its command-line interface makes it suitable for integration into window-manager shortcuts, desktop scripts, and automated workflows. Users can also manage the size and lifetime of their clipboard history without relying on a graphical configuration application.

This is free and open source software.

Key Features

  • Record clipboard changes in a local history database.
  • Store text, images, and other supported clipboard content.
  • Preserve copied data byte-for-byte, including whitespace and special characters.
  • List clipboard entries with identifiers and readable previews.
  • Retrieve entries through dmenu, rofi, wofi, fzf, and other selection applications.
  • Decode selected entries to restore their original clipboard content.
  • Display entry metadata, including MIME type, format, and timestamps.
  • Choose which metadata fields appear in command output.
  • Delete individual entries or remove matching entries using search queries.
  • Clear the entire clipboard history using the wipe command.
  • Remove entries older than a specified retention period.
  • Compact the history database.
  • Configure the maximum number of stored entries.
  • Control duplicate detection through the maximum deduplication search setting.
  • Use custom configuration files and environment variables for global settings.
  • Integrate clipboard history into shell scripts and keyboard shortcuts.

Website: github.com/sentriz/cliphist
Support:
Developer: Senan Kelly
License: GNU General Public License v3.0

cliphist is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

CLI Clipboard Managers
clipmenuSimple clipboard manager using dmenu (or rofi) and xsel
cliphistClipboard history manager for Wayland
ClipcatUses a client-server architecture
GreenclipRecycle your clipboard selections
RingboardClipboard manager built around a client-server architecture
ClipvaultClipboard history manager for Wayland
ClipsterSimple clipboard manager which aims to be lightweight
nocbNearly optimal clipboard manager
clipsimSimple and fast X clipboard manager
cclipCipboard manager for Wayland
ClapboardClipboard manager for Wayland written in Rust
QlipmonClipboard history saver with native rofi plugin and DBUS interface
clipboxClipboard manager for Wayland

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted