Skip to main content

A lightweight, fast, and reliable clipboard manager for Linux (Ubuntu) mimicking Win+V.

Project description

Linux Clipboard Manager

A lightweight, local-only clipboard manager for Linux built with Python and PyQt6.

Features

  • Background daemon to monitor clipboard history.
  • Popup GUI to browse and search previous items.
  • Auto-paste integration with xdotool (X11) or wtype (Wayland).

Prerequisites

  • Python 3
  • xdotool (for X11 users) or wtype (for Wayland users)

You can install wtype or xdotool on Ubuntu using:

sudo apt install xdotool wtype

Installation

You can install the Clipboard Manager easily via pip:

pip install linux-copycache

System Dependencies

The auto-pasting functionality requires xdotool and xclip to be installed on your system. The GUI requires libxcb-cursor0.

sudo apt install xdotool xclip libxcb-cursor0

Running the tool

Once installed, you can start the application from anywhere in your terminal:

linux-copycache

The application will launch, dock itself to your system tray, and quietly monitor your copied text!

Note on PATH: If you installed as a normal user, pip might place the executable in ~/.local/bin. If your terminal says command not found, add this directory to your PATH: echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc

Autostart on Boot (Ubuntu/Linux)

To make the clipboard manager start automatically when you log in, create a .desktop file in your autostart folder.

Run this command in your terminal:

mkdir -p ~/.config/autostart && cat << 'EOF' > ~/.config/autostart/linux-copycache.desktop
[Desktop Entry]
Type=Application
Exec=linux-copycache
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=Linux CopyCache
Comment=Linux Clipboard Manager
EOF

(If linux-copycache is not in your system PATH, replace Exec=linux-copycache with the full path, e.g., Exec=/home/YOUR_USERNAME/.local/bin/linux-copycache)

Setting up the Super+V (Win+V) Shortcut in Ubuntu

For the native Windows experience, set up a custom shortcut:

  1. Open Settings -> Keyboard.
  2. Scroll to the bottom and click View and Customize Shortcuts.
  3. Select Custom Shortcuts and click the + or Add Shortcut button.
  4. Name: Clipboard Manager
  5. Command: linux-copycache
  6. Shortcut: Press Super + V (Windows key + V).
  7. Click Add.

Now, whenever you press Super + V, the history window will pop up!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linux_copycache-1.0.4.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linux_copycache-1.0.4-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file linux_copycache-1.0.4.tar.gz.

File metadata

  • Download URL: linux_copycache-1.0.4.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for linux_copycache-1.0.4.tar.gz
Algorithm Hash digest
SHA256 dc1064c83afd59493542bf11b4fd18d9fda966d7b589880a0c942f9bbceb01e3
MD5 0ec43061d0769b854db79dbb19db1383
BLAKE2b-256 70c9053d6c6efefb7ab354d6b4d15bf46a648efb10bd68a66ad2946f059a1afc

See more details on using hashes here.

Provenance

The following attestation bundles were made for linux_copycache-1.0.4.tar.gz:

Publisher: publish.yml on randhana/linux-clipboard-manager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file linux_copycache-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for linux_copycache-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f85df7ecc3ee9840703de02bfb0ba89db1571723ed12a9dfeea078efb00e02e7
MD5 03b62223b4a5585de8c212fa1936cbb2
BLAKE2b-256 ae9697c30f0b745262ae1f61564f9850140dc9bd534f4f185c46b6f522d9b5a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for linux_copycache-1.0.4-py3-none-any.whl:

Publisher: publish.yml on randhana/linux-clipboard-manager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page