micro icon indicating copy to clipboard operation
micro copied to clipboard

xclip installed. paste tells me to install xclip

Open benzmuircroft opened this issue 3 years ago • 2 comments

Description of the problem or steps to reproduce

  1. copy text from external application
  2. press ctrl+v
  3. message appears pasted clipboard (install xclip for external clipboard)

Specifications

micro -version Version: 0.0.0-unknown I just did apt install micro

Commit hash: OS: Ubuntu 20.04 Terminal: ?

benzmuircroft avatar Jul 18 '22 16:07 benzmuircroft

Given that you don't have version information I'm not sure how to diagnose further. However I would definitely recommend installing via an official method: for example download the deb package for the latest release and install it with sudo apt install ./micro-2.0.10-amd64.deb. This will probably fix your issue. In addition, make sure the clipboard option is set to external, and that running xclip from the terminal works.

zyedidia avatar Jul 19 '22 02:07 zyedidia

Yes, tested it. The binary getting from apt is faulty. Uninstalled via apt (sudo apt remove micro) and reinstalled following the official method "Quick install script" https://github.com/zyedidia/micro#quick-install-script

Now works as expected (evtlly need to install xclip sudo apt install xclip)

Zeratoxx avatar Jul 20 '22 14:07 Zeratoxx