A lightweight clipboard manager extension for GNOME Shell with a Windows-style popup interface. Fully compatible with Wayland.
- 📋 Text & Image Support: Manages both text and image clipboard history
- ⚡ Quick Access: Open with
Super+V(configurable) - 🔍 Search: Filter clipboard history with fuzzy search
- 💾 Persistent Storage: Keeps history across sessions
- 🖼️ Image Management: Automatically saves and manages clipboard images
- 🎨 Clean UI: Modern, dark-themed popup interface
- ⌨️ Keyboard Navigation: Full keyboard control (arrow keys, Enter, Delete, Esc)
-
Clone this repository:
cd ~/.local/share/gnome-shell/extensions/ git clone <repository-url> gclip@usuario.dev
-
Compile the GSettings schema:
cd gclip@usuario.dev glib-compile-schemas schemas/ -
Enable the extension:
gnome-extensions enable gclip@usuario.dev -
Restart GNOME Shell:
- X11: Press
Alt+F2, typer, press Enter - Wayland: Log out and log back in
- X11: Press
- Open Clipboard History: Press
Super+V - Navigate: Use arrow keys (↑/↓) or mouse hover
- Select Item: Press Enter or click to copy to clipboard
- Delete Item: Press Delete key
- Search: Start typing to filter items
- Close: Press Esc or click outside
gclip@usuario.dev/
├── extension.js # Main extension entry point, handles enable/disable
├── clipboardManager.js # Core clipboard monitoring and history management
├── clipboardPopup.js # UI popup window with search and navigation
├── prefs.js # Settings/preferences UI
├── metadata.json # Extension metadata and version info
├── stylesheet.css # Popup styling and theming
├── schemas/ # GSettings configuration schemas
│ └── org.gnome.shell.extensions.gclip.gschema.xml
└── README.md # This file
Clipboard data is stored in ~/.local/share/gclip/:
history.json: Text entries and image metadataimages/: Directory containing saved clipboard images (PNG format)
Open extension preferences:
gnome-extensions prefs gclip@usuario.devSettings:
- Max History Items: Number of items to keep (default: 100)
- Keyboard Shortcut: Change the keybinding (default: Super+V)
- Clear History: Delete all saved clipboard data
- GNOME Shell 45+
- Wayland or X11
- Language: JavaScript (GJS)
- Storage: JSON files + PNG images
- Clipboard Access: Native
St.ClipboardAPI - Monitoring: Polling every 500ms for clipboard changes
- Duplicate Detection: Hash-based for images, content comparison for text
Extension not appearing:
# Check if extension is loaded
gnome-extensions list
# View logs
journalctl -f -o cat /usr/bin/gnome-shellKeybinding not working:
- Check if another extension uses the same shortcut
- Verify in extension preferences
Images not saving:
- Check permissions on
~/.local/share/gclip/ - Ensure disk space is available
MIT License
Created for efficient clipboard management on GNOME/Wayland