elementary / elementary/seeds

Lacks support for manipulating the clipboard directly in Wayland

Open
#138 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
13
Forks
6
Avg merge
2d 1h
Merged PRs (30d)
1

Description

### What Happened?

Some Wayland compositors may not provide clipboard access protocol for apps, this is the case at least for the latest Ubuntu releases and consequently the systems that use it as a base. You can verify the clipboard access by running `wl-paste` on command line (it should print current clipboard content and no error).

I am currently using CopyQ as a clipboard manager. However, elementary OS does not support accessing the clipboard directly in Wayland. To solve this, install **wl-clipboard**.

This tool helps to integrate clipboards with the native Wayland protocol.

- When running `wl-paste` on command line:

![Captura de tela de 2024-12-15 06 54 46](https://github.com/user-attachments/assets/3634ddf6-208a-46b7-bb75-c7654058d18c)

### Steps to Reproduce

1. install a clipboard manager (in my case I installed CopyQ directly from AppCenter);
2. copy some text and check if it is stored in the clipboard history;
3. verify the clipboard access by running wl-paste on command line (it should print current clipboard content and no error);
4. this should print the current clipboard contents (but it won't return anything due to lack of support in Wayland).

### Expected Behavior

It should show the clipboard contents without errors.

- After clipboard access support is installed `sudo apt install wl-clipboard`, It shows the last copied content without errors:

![Captura de tela de 2024-12-15 07 06 25](https://github.com/user-attachments/assets/1d4a2dcd-3dd5-4219-a432-f8f3d717356a)

I hope the elementary team can implement support in the future.

### OS Version

8.x (Circe)

### Session Type

Secure Session (Wayland)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.