Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Micro Editor can not be opened when wl-clipboard is empty #2577

Closed
Zesko opened this issue Sep 28, 2022 · 5 comments
Closed

Micro Editor can not be opened when wl-clipboard is empty #2577

Zesko opened this issue Sep 28, 2022 · 5 comments

Comments

@Zesko
Copy link

Zesko commented Sep 28, 2022

Description of the problem or steps to reproduce

  1. Use KDE Plasma Wayland instead X11
  2. Install micro and wl-clipboard instead xclip.
  3. Cleanup Klipper (KDE System Tray Clipboard) that will be empty.
  4. Try to open micro in Konsole (KDE default terminal)

Result: Micro can not be opened in Konsole when using wl-clipboard because wl-paste is empty or no wl-paste.
Micro waits until copy any text from other application, then it will be opened.

Specifications

$ micro --version
Version: 2.0.11
Commit hash: 225927b9
Compiled on August 09, 2022

Commit hash: 225927b
OS: Manjaro KDE Wayland (Latest version, testing branch)
Terminal: konsole (KDE default terminal)

@Fryboyter
Copy link

Fryboyter commented Sep 28, 2022

I can confirm the problem, as well as the mentioned workaround, with micro 2.0.11 and Terminator or Konsole under Arch Linux with KDE Plasma Wayland.

Version 2.0.10, however, works in my case.

@maxkapur
Copy link

maxkapur commented Nov 19, 2022

I have a similar issue on the KDE spin of Fedora 37 on Wayland. Micro starts up just fine (even after cleaning up Klipper), but behaves as though it has its own clipboard:

  1. Highlight text outside of micro, e.g. from a webbrowser
  2. Open micro and press Ctrl+V.

Micro prints the Pasted clipboard message to the status bar, but no text is pasted. On the other hand, copy and paste with Ctrl+C/V work just fine within a micro document.

The problem persists whether or not xsel and/or xclip are installed.

The problem occurs in Alacritty and Konsole with either fish or bash as the shell.

Workaround: Use Ctrl+Shift+V to paste into micro from the global clipboard and Ctrl+Shift+C to copy from micro to the global clipboard.

System info:

Operating System: Fedora Linux 37 (KDE Plasma)    
     CPE OS Name: cpe:/o:fedoraproject:fedora:37
          Kernel: Linux 6.0.8-300.fc37.x86_64
    Architecture: x86-64
~> micro --version
Version: 2.0.11
Commit hash: 225927b
Compiled on August 25, 2022

@Zesko
Copy link
Author

Zesko commented Mar 4, 2023

Here is the duplicate:

#2662

@Zesko
Copy link
Author

Zesko commented Mar 4, 2023

Uninstall wl-clipboard
Install wl-clipboard-rs to fix this issue.

wl-clipboard is the issue:
bugaevc/wl-clipboard#149

@Zesko Zesko closed this as completed Mar 4, 2023
@Zesko
Copy link
Author

Zesko commented Mar 4, 2023

Update:

I guess, kwin_wayland is the issue with wl-clipboard. Both are not compatible well together.

Gnome Wayland has no issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants