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
1answer
67 views

Enable copy/paste in vim on bare Linux

I'm using vim on Linux Debian without desktop environment (i.e xorg, i3, urxvt). I'm not unable to copy and paste ("+, "* not work), because clipboard package is not installed: └> vim --version | ...
0
votes
2answers
43 views

Enable copy/paste on bare Linux inside VMware

I explore Linux by installing and configuring it from scratch (i.e. no gui, bare terminal). I installed only xorg, i3, gnome-terminal and few other utilities. Besides, I've installed open-vm-tools to ...
4
votes
0answers
49 views

Separate clipboard for particular application

I asked this question in Tor Stack Exchange, but it seems to fit better in this community. Is it possible, on Debian with Klipper running, to have a separate "clipboard stack" for a particular ...
1
vote
0answers
8 views

Separate clipboard for torbrowser [duplicate]

I'm running torbrowser on Debian. klipper saves the history of my clipboard. I would like to desactivate this feature for tor browser, so that I can use the copy-paste functions "locally", without ...
1
vote
0answers
43 views

Copy large texts to clipboard in X11

If I try to copy a large file (around 30K) to clipboard with xsel (or xclip), the copy operation fails and the content of clipboard remains unchanged. If it's a hard limit in X11, is there any way to ...
0
votes
0answers
21 views

Copy&paste from gnome terminal to screen started in the same terminal session

I run Gnome Terminal 3.22.2 in LXDE. I select some text using mouse, run "screen" command and try to paste what I just copied. If I copy by selecting and paste using middle mouse button, it does not ...
0
votes
0answers
15 views

Multiple ctrl +v or Macros?

I'm working on customer service for one company. I'm looking for program to make macros for messages that i use regulary. Multiple copypaste would be also awesome. Thanks in advance!
3
votes
0answers
33 views

Cut Paste shortcuts issue

I hope to get some help here. I really don't know how to tackle this issue that I'm experiencing in the last days. In the last few days, ctrl+c and ctrl+x work randomly in every application. For ...
1
vote
3answers
44 views

use less on content in clipboard

I copied some text and want to search through it using less. I wonder how I can directly use less on my clipboard content without having it saved first into a file or being echod etc.
1
vote
0answers
42 views

How to analyze an accidental copy/paste in the terminal?

While I was trying to copy and paste a command line from a web page, I somehow managed to copy/paste the source code of the entire page, with all the tags and so on (don't ask me how). This is the ...
1
vote
1answer
79 views

Copy & Paste unusable in KVM virtual machine (Ubuntu) when RStudio is running

Setup: Fedora 30 with a KVM/qemu virtual machine running Ubuntu 18.04.1. (This setup because I want to run RStudio and on my Fedora 30, and it just barfs & dies immediately somewhere in the ...
0
votes
1answer
85 views

How to copy/paste from xfce4-terminal to another xfce4-terminal while in vim?

Copy/paste has never worked properly in all cases in GNU/Linux, for decades, and this problem is still not fixed. I find myself with two xfce4-terminal instances, terminal A and terminal B. Terminal ...
0
votes
0answers
10 views

Pasteconfigured string on any window

I'd like to configure a shortcut to paste some pre-defined text on any window I'm currently working. For example, I have a setting: proxy=http://localhost:3128 that I have to type sometimes on a ...
0
votes
0answers
17 views

I had to fix the blocks on my external HDD and now it is working reaallllly slow

I am trying to copy something to my external HDD and it copies things at 1.2MB/s which means I have another 25 hours to wait for everything to be copied over (101GB). It it used to be a lot faster (...
2
votes
0answers
169 views

Copy image to clipboard with xclip doesn't work properly

So, I tried the following xclip -se c -t image/png -i imagefile.jpg This does indeed copy the image into clipboard, and I can paste it into gimp, or paste it into a new image file as in the ...
0
votes
1answer
38 views

Shell command to set tmux clipboard

I sometimes run a command like this to set the system clipboard, because I want to paste the result of whatevercommand into a text editor, terminal, or whatnot. whatevercommand | xclip -selection c ...
0
votes
1answer
34 views

How to use existing terminal session to save output with ANSI escape code like `script` or `screen -L` do?

I run a python script on konsole to print long logging for few hours, then I realized I want to save its output with color, but it's too late to run either script or screen -L to save the output as ...
1
vote
1answer
198 views

Copy a row in a CSV file based on a value in another column

I have a file of 800+ rows. Each row has a certain number of individuals we have to measure a trait on (n = 3, 5 or 10). I would like to expand the file so each individual has their own row based on ...
0
votes
0answers
33 views

Copy/paste on local desktop not working when tigervnc active

I cannot copy/paste (ctrl+c or just right click) text/file on my computer, when I have tigervnc connection active. When i.e. I do ctrl+v to text editor, I get a content of a clipboard of the remote ...
0
votes
1answer
70 views

copy paste from debian buster doesn't work on MS-Windows 10

I have been working on a computer which apparently has Debian buster as well as MS-Windows 10 1903 . On the said machine before you could copy and paste files and folders without an issue. In some ...
2
votes
0answers
16 views

Clipboard trims whitespace on last line in Debian Stretch (GNOME)

I've noticed that when I copy and paste something, the last line, which may have been indented, is no longer indented when I paste. For example, this: class Migration(migrations.Migration): ...
2
votes
1answer
18 views

Pbcopy acts as Pbpaste when symlinked

To keep my configs sane between environments, I thought it's a great idea to do the following on MacOS. ln -s /usr/bin/pbcopy /usr/local/bin/xclip However, my xclip symlink does not act just as ...
0
votes
1answer
87 views

Short command or alias to copy last command to clipboard

Often I'd like the command I just typed to put into the clipboard, and I'd like to do it from the command line. I came up with: alias cl="fc -ln -1 | sed 's/^\s*//' | xsel -b" To alias cl to that ...
0
votes
1answer
64 views

Can I make characters uncopyable in a terminal emulator?

I run fish (in gnome-terminal) with a custom style that gives me information about the current Git repository: That's all very fine, but when I want to copy-paste some command with its output like so:...
0
votes
0answers
18 views

Copy between different vim instances in different tmux sessions (RHEL 7.6 Maipo)

I recently work a lot via ssh on a server where I do not have root access. Is it possible to set something up to copy between different vim instances in different tmux sessions without writing ...
3
votes
1answer
181 views

Using multiple copy buffers in Bash

Ctrlu cuts text from current location to the beginning of line. Now, I can paste this with Ctrly whenever I want until the next time I hit Ctrlu to copy another line in the buffer. Now the problem I ...
2
votes
2answers
214 views

Pasting multiple lines so that they consistently execute

Here's an example of a very simple code snippet that I'd like to paste to my terminal in a way that everything is executed. sudo apt update sudo apt upgrade sudo apt -y install build-essential sudo ...
0
votes
0answers
32 views

Why does gVim “takes over” my clipboard when using GNOME Terminal?

In a VM window on my Win10 machine, running RedHat Enterprise 6.6 / GNOME 2.28.2, I have a GNOME Terminal and gVim windows open. When selecting text in the Terminal with the mouse, and then using "...
0
votes
0answers
875 views

GNOME Terminal 2 mouse copy/paste not working

Marking text with mouse left-button in a GNOME Terminal 2 window does not place it into the clipboard, so it can be pasted with mouse middle-button. When pasting I instead get text I have copied to ...
0
votes
2answers
362 views

How to get file path which was selected and make copy in dolphin KDE and paste on zsh?

➜ ~ cat .zshrc | grep xclip alias c="xclip -selection c" alias -g v='"$(xclip -selection c -o)"' ➜ ~ v zsh: 没有那个文件或目录: file:///home/roach/Downloads/pure.png ➜ ~ The Chinese words "没有那个文件或目录" ...
3
votes
1answer
3k views

QEMU/KVM Windows 10 Guest won't copy/paste text or files back to host

I am running Debian 9 (Stretch) with QEMU/KVM hosting a Windows 10 - 1809 guest. Using Spice for graphics. I installed SPICE Guest Tools 0.141 and am able to copy/paste files and text from my Debian ...
1
vote
3answers
2k views

How do I copy and paste with Kitty?

Kitty is a terminal for Linux. How do I copy and paste with it. CTRL+c does not work? And there is no option on right click. Right-click also doesn't work for copy.
0
votes
2answers
96 views

How to grab x characters long of start text from xclip selection and append to filename?

So I am trying to figure out how to add a title after the timestamp in my xclip script here. I would like it to grab about 24 characters worth of text from the beginning of each selection and save it ...
1
vote
1answer
793 views

How to copy/paste text using the mouse from one tmux instance in one terminal emulator to another tmux instance in a different terminal emulator?

How can I copy some text using the mouse, between two terminal emulator instances, each running its own instance of tmux? I've read this: How to copy and paste with a mouse with tmux And various ...
1
vote
1answer
69 views

How to get clipboard as input file name to Vim on bash?

I install xclip to access system clipboard, my setting and some operations as below: ➜ ~ cat .zshrc | grep xclip alias c="xclip -selection c" alias v="xclip -selection c -o" ➜ ~ which dict | c ➜ ~ ...
2
votes
0answers
49 views

Vim editor universal config for copy/paste on multiplatform environment does it exists? [closed]

I spend a lot of time to get comfortable working with Vim, and I am there right now, except one thing. Also it look like Vim has advantages in many cases working on embedded programming or kernel ...
1
vote
0answers
29 views

Can I refer to current clipboard content as a file?

I'd like to select-and-copy some text to clipboard and then to send it via Bluetooth to my phone. But this requires to open a file to send. Well, I know about programs like xsel or xclip, but here it ...
0
votes
1answer
71 views

Konsole does not participate in either clipboards for one user

We use Debian 9 with the Xfce desktop at work. One user uses both xfce4-terminal and konsole. For some reason he cannot copy text from Konsole using neither mouse selection and middle click nor the ...
1
vote
1answer
775 views

Ubuntu 18 Tmux 2.6-3 copy paste functionality with xclip non functional

I recently did a fresh Ubuntu 18 install and copied over my home directory from my previous Ubuntu 16 setup. However this seems to have broken the copy paste functionality I had previously with xclip (...
0
votes
1answer
203 views

How to use clipboard data in bash script? [duplicate]

I very often use a simple curl command to get IP addresses details. curl ipinfo.io/111.222.333.444 Almost everytime I got the IP address in the clipboard Is there a way to use a bash variable to ...
3
votes
2answers
3k views

Cut/Paste stopped working for me

I am using Debian Sid/unstable. After a rather large set of installation (changing desktop from cinnamon to gnome) I got a completely non-functional clipboard. I literally cannot copy/paste in any ...
0
votes
1answer
896 views

Can't Paste any Texts [duplicate]

I just download some Desktop Environment for my Kali Linux. Then at second usage (after reboot), I tried to copy MAC Address in terminal. But when I click Paste, the text can't even show in my screen. ...
1
vote
0answers
73 views

xclip copy file so it can be pasted as a file (not file content) [duplicate]

How can I copy a file with xclip, so that it is pastable as a file in file explorers? I searched on google an so on and found stuff like this Copy file to xclip and paste to Firefox, but there it is ...
1
vote
1answer
414 views

xst terminal: normal clipboard disabled when in tmux

When use xst not in tmux, clipboard somehow share the same with the system/os/or-whatever-idk, but I can copy from firefox/chrome and paste into xst. But with tmux I can't do that, tmux only allow ...
2
votes
1answer
193 views

Unable to copy from VIM to clipboard using "+y command

I am unable to copy strings from vim paste them somewhere else, for example in the terminal, using "+y. I run Ubuntu on my laptop, the vim version is vim-gtk, it has xterm_clipboard and clipboard ...
7
votes
2answers
6k views

tmux: Select and copy pane text with mouse

My Problem When I select text from tmux using the mouse, the block selection spans to neighbouring panes. What Have I Tried set -g mouse on Hitting option while selecting (Mac's equivalent for alt) ...
1
vote
1answer
31 views

Access primary register with keyboard

I’ve read this answer on superuser.com by grawity and part of the text “X Selections, Cut Buffers, and Kill Rings.” by Jamie Zawinski. I understand there’s the primary register: use the mouse to ...
1
vote
1answer
294 views

Tmux binding error `returned 127` in cygwin

I want to use a clipboard manager in tmux. It is the CopyQ, but it does not matter, I guess. In ~/.tmux.conf I set following binding: set-window-option -g mode-keys vi bind C-y run 'out=`tmux save-...
0
votes
1answer
4k views

st terminal: copy on select and right mouse click to paste

https://st.suckless.org/patches/clipboard/ makes mousewheel to select and paste but I need copy on select of left mouse and then right mouse click to paste. and to extend, ctrl-v to paste. I use ...
0
votes
1answer
157 views

Calling clipit from inside a shell script

I am trying to launch clipit from inside a script using i3wm and polybar. I expect it to relaunch polybar and start all the programs I wanted if they're not already running when I reload i3, but ...