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 vote
1 answer
26 views

Does ssh give access to the virtual console, to a terminal emulator, or what? [duplicate]

As far as I've understood, a terminal emulator is a GUI-based program which gives me a terminal-like viewport and allows me to interact with it just like I'd do with a terminal, except that it has all ...
  • 1,066
1 vote
0 answers
9 views

Tmux external clipboard interaction with loadb over SSH

I have the external clipboard option enabled: $ tmux show-options -g -s set-clipboard set-clipboard external And I'm using Kitty terminal with tmux in SSH. When I highlight text with the mouse or ...
  • 143
0 votes
1 answer
30 views

Why does nano indent pasted text or code improperly?

When I copy and paste text from the clipboard, the code looks like [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ...
0 votes
1 answer
48 views

Why does nano have two different copy/pastes?

Without mouse support enabled (my default), you can drag your mouse over text and do standard "copy/paste" with right click, which enables you to paste the test anywhere on your operating ...
0 votes
0 answers
63 views

Shared clipboard between linux and windows througt ssh

Here is my situation. I'm working with a windows client on a linux (arch) server, with ssh connection. I often need to copy and past data, BOTH from the server to the client, and from the client to ...
  • 101
0 votes
0 answers
110 views

tmux in WSL with Windows Terminal: Select with mouse without holding down shift

In WSL running in windows terminal, selection with mouse works normally. However, within a tmux session, in WSL running in windows terminal, to select with mouse, Shift key must be held down. How can ...
  • 101
0 votes
0 answers
12 views

So. I need to copy a line of text from Windows NotePad and paste into an Xfce /Terminator Window

I have a long and complex line of text in Windows 10/Notepad. I want to copy/paste or use key combos to insert it in a Ubuntu/Terminator window. (Terminator is running in Xfce, accessed via Remote ...
0 votes
0 answers
32 views

Detect copy events properly

There's this program called clipnotify which basically all it does is exit on a copy event, so you can use it in while loops. So I have this loop: while True: # clipnotify exits on a copy event ...
  • 189
1 vote
0 answers
59 views

how to pipe Wayland clipboard into an X vnc session clipboard over ssh

I am using Wayland on Arch, and am sshed into a debian server which uses X11. I have a vnc session running over that ssh connection. I would like to take a string that I have stored in my Wayland ...
0 votes
0 answers
78 views

libvirt copy and paste breaks regularly

I haven't been able to identify the cause (besides it seeming to happen with cloned VMs - though I've tried changing the Spice ports to be different, and also tried using VNC on one and Spice on ...
  • 352
0 votes
0 answers
28 views

BASH technique to use clipboard in script? [duplicate]

My proficiency in BASH is minimal, but I did a fair bit of C back in the day. I am trying to think of a way where I can write a script which I can run, which will pass the clipboard into the script. I ...
0 votes
4 answers
76 views

How to know the font name of displayed characters? (X11/Xft)

I want to know the font name of displayed characters on any X application. Of course, I can know the font name by comparing the displayed characters with each font characters, but it takes a very long ...
0 votes
0 answers
15 views

How to trigger two commands when pressing a key bind

So I wanted to pass the text stored in my buffer through a socket to other machine, for that I manage to get a socket done, I just need to fire up the following command when in copy-mode-vi bind -T ...
13 votes
4 answers
1k views

How to copy/paste between a console and an X session?

What's the fastest way to copy/paste between a non-graphical console (<Ctrl><Alt><F...>) and an X session ? Right now : I select the text with the mouse on the console (I've ...
  • 1,124
2 votes
0 answers
133 views

How to paste selection from vi-mode to clipboard

I want to access the content of what I copied in the buffer with the vi-mode of the clipboard via the command ctrl + v or ctrl + shift + v in the terminal. I copied in my .zshrc the following: (from ...
  • 349
0 votes
0 answers
48 views

Pasting multiple commands from clipboard breaks after a sudo command

I have 2 CentOS systems which I connect to via ssh. On one of them if I paste multiple commands from the clipboard, it executes them all, unless there's a sudo command in there. If there is, it just ...
0 votes
1 answer
73 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 ...
1 vote
0 answers
67 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?
  • 15
0 votes
1 answer
44 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 ...
-1 votes
2 answers
151 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 ...
  • 219
-3 votes
1 answer
171 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 ...
2 votes
0 answers
473 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 ...
  • 413
0 votes
1 answer
52 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-...
  • 113
0 votes
0 answers
70 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, ...
  • 265
0 votes
1 answer
21 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 ...
0 votes
1 answer
64 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 ...
14 votes
7 answers
2k 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/...
  • 488
0 votes
1 answer
42 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 ...
2 votes
1 answer
211 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 ...
0 votes
0 answers
35 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. ...
  • 25.8k
0 votes
1 answer
335 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 ...
  • 164
1 vote
1 answer
447 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: #{?...
1 vote
1 answer
47 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 ...
1 vote
1 answer
374 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 ...
1 vote
0 answers
216 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 ...
  • 175
0 votes
0 answers
388 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. ...
  • 111
0 votes
0 answers
32 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 ...
0 votes
2 answers
352 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/...
  • 411
1 vote
1 answer
231 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 ...
  • 3,537
1 vote
2 answers
930 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 ...
1 vote
0 answers
81 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....
  • 335
2 votes
2 answers
533 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 ...
  • 579
0 votes
0 answers
148 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 ~/....
1 vote
1 answer
635 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 && ...
0 votes
1 answer
53 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-...
1 vote
0 answers
73 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 ...
0 votes
1 answer
413 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 "...
  • 103
0 votes
0 answers
52 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
0 votes
1 answer
116 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 ...
0 votes
2 answers
226 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&...
  • 108

1
2 3 4 5
9