Skip to main content

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

Why does pasting something with angle brackets into GNU Screen not work in Alacritty?

pasting this into screen wg pubkey < ~/.ssh/wireguard.t520.private.key > ~/.ssh/wireguard.t520.public.key .. results in this: ~/.ssh/wireguard.t520.private.key > ~/.ssh/wireguard.t520.public....
Jason Hunter's user avatar
0 votes
0 answers
17 views

Copy/paste via virt-manager to a kvm text mode guest

I have done what's mentioned in virt-manager copy paste functionality to the vm Environment: Ubuntu 22.04 server (VM) and Kubuntu 22.04 (virt-manager) Installed spice-vdagent on the VM and spice-...
Senior Geek's user avatar
2 votes
0 answers
28 views

How to debug unreliable middle-button copy/paste (selection does not always update)

I used to love the select text -> paste immediately with middle button. But recently it has become very buggy for me: pasting seems to work a bit, then holds onto an old selection, and continues ...
Bonlenfum's user avatar
  • 193
0 votes
3 answers
53 views

xsel like a clipboard manager: keep clipboard content for future use

I'd like to run xsel as background process to keep clipboard content for future use. I run it in openbox startup script like that: xsel -b -k But when I select something with Ctrl-C and close ...
Anton Vakulenko's user avatar
0 votes
0 answers
26 views

tool or shortcut for copying part of the terminal

I apologize for the vagueness of this question but I saw this tool over 4 years ago at this point. I remember working with a colleague at one point who knew a bash tool or shortcut that allowed him to ...
modernNeo's user avatar
  • 185
0 votes
0 answers
24 views

Tmux copy-paste with mouse mode on while using the `less` command

Hopefully this is not already answered, given that there are 100s of question specifically about tmux copy-paste on mouse mode. I am specifically trying to copy text using mouse selection while using ...
Ayush Goel's user avatar
0 votes
0 answers
99 views

Unable to copy using wl-copy (wl-clipboard) - issue with `xdg-mime`

OS: Arch linux (linux-6.8.1.arch1-1) WM: Hyprland When I run echo 'hello' | wl-copy, I get the following output: echo "hello" | wl-copy Usage: file [-bcCdEhikLlNnprsSvzZ0] [--apple] [--...
chaitanya sharma's user avatar
0 votes
0 answers
12 views

Search selected word with shortcut in Wayland

I see here and here that wl-clipboard is supposed to be the xclip alternative for Wayland. But I don't seem to be able to fit it with what I do with xclip in X11, especially searching selected word ...
cipricus's user avatar
  • 1,629
0 votes
0 answers
30 views

Ranger: yank name does not copy anything to clipboard

I am using: ranger version: ranger-master Python version: 3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801] Locale: en_US.UTF-8 When I invoke yank name using yn, nothing happens. I use Arch ...
Jan Černý's user avatar
  • 1,441
0 votes
0 answers
73 views

How can I save the output of tail to my clipboard or somewhere on a SSH session where there is only a unidirectional connection and server is limited?

I have to report some logs from some of the servers in our infrastructure which I have limited permissions on. Every time I copy 1000 lines of logs and paste it into Slack, I can't do scp from the ...
Ilgar's user avatar
  • 3
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
48 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
74 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
47 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
60 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
1 vote
0 answers
339 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,747
2 votes
1 answer
346 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
30 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
  • 123
0 votes
0 answers
231 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
111 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,119
0 votes
1 answer
367 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
  • 447
0 votes
1 answer
200 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
47 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
207 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
636 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
941 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
2k 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
  • 830
0 votes
2 answers
78 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
  • 592
0 votes
2 answers
27 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
  • 320
0 votes
1 answer
46 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
262 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
254 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
339 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
  • 487
-1 votes
1 answer
204 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
1k 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
387 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
  • 826
1 vote
1 answer
518 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,677
1 vote
0 answers
99 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
  • 163
1 vote
1 answer
980 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
  • 117
1 vote
2 answers
396 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
304 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
216 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
  • 190
1 vote
0 answers
503 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
1k 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
125 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
3k 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,795
2 votes
0 answers
418 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
  • 445
3 votes
3 answers
706 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

1
2 3 4 5
9