% xclip -version
xclip version 0.12
Copyright (C) 2001-2008 Kim Saunders et al.
Distributed under the terms of the GNU GPL % lnav -V
lnav 0.8.5[1] % echo "hi" | xclip -selection c
<ctrl-shift-c>
[0] % hi% sudo ls -l /dev/cli*
zsh: no matches found: /dev/cli*2020-04-07T09:04:03.931 I command_executor.cc:88 Executing: alt-msg Press w/W to move forward/backward through warning messages
2020-04-07T09:04:07.724 D hotkeys.cc:149 executing key sequence xb020940: :mark
2020-04-07T09:04:07.724 I command_executor.cc:88 Executing: mark
2020-04-07T09:04:07.725 D hotkeys.cc:149 executing key sequence xb020940: :eval :alt-msg ${keymap_def_next_user_mark}
2020-04-07T09:04:07.725 I command_executor.cc:88 Executing: eval :alt-msg ${keymap_def_next_user_mark}
2020-04-07T09:04:07.725 D lnav_commands.cc:3154 Evaluating: :alt-msg ${keymap_def_next_user_mark}
2020-04-07T09:04:07.725 D lnav_commands.cc:3161 Expanded command to evaluate: :alt-msg Press u/U to move forward/backward through user bookmarks
2020-04-07T09:04:07.725 I command_executor.cc:88 Executing: alt-msg Press u/U to move forward/backward through user bookmarks
2020-04-07T09:04:13.227 D hotkeys.cc:149 executing key sequence xb020940: :eval :alt-msg ${keymap_def_clear}
2020-04-07T09:04:13.227 I command_executor.cc:88 Executing: eval :alt-msg ${keymap_def_clear}
2020-04-07T09:04:13.227 D lnav_commands.cc:3154 Evaluating: :alt-msg ${keymap_def_clear}
2020-04-07T09:04:13.227 D lnav_commands.cc:3161 Expanded command to evaluate: :alt-msg Press C to clear marked messages
2020-04-07T09:04:13.227 I command_executor.cc:88 Executing: alt-msg Press C to clear marked messages
2020-04-07T09:04:13.227 D hotkeys.cc:149 executing key sequence xb020940: :write-to /dev/clipboard
2020-04-07T09:04:13.227 I command_executor.cc:88 Executing: write-to /dev/clipboardYou could try using `xsel` instead of `xclip` and see if you have any better results, but if you aren't running an Xorg server and some apps are running under XWayland that might explain why you aren't able to use the clipboard contents everywhere you are expecting.