AvengeMedia / AvengeMedia/DankMaterialShell

Add primary clipboard support for clipboard history and enable pasting to terminals

Open
#1,857 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
QML
Stars
8.1k
Forks
515
Avg merge
1d 8h
Merged PRs (30d)
102

Description

### Feature Description

Add an option to support using the primary clipboard so that any copy actions additionally go to the primary clipboard. Pasting with `ctrl+v` is inconsistent between terminals and desktop applications, but pasting with `shift+ins` from the primary clipboard can be.

### Use Case

Pasting form the clipboard history using "shift+enter" into a terminal.

### Compositor(s)

All compositors

### If Other, please specify

_No response_

### Proposed Solution

If the primary clipboard option is enabled, when pasting from clipboard history using "shift+enter" should copy the item to both the Wayland and primary clipboards, and send the keys "shift+ins" to paste form the primary clipboard.

### Alternatives/Existing Solutions

_No response_

Contributor guide

Open the contributing guide

Research direction

No files or tests are identified in the issue. Start by locating the clipboard-history handling for Shift+Enter and the terminal paste path, then trace how Wayland and primary clipboards are written and how compositor key events are sent. Done means the option copies to both clipboards and terminal pasting sends Shift+Insert without breaking desktop pasting.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.