Skip to content

Lacks support for manipulating the clipboard directly in Wayland #138

@diogopessoa

Description

@diogopessoa

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions