micro-editor / micro-editor/micro

Xwayland is launched when wl-clipboard is installed

Open
#3,017 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Description of the problem or steps to reproduce

Have wl-clipboard installed
have xwayland installed
run micro, it launches xwayland, when copying/cutting it also launches xwayland

Specifications

Version: 2.0.13
Commit hash: 68d88b57
Compiled on October 22, 2023
OS: Arch Linux, sway with xwayland
Terminal: Foot

Xwayland is pretty heavy service, even if it auto terminates, it consumes 141MB for few seconds

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. First reproduce micro under Sway with wl-clipboard and Xwayland installed, then trace the clipboard-related startup path; done means normal clipboard operations no longer launch Xwayland while clipboard behavior remains functional.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.