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

learn more… | top users | synonyms (1)

1
vote
1answer
17 views

Trying to copy/paste long script with multiple EOFs, Terminal starts running half-way through

Was trying to create a text block that I could just copy and paste into a Terminal window to accomplish something (in this case, create a systemd script to do maintenance on MySQL dbs, create a timer ...
0
votes
1answer
29 views

Get clipboard history in openSUSE Tumbleweed or Leap 42.1

I am looking to access items (text) I have previously copied to the clipboard in KDE (openSUSE). I haven't restarted the system since the items were copied. Is there any way of accessing the ...
3
votes
1answer
20 views

Solus 1.1 adding bidirectional clipboard

I have Solus 1.1 installed in VirtualBox (host Ubuntu 14.04). I managed to install the guest additions using https://wiki.solus-project.com/VirtualBox, but at it says: Installing graphics ...
3
votes
3answers
71 views

How to copy all the text of a nano editor file to windows clipboard?

I am connected from windows to linux using Putty. I have a file result.csv I want to copy all the text from this file to windows clipboard and then paste the text to a notepad? Please help me.
1
vote
0answers
12 views

Is it possible to change the order of items in Parcellite's persistent clipboard?

Is it possible to organize the items on Parcellite's persistent clipboard? I tried moving items from the persistent clipboard back to the normal clipboard, and then back to the persistent clipboard, ...
0
votes
0answers
12 views

xfreerdp + plugin cliprdr often causes freezed workjob

I'm using the following freerdp command to connect to a Windows Server 2008 R2: xfreerdp --plugin cliprdr --no-nla -g 1600x850 10.0.0.XXX My main problem is: Very often when I connect, the picture ...
1
vote
2answers
19 views

How to copy from an app like a browser into Emacs over existing text?

I am trying to copy some text from the browser by highlighting it. I then go to emacs and want to paste over an existing paragraph without deleting it beforehand. How do you do that?
0
votes
0answers
55 views

How to copy from putty and paste in another program

I'm using putty in Centos in order to connect to another Centos server. The copy/paste functions of putty in Centos is weird! I tried to select text to copy text and right click to paste it. The copy ...
3
votes
3answers
58 views

Can the Bash shell “Ignore” Excess copy-paste text?

Say, I have a "Quick&Dirty" Perl script in a gui text editor, and I start the Perl interpreter in a terminal window which is running Bash. I can copy-paste the Perl script to the terminal & ...
1
vote
1answer
52 views

copy&paste in zsh

I've build myself this little script for zsh, to copy & paste within zsh to the system clipboard (basically got everything from here: zsh copy and paste like emacs) x-yank() { zle ...
1
vote
1answer
15 views

zsh jump to the end of copy from X clipboard

I would like to get Ctrl + V and Ctrl + X to paste / copy from zsh to X11. I found the following snippet to work but zsh does not jump to the character after paste. How could I do that. ...
1
vote
0answers
37 views

Can I copy output from sage to my clipboard?

I run sage from the terminal. One nice feature of sage is that it can automatically latex-ify results. I would like to be able to pipe these results to my clipboard (I run Ubuntu 14.04). I have ...
0
votes
1answer
44 views

Where is the clipboard file located? [closed]

Where in the file system is the file containing the content of the clipboard? If there is no file, then how is the clipboard maintained?
0
votes
2answers
51 views

How can I copy the output of a command in the terminal to my clipboard? [duplicate]

I have a script that operates on enormous files and outputs an enormous amount of content (almost 7000 lines). I need to copy the output of this to my clipboard so I can then paste it into paste2.org ...
1
vote
2answers
66 views

Who stores copy/paste buffers in X11?

When a piece of text is highlighted with the mouse, it can be pasted by middle-clicking on the place you want, or by using the always classic Shift+Insert key combo. But, when the area where that ...
1
vote
1answer
38 views

Copy file to clipboard as text/html

I would like to copy the contents of a file to the X11 CLIPBOARD target text/html using the command line. Ideally, this would be as portable as possible across different flavors of Linux and possibly ...
1
vote
0answers
63 views

Copy text in byobu when the mouse is “off”

I recently started using byobu with tmux as a backend. I have learned that AltF12 toggles "mouse mode" off and on. When "mouse mode" is on, I can select text with my mouse and paste it with the middle ...
1
vote
0answers
43 views

Vim losing ability to copy to client clipoard over SSH

I have setup vim to be able to yank text from the server instance of vim to the clipboard on My client's operating system (through the SSH connection). The basic setup is Client side ...
2
votes
1answer
97 views

Clipboard doesn't work between Win7 (local) and Linux (remote)

I'm using Win7 64-bit and connecting remotely to Debian. The thing is copy/paste doesn't work even for plain text. I've tried killing this process rdpclip.exe and create again, but that didn't help. ...
1
vote
1answer
51 views

How to change/remove paste on middle click? [duplicate]

Question: How to remove the "paste" feature of the middle button? I am not asking to remove the middle button from the device (as many pages show as a solution) because I use this middle button for ...
2
votes
4answers
238 views

Interactively add arguments line-by-line in bash

Sometimes it happens that I have a list of files or strings in the clipboard and want to paste it as an argument list in a bash shell: Example file list (only an example): createsnapshot.sh ...
1
vote
0answers
45 views

How to use Ctrl+mouse click in tmux?

Due to the change in Tmux2.1, I need to remap my mouse's middle click to tmux's paste: bind -T root MouseDown2Pane run -b "tmux paste-buffer" However, I also would like to enable using Ctrl (or ...
22
votes
4answers
2k views

What causes a copy/paste in terminal to sometimes execute the command?

When you paste some command in terminal, it will sometimes automatically execute the command (just like if the "Enter" key was pressed), sometimes not. I've been using Linux for ages, pasted ...
2
votes
1answer
141 views

Klipper: how to paste current clipboard contents as plain text with a single shortcut action?

I want to be able to copy rich text with CTRL-C, then paste it as plain text with a short cut key (such as CTRL-SHIFT-V or whatever). I'm running KDE and I use Klipper. It seems like there should be ...
4
votes
0answers
153 views

Disabling PRIMARY or cut buffer “copy on select”

I've been fairly happily using Ctrl-C/Ctrl-V, with the occasional Ctrl-Ins/Shift-Ins here and there on Linux for quite some time, but I've recently switched over to urxvt and am finding the clipboard ...
1
vote
0answers
51 views

paste clipboard text plus string with .inputrc

I've got in my .inputrc something like "\C-v": "script.sh " I use a link from my clipboard as a parameter for the script, so I type ctrl-v and then paste the link, and then hit enter. So I've seen ...
3
votes
2answers
54 views

Making an Extra Copy and Paste Script

How can I make a script which duplicates Ctrl + C and Ctrl + V (aside from the actual keybinding part, which I know already I can use xbindkeys for)? So, for example, how could I make bash functions ...
2
votes
0answers
68 views

xfce4-screenshooter creates something invalid in clipboard when taking screenshot

I installed xfce4-screenshooter-plugin on my xfce VirtualBox Debian 8 and. with use of xfce4-screenshooter --help I bound PrScr and Ctrl + PrScr to capture full screen and active window screenshots ...
2
votes
0answers
54 views

RedHat5 stop copy on select

At work do we use RHEL5, with Gnome 2.28.2, we are also required to do development work in RHEL5. RHEL5 have this strange feature that it will replace the clipboard with anything i highlight. This is ...
3
votes
5answers
324 views

Why is Terminal automatically entering my command after pasting text?

This happens whether I use ctrl+shift+v or paste from the right-click menu. How do I make this behavior stop?
3
votes
1answer
68 views

Copy a large (over 4k) selection of text from the screen scrollback buffer into the system clipboard

I wan't to be able to copy-paste the contents of my screen scrollback buffer into various browser text fields, usually when pasting an excerpt from a log file. One way that works well is the ...
2
votes
1answer
92 views

tmux/zsh messes up pasted text

When I paste text into a tmux shell running zsh by select it with a mouse and then hitting 3rd mouse button, it prefixes the text with "200~" and adds a "~" at the end. For example, if I have the ...
2
votes
3answers
2k views

How can I copy text from xterm (Awesome, Debian, VirtualBox)?

I ran the minimal Debian installation inside a VirtualBox instance, installed X11 and Awesome window manager manually (without any custom configuration yet) and installed VirtualBox additions as well ...
2
votes
0answers
123 views

Paste clipboard content without X

I'm sshing into ArchLinux machine from Ubuntu. I want to be able to copy some text from Ubuntu and paste it into a file in Archlinux from terminal. xclip doesn't work for me, because I'm unable to set ...
2
votes
0answers
43 views

System clipboard is flushed out, once I exit vim

I use yy to access the system clipboard always. yy is mapped to a function as, function! Copy_ToSystemClip() .w !xsel -ob end function inoremap yy Copy_ToSystemClip()<CR> It copies to the ...
0
votes
1answer
60 views

Ctrl-y, yanking x-clipboard contents to terminal adds shell prompt string

Using this link, i wrote custom function to yank text from x-clipboard to shell terminal on pressing C-y. I see two issues here, copy_line_from_x_clipboard () { xsel -o } bind -x '"\C-y": ...
0
votes
0answers
35 views

Ctrl + y on shell terminal, paste from system clipboard [duplicate]

I use emacs style bindings for my bash terminal. And i use only the system clipboard and never use any of the application specific/primary selection stuff. When i copy text from emacs window and use ...
0
votes
1answer
62 views

Clear X clipboard using cron [duplicate]

Is there any way I can clear the X clipboard from a cron job? The usual commands for xclip don't seem to work. echo -n | xclip -selection clipboard doesn't work from cron.
1
vote
1answer
76 views

Remove formatting from copy/paste buffer

Whenever I copy any text via X11's copy/paste feature, I would like all formatting to be removed. I waste time daily dumping the text into a terminal, then copying again. Is this possible?
2
votes
3answers
495 views

Trailing spaces when copying from console

It's this annoying behavior I've been experiencing here and there occasionally: when you select text with mouse in console (that is, copy it), paste it, and realize you've got extra spaces at the end ...
3
votes
0answers
65 views

Patching X11 to remove SELECTION clipboard

How would I patch the X11 source to disable or remove the SELECTION clipboard?
0
votes
0answers
20 views

Disabling text entry box autoselect?

I've got a bunch of GUI applications which try to be 'helpful' by automatically selecting text in a text box when the text box gets focus. (The main culprit being my web browser.) This is not ...
2
votes
1answer
552 views

Copy current line to clipboard under cursor without mouse selection

How can i copy the current line under cursor in vi to the system clipboard? I may paste the contents anywhere, in vi itself, or in shell, or in libreoffice app... And i am looking for simpler ...
3
votes
1answer
139 views

How to toggle or turn off text selection being sent to the clipboard

I would like to disable the default behavior that seems to happen with every Linux distribution that I've ever tried that any selected text is immediately sent to the clipboard (Mint, Ubuntu, Fedora, ...
1
vote
1answer
153 views

Ctrl-Y, emacs styled yank text is not working when user is switched

I cut the bash command line text using Ctrl+K. The line was cut as expected. Next, I ran sudo su to become the root user. I tried to paste the command that I cut as the non-sudo user using Ctrl+Y. ...
5
votes
3answers
3k views

Copying & Pasting with URxvt

I'm using URxvt 9.20 on debian jessie and I'm looking for a way to copy & paste text like I was used to with the gnome-terminal (Ctrl+Insert for copying, Shift+Insert for pasting). It works ...
9
votes
1answer
111 views

Is it possible to know the source (application) of the clipboard?

I've noticed that sometimes clipboard contents become unavailable if the source application (where the content was copied from) is closed. This leads me to wonder if it's possible to know what the ...
3
votes
2answers
1k views

How do I select text from terminal by using keyboard only?

I used to select text via mouse click+drag but I want to know if I can do the same thing via the keyboard only? I am talking about selecting text with the help of the keyboard on gnome-terminal, etc. ...
3
votes
2answers
372 views

How to copy file contents to the local clipboard from a file in a remote machine over ssh

To solve this problem I always have to use scp or rsync to copy the file into my local computer to open the file and simply copy the contents of the text file into my local clipboard. I was just ...
0
votes
0answers
11 views

Synchronize strings copied on vim with the xserver clipboard [duplicate]

How to copy a string in vim under terminal and get it available in the main clipboard? Seems that by default, is not possible to copy from vim to my browser, for example