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
0 votes
0 answers
12 views

Keep text in clipboard when no longer highlighted

When I select text (Centos8, Gnome) I can middle click to paste it, but only as long as the original text is still highlighted. The clipboard seems to clear out once the highlighting is removed (like ...
Mastiff's user avatar
  • 101
2 votes
1 answer
24 views

KDE Plasma picture keeping clipboard manager

As I know, Windows and Gnome clipboard manager can 'saves' pictures in clipboard manager. Is there a way to do something like that in Plasma?
Actticus's user avatar
1 vote
1 answer
39 views

How can I mouse scroll in Xterm when I am selecting the text to copy to clipboard?

I press the left button of my mouse and drag. This way I can select up to one display-size piece of text in Xterm and then copy it (I set up to be able doing it with Ctrl+Shift+C). However, when I ...
JenyaKh's user avatar
  • 346
0 votes
0 answers
30 views

Mac using Virtual Box ubuntu, copy and paste doesnt work

I'm using macOS Moneterey Version 12.6.6 and VirtualBox Ubuntu. I checked the boxes in Setting->General->Advanced, Shared clipboard and Drag'n'drop but the copy paste still doesnt work. Is there ...
Its me's user avatar
  • 101
0 votes
0 answers
30 views

Can't use ctrl+shift+c to copy to secondary clipboard

Running I3 without a desktop environment on Debian 12. My terminal is Alacritty and my shell is bash. I am unable to copy into what I assume is the secondary selection clipboard using the default ...
unixbol's user avatar
0 votes
0 answers
95 views

Copy all text in a tmux pane?

How can I copy all the text in a tmux pane? Pressing Ctrl + b and ] I can select a portion of text, but it is cumbersome to scroll all the way to the top in a long pane. Is there an easier way to ...
a06e's user avatar
  • 1,707
2 votes
1 answer
111 views

How to use two clipboards?

I use Ubuntu 20.04. I have read that Linux uses two clipboards: copy/paste using a mouse context menu copy/paste using keys: ctrl + c/ctrl + v Here is my example usage (actions are performed in the ...
Irbis's user avatar
  • 239
0 votes
0 answers
27 views

Are there two different clipboards? Why does copy/paste work differently depending upon keys used (shift-insert & ctrl-v)? [duplicate]

It's as if there are two different system clipboards (stash places for copied text), with two different ways of accessing them. I've noticed this for quite some time but never been able to narrow it ...
raddevus's user avatar
  • 111
0 votes
0 answers
91 views

How to find out which clipboard manager my system uses?

I am not sure if the clipboard manager works as that shell interpreter in the sense we select one and only one to use in an interactive login shell (i.e., the terminal). If so, I wonder how to find ...
Rubem Pacelli's user avatar
0 votes
0 answers
35 views

Very new to linux (fedora). Trying to streamline my login process for work

I'm extremely new to both Linux and writing any sort of code. I've been setting up my workstation on a Fedora OS. I'm trying to streamline my process as much as possible, but I've run into a couple ...
Aidan Bruce's user avatar
3 votes
0 answers
92 views

Why is the X Clipboard Storing JPG Images as Large files?

I've been delving into a bizarre behavior of the X clipboard on my Linux setup. I initially copied an image from a web browser, which I later identified to be in JPG format when I saved the file. But ...
15 Volts's user avatar
  • 2,059
0 votes
1 answer
197 views

Line length limit for cat reading from keyboard [duplicate]

I have a single line of about 30000 characters (and no newline) in my clipboard. I want to put that into a file. I tried the following command in a GNOME terminal (Ubuntu 20.04): cat > file.ext ...
k314159's user avatar
  • 403
0 votes
1 answer
117 views

Configure Cygwin so that Windows's Shift+Insert pastes into xterm

I had Cygwin and its X-Windows installed on my Windows 10 laptop. On all of my Windows computers (Acer, EliteBook, some Dell brand, and others), the Windows 10 and X-Windows clipboard buffers were ...
user2153235's user avatar
0 votes
1 answer
45 views

How to yank text from the kill-ing and instert it at the cursor location in another terminal window? [closed]

Is it possible to copy a text from one terminal and input it into another without selecting it? More precisely, within the same terminal window, I can kill the text line by CTRL-U and then yank the ...
utobi's user avatar
  • 109
2 votes
0 answers
115 views

Terminal with advanced copy paste capabilites

Kitty terminal has a feature where one can run a python script that captures text via regex and allows copying directly to clipboard (see https://sw.kovidgoyal.net/kitty/kittens/hints/) The matches ...
Miguel Ping's user avatar
2 votes
2 answers
430 views

disable formatting when using cut and paste

I am using openbox as my window manager. When I copy and paste using Ctrl+c and Ctrl+v from one application into another, it transfers the text formatting together with the text. I have to use ...
Martin Vegter's user avatar
2 votes
0 answers
698 views

KVM VM - copy and paste without host clipboard access

I've been trying to look for an option to copy and paste into/from my Debian KVM/QEMU virtual machine without giving the VM access to the host clipboard, and without the host having access to the VMs ...
user avatar
1 vote
1 answer
1k views

How to copy and paste in alpine linux VM?

I recently installed an alpine-3.17 VM using virtualbox 7. I also installed the guest additions and are able to map shared folders. But it seems that I cannot copy-and-paste from the host OS. I copied ...
tinlyx's user avatar
  • 646
0 votes
0 answers
110 views

Why is tmux copy is only setting PRIMARY and not CLIPBOARD at the same time

My laptop runs i3 and I'm ssh-ing to a remote machine using xterm. I've set up tmux according to https://github.com/tmux/tmux/wiki/Clipboard#quick-summary When I copy using tmux (C-w), I can paste the ...
ackerleytng's user avatar
0 votes
0 answers
221 views

Programmatically check if current terminal supports OSC52 write?

I would like to know if there is any good way to programmatically check if the terminal the current shell is running in supports OSC52 "write to clipboard" operation, without changing the ...
cyqsimon's user avatar
  • 755
0 votes
2 answers
66 views

linux clipboard update appears to persist reboot

I was horrified to reboot Debian Buster after a recent update to find that there is a log of previous copy-and-pastes, including passwords. Isn't that kind of thing supposed to live only in the RAM? A ...
cardamom's user avatar
  • 550
0 votes
2 answers
26 views

Simple filter to unhardwrap multiple paragraphs

I have many markdown files which are hardwrapped to 80 characters. I would like to copy these to paste into textareas (xclip -sel clipboard < file), but want them to wordwrap normally. This is ...
Iiridayn's user avatar
  • 300
0 votes
1 answer
39 views

geeqie: copy path to clipboard does nothing

geeqie 2.0.1-4 mate-desktop 1.26.0-1 Linux 6.1.5-arch2-1 The geeqie image viewer has a menu item 'copy path to clipboard'. Is this 'clipboard' the global clipboard, so that I can, say, paste the path ...
Stephen Boston's user avatar
2 votes
1 answer
196 views

Ctrl-y not restoring line in zsh

I've got zsh 5.8.1 running on Ubuntu 22.04. When I've got some text on the prompt and I type Ctrl+u, it clears the line as expected. However, when I then type Ctrl+y, it only displays $ ^Y What ...
Daniel Walker's user avatar
0 votes
1 answer
200 views

Disable automatically copying selection to clipboard in urxvt

There are 2 kind of clipboards on my os (manjaro i3). Xclip, which keeps the last selected text, and the regular clipboard which must be explicitly copied. I have noticed urxvt copies selected text in ...
user2741831's user avatar
3 votes
1 answer
262 views

How do I configure the copy/paste buffer so that only plain text is stored?

Unfortunately I need to revisit my question from five years ago: How do I sanitize the copy/paste buffer? There is still no answer to this. I'm using CopyQ as a clipboard manager now, and it works ...
cat pants's user avatar
  • 395
-1 votes
1 answer
150 views

Linux pastes clipboard at "random" times

I'll be editing files, actively using a keyboard and sometimes a mouse, especially to switch windows and such. My programs open under edit suddenly have syntax errors which, ultimately come from ...
Woodsman's user avatar
  • 139
1 vote
1 answer
649 views

how to copy text of file to ram (to do paste later)

I would like to copy the content of a file (string) to my ram memory. As in copy of a text so I can do paste later. Example: I have a file name: my_pub_key.pub and inside there's big amount of chars. ...
ProcolHarum's user avatar
1 vote
0 answers
334 views

How to make Windows right-click - Paste work in Linux vim?

When using MobaXTerm on Windows, I ssh into a Linux server, start vim and I can right-click into the terminal window and can choose Paste and it pastes text from the Windows clipboard. When I use git ...
Gergely's user avatar
  • 814
1 vote
1 answer
436 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 ...
Enlico's user avatar
  • 1,525
1 vote
0 answers
85 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 ...
jeanluc's user avatar
  • 153
1 vote
1 answer
763 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 ...
siralbert's user avatar
1 vote
2 answers
332 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 ...
thinksinbinary's user avatar
0 votes
0 answers
1k 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 ...
Amir's user avatar
  • 101
1 vote
0 answers
260 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 ...
HowardM's user avatar
  • 11
0 votes
0 answers
192 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 ...
madprops's user avatar
  • 188
1 vote
0 answers
426 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 ...
mangoduck's user avatar
1 vote
4 answers
809 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 ...
user356126's user avatar
0 votes
1 answer
115 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 ...
freddie_ventura's user avatar
13 votes
4 answers
2k 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 ...
ChennyStar's user avatar
  • 1,633
2 votes
0 answers
369 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 ...
ecjb's user avatar
  • 403
2 votes
3 answers
595 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 ...
Maxim_united's user avatar
0 votes
1 answer
450 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 ...
DyslexicHobo's user avatar
1 vote
0 answers
257 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?
Vinn's user avatar
  • 166
0 votes
1 answer
88 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 ...
searcher's user avatar
-1 votes
2 answers
2k 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 ...
showkey's user avatar
  • 275
-3 votes
1 answer
612 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 ...
Ehrmantraut's user avatar
6 votes
0 answers
2k 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 ...
cyqsimon's user avatar
  • 755
1 vote
1 answer
397 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-...
Linas's user avatar
  • 193
0 votes
1 answer
53 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 ...
mcp's user avatar
  • 687

1
2 3 4 5
9