2022 Developer Survey is open! Take survey.

Questions tagged [clipboard]

A clipboard is a temporary storage, mostly related to text, from where contents can be pasted to a new/other location. Use this tag for questions that specifically involve problems with putting material in, or getting material out of the clipboard

Filter by
Sorted by
Tagged with
-1 votes
0 answers
38 views

How to copy text from vim to the terminal?

I want to copy from vim into my clipboard. I tried to follow the answers of this question: How to copy text from vim to an external program? Inside Visual mode after having selected what I wanted to ...
user avatar
  • 295
0 votes
1 answer
26 views

Is there a way to interact with my Windows clipboard when SSH'd from an Exceed xterm?

I'm not sure which parts of my setup are relevant to my question, so I'll try to be as explanatory as possible... I'm using a Windows 10 laptop, and using Exceed on Demand to open an Xterm. I then ...
user avatar
1 vote
0 answers
22 views

Kitty terminal automatically deselects text?

Every time I highlight text to copy from the Kitty terminal, it automatically deselects it. This is creating a situation where I cannot copy from the terminal. What might be causing this behaviour?
user avatar
  • 15
0 votes
1 answer
33 views

How to use one table (ods) file as a base for another table file?

I have an accounting ledger table (.ods) file which should be the base for other table files. This table file should be the base for other table files such as: 2023.ods 2024.ods 2025.ods These are ...
user avatar
-1 votes
2 answers
39 views

copy command in terminal into clipboard with just one step

My DE is lxde in debian11.If you want to copy command in current terminal,you have to highlight text in the terminal window with mouse first ,then hit Ctrl+Shift+C, the command now can be copied into ...
user avatar
  • 35
-3 votes
1 answer
62 views

How to copy text from text editor to tty command line

Using debian 11 GNU/linux bullseye without mouse, only keyboard. The problem: I have a file with a password, very long and complicated. I need to copy it and paste when I login via ssh. I tried to ...
user avatar
1 vote
0 answers
84 views

KVM clipboard sharing with client running Wayland

I have Fedora 35 installed as a VM, with Qemu/KVM as the hypervisor and virt-manager as the graphical front-end, running under Manjaro KDE. Following numerous guides & answers I have managed to ...
user avatar
  • 393
0 votes
1 answer
9 views

Left mouse select in MATE-terminal stopped working!

I left town for a few weeks, but kept the desktop running, including many open terminals -- MATE-terminal v 1.24.1. Upon return, I found that left-mouse-button select (highlight-select, for cut-n-...
user avatar
  • 113
0 votes
0 answers
26 views

Where to configure Primary Selection (highlight then paste by middle-click)?

FYI I am using KDE Plasma 5 on Gentoo. But I think this is distro independent. I think this is an X11 thing. When I highlight the text in most of the applications (including Konsole, Firefox, Dolphin, ...
user avatar
  • 233
0 votes
1 answer
19 views

How to use Vim-like registers across programs

I'd like to be able to dd j dd in Vim, then p "2p in a text box on another program. The ideal solution would allow Vim yank and put bindings across the OS. I'm using Arch Linux with DWM as my ...
user avatar
0 votes
1 answer
29 views

In WSL console, how do you read and write to the clipboard?

How do you access the (windows) clipboard in WSL so that you can pipe it into commands, use it as stdin, etc.? There's more than enough answers about how to write to the clipboard. But I couldn't find ...
user avatar
14 votes
7 answers
1k views

Copy & paste cleanly into a command like grep, without terminal echo cluttering the output?

I have some test output, looking like PASS: tests/test_mutex_rmw PASS: tests/test_mutex_trylock PASS: tests/test_malloc_irreg FAIL: tests/ARMCI_PutS_latency FAIL: tests/ARMCI_AccS_latency PASS: tests/...
user avatar
  • 307
0 votes
1 answer
36 views

Damage Source File due to Cancelling Copy Paste

I was copying some 20gb of important documents to my usb drive from my mac. The process got stuck midway and I had to cancel the copy paste operation. Second time doing so the usb drive got ejected by ...
user avatar
2 votes
1 answer
68 views

Copy text in tmux using putty

I am using putty0.76 to connect to server and I run tmux2.7. I need to copy bigger amount of text to my local clipboard with scrolling during selection. I do not have xclip or pbcopy installed and I ...
user avatar
0 votes
0 answers
21 views

xclip doesn't modify clipboards of VMware guest

I have a Linux VMware guest with open-vm-tools installed. As expected, when I select and copy text from the host's xfce4-terminal with Ctrl+Shift+C¸ I can paste this text in the guest via xclip -out. ...
user avatar
  • 24.6k
0 votes
0 answers
78 views

How to disable libreadline's bracketed paste mode programmatically

Starting with libreadline version 8.1, the default is to give special treatment to "bracketed paste" operations. This breaks parsing for my program, so I want to disable it. I know that it ...
user avatar
  • 156
0 votes
1 answer
178 views

tmux, wayland and clipboard

I have this tmux config: bind | split-window -h bind - split-window -v unbind '"' unbind % bind-key s set-window-option synchronize-panes\; display-message "Paneles sincronizados: #{?...
user avatar
1 vote
1 answer
37 views

"copy as html" in Tmux

I remember I used to had a "Copy as HTML" option in Tmux, but I can't seem to find information about it either in the settings or looking online. Does anyone know if it still exists for some ...
user avatar
1 vote
1 answer
188 views

How to Use Control+V Keys to Paste in urxvt Terminal?

I see many questions about keybinds in urxvt, but I don't see this exact one. I'd like to use control+v in order to paste into the terminal. (without the shift. or alt/meta key. etc.) My goal is to be ...
user avatar
0 votes
0 answers
119 views

Why is clipboard cleared when closing xfce4-terminal?

I'm using xfce4-terminal with the setting enabled: "Automatically copy selection to clipboard" It works fine when select something, the selection is copied to clipboard. But if I close the ...
user avatar
  • 145
0 votes
0 answers
194 views

Copy / Paste problems in in Kitty on arch/i3

I'm using Kitty as a terminal Emulator on Arch with I3 and i use a german keyboard layout for a hp elitebook. The Problem is, that i can't copy and paste with my ctr_left + shift_left + (C | V) Keys. ...
user avatar
  • 111
0 votes
0 answers
25 views

Copy symbolic file source (origin) with Ctrl+C and nemo - Linux Mint

cp -L copy source of symbolic files, instead symbolic file itself, and for cp is standard parameter. I want to make this way for copy standard, for mouse copy in nemo (Linux Mint file manager) and ...
user avatar
0 votes
2 answers
329 views

Why tldr | xclip outputs escape codes looking like timestamp, and how to remove it?

Problem I want to copy the output of tldr to clipboard, and then paste that to text editor. I execute: tldr pwd | xclip -sel clip When I paste from clipboard, I get: pwd [0mPrint name of current/...
user avatar
  • 359
1 vote
1 answer
155 views

How to persist the contents of the X11 (copy) clipboard on closing e.g. Vim to paste its contents later?

If I copy to X11 (copy) clipboard in Vim using "+y, I can only paste contents as long as Vim is open. The reason is as follows: From Ubuntu Wiki: ClipboardPersistence: The problem happens ...
user avatar
  • 3,317
1 vote
2 answers
349 views

Save all terminal output to a file, after the fact

This: Save all the terminal output to a file Except after the fact. Meaning that instead of preparing to record or pipe all output to a file, I am dealing with output that has already taken place, and ...
user avatar
0 votes
0 answers
61 views

Is it possibly to clear the clipboard when LibreOffice is being closed?

I'm running XFCE on Linux Mint. Sometimes I copy & paste potentially sensitive data inside LibreOffice Calc or Writer, which shouldn't exist anymore inside the clipboard once I exit those programs....
user avatar
  • 195
2 votes
2 answers
337 views

Linux clipboards, including with WSL consoles

It occurred to me that there are multiple clipboards on any given Linux console: First is the bash clipboard, this can be invoked by Ctrl-U / K, cut all line before (U) or after (K) cursor into ...
user avatar
  • 559
0 votes
0 answers
83 views

Ctrl-D doesn't close the terminal inside VIM after piping the output of cat to clipboard (needs :q)

It's a very specific problem, so I'll try to provide everything that I think might be relevant. I have these two aliases in my ~/.zshrc for copying and pasting the output of commands: $ grep xclip ~/....
user avatar
1 vote
1 answer
321 views

How to use clipboard-cli on Wayland?

I am using this module gtts-cli for text to speech conversion. more info here-> https://gtts.readthedocs.io/en/latest/cli.html Basic syntax is $ gtts-cli 'hello' --output /tmp/hello.mp3 && ...
user avatar
0 votes
1 answer
39 views

Blender can't copy text to WM clipboard, how to fix it?

Original question: how to copy a text/numeric field value to clipboard on linux for blender v2.93.4? https://blender.stackexchange.com/questions/239139/how-to-copy-a-text-numeric-field-value-to-...
user avatar
1 vote
0 answers
53 views

Shift+Insert on terminal copies from clipboard, not primary

Up until recently whenever I pressed Shift+Insert on my Linux terminal (whether Bash or Fish) it pasted my terminal selection ("primary"). Now all of a sudden it started pasting from my ...
user avatar
0 votes
1 answer
155 views

Tmux: copy to system clipboard key binding strange behaviour [duplicate]

I want to copy tmux selection inside system clipboard and found several solutions online. I grabbed this key bind configuration due to simplicity and added to my tmux.conf file. bind C-c run "...
user avatar
  • 103
0 votes
0 answers
32 views

Is there a program similar the Universal Copy app for Linux?

I would like to copy a text in any program on Linux as I usually do on Android using Universal Copy, but currently I didn't get any results searching about on Linux
user avatar
0 votes
1 answer
84 views

How to copy a string into the X Window clipboard with the command line on Red Hat without using xsel nor any third-party tool?

On a restricted system where installing new tools is not possible, how could one copy a string into the X Window clipboard (the clipboard that works with Ctrl+C / Ctrl+V) with the command line or at ...
user avatar
0 votes
2 answers
119 views

VT100.Translation key binding in UXTerm

Is it possible to bind CtrlShiftc and CtrlShiftv for copy and pasting to and from clipboard in UXterm in a similar fashion to XTerm, a la xterm*VT100.Translations: #override \ Shift <KeyPress&...
user avatar
  • 98
0 votes
0 answers
15 views

batch copy multiples .txt with pathname on filename [duplicate]

I am trying to batch copy a lot of .txt files from various directories to Directory "all_txt" I am using fzf to find all text files. simple copy cp dir1/file1.txt dir1/file2.txt dir2/file3....
user avatar
  • 77
0 votes
1 answer
25 views

Copy remote-server's CLI output to clipboard on the client

How to copy remote-server's CLI output to clipboard on the client? e.g. Windows Terminal →→→SSH→→→ Ubuntu (copy to (CLI clipboard ←←←←←←←←←←←←←← output here) ...
user avatar
0 votes
1 answer
46 views

Is there a more efficient way to get X11-style mouse-based, cross-application copy-and-paste for command-line use than "xinit xterm" or the like?

In some contexts, I want the ability to run screen and to copy and paste text between different windows (in the screen sense of that term, not the X11 window manager sense) using click-and-drag to ...
user avatar
2 votes
1 answer
156 views

What's a lightweight way to synchronize CLIPBOARD -> PRIMARY selections?

My use-case is that I want that whenever I copy something to CLIPBOARD, it is also saved in PRIMARY. It's mostly assumed that to copy something you need to select it so most of the time this is not ...
user avatar
  • 23
-1 votes
1 answer
68 views

Unnessary paste issues in the start while using bash shell [duplicate]

So I am using the bash shell with st terminal emulator (issues occur with different terminal emulator also), what happens is if I paste a string of text in my shell, I got a issue like this But if I ...
user avatar
1 vote
1 answer
35 views

Pasting text killed in a custom widget only works for last word, can that be fixed?

I'm using answers from this question so that I can cut longer/shorter parts of text when I press Ctrl+W or Alt+Backspace respectively. Specifically I have this in my .zshrc to add the Alt+Backspace ...
user avatar
  • 115
2 votes
1 answer
386 views

Some characters get lost when pasting large amounts of text into serial console

When pasting large amounts of text into a serial console like screen or minicom, some characters get lost and are not being transmitted.
user avatar
  • 1,964
0 votes
0 answers
31 views

How to prevent VxXsrv from copying to clipboard on selection?

I am using VcXsrv to view remote Linux' windows on Windows :) I am running it with "C:\Program Files\VcXsrv\vcxsrv.exe" -ac -terminate -lesspointer -multiwindow -clipboard -wgl -xkblayout us,...
user avatar
  • 2,515
4 votes
2 answers
604 views

can't paste into Jshell Version 11.0.11 reproduced on two machines

I have a rather strange problem on two of my notebooks one running Manjaro Linux (Arch for children) and the other Ubuntu 20.10. When I use Jshell the read-eval-print loop tool for Java 11, I can't ...
user avatar
  • 43
0 votes
0 answers
19 views

Tmux pasting letter by letter

When I copy text into Tmux buffer and paste it in the same window, Tmux was pasting it letter by letter making it a 4 minute work. What is the issue?
user avatar
  • 301
0 votes
0 answers
100 views

virt-manager MX Linux 19.4 + Android x86 guest copy & paste

I have an MX Linux 19.4 and Android x-86 guest installed with virt-manager, I found instructions how to enable/install additional hw to share folders and clipboard (copy and paste) with Windows 8.1 ...
user avatar
1 vote
1 answer
111 views

Getting notified about clipboard content changes

I would like to watch clipboard in a way similar to how inotify watches files so I that I can display actual clipboard content in tmux status line or in any other custom GUI in my system. I don't like ...
user avatar
0 votes
1 answer
144 views

How do I copy a file to the clipboard with the terminal?

I'm aware of how to copy the contents of file: xsel -b < myfile.txt But this is not what I want. I would like something like this: ./file2clip.sh myfile.txt Which would copy myfile.txt to the ...
user avatar
1 vote
1 answer
315 views

I3 can't properly use the clipboard

Alright this is a problem I've been facing for months. Im not sure if this is a problem with i3 or urxvt. I can't get the clipboard to work properly. I can copy text from my browser and paste it on ...
user avatar
  • 85
1 vote
1 answer
285 views

configure vim to use both tmux and system clipboard

I'm fairly new to vim (I'm using nvim) so forgive my lack of knowledge, many questions are similar to mine, but not quite the same. I would like this: vim by default should cut/copy to a buffer, not ...
user avatar
  • 61

1
2 3 4 5
9