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

Can't copy to clipboard under distrobox #2838

Open
soko7awen opened this issue Jun 11, 2023 · 2 comments
Open

Can't copy to clipboard under distrobox #2838

soko7awen opened this issue Jun 11, 2023 · 2 comments

Comments

@soko7awen
Copy link

soko7awen commented Jun 11, 2023

Description of the problem or steps to reproduce

When using distrobox, I am only able to paste into micro, copying just clears my clipboard. Copying works currently inside the container otherwise.

Specifications

Commit hash: cfcb2e4
OS: Fedora Kinoite 38, distrobox with Fedora 36
Terminal: konsole

@maxkapur
Copy link

maxkapur commented Jun 18, 2023

Same issue with normal Fedora KDE (Wayland).

After reading the docs, I installed wl-clipboard (which doesn't come with KDE because KDE has its own clipboard manager), but having wl-clipboard installed causes micro to hang when running.

(That is, if you just run micro at the command line, you should get an empty file and the micro background color, but instead it just clears out the terminal entirely and no keys do anything.)


I also attempted to reproduce this on a clean install of Arch with nothing but KDE and micro installed. In that environment, the same problem described by the OP happens in both Wayland and X11 sessions, but the problem is solved (in both sessions) by installing xclip. Installing xclip does not, however, solve the problem in Fedora (or Kinoite, apparently).

@AndyP3r3z
Copy link

I happen to have a similar issue, in KDE Neon. Using the keybind to cut (either the entire line or a selected text) works fine. But using the keybind to copy just doesn't work, I manage now to copy things by cutting and then re-pasting the thing back to its place.

Micro also used to hang once in a while (in the way that you're saying, but not sure if that was exactly the way I reproduce the error, 'cause I think it happened sometimes when giving it a file to edit), but I changed the way I installed micro and seem to solve the problem (at least by now): I didn't use the official script, nor my repo's package, but y downloaded the .deb file from the releases page.

Hope it helps a little.

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