3
votes
1answer
55 views

Copy image from clipboard to file

Is it possible to take an image from the clipboard and output it to a file (using X)? I can do this with text easily: $ xclip -selection c -o > file.text But when I try the above with an image ...
5
votes
1answer
64 views

What's the difference between Primary Selection and Clipboard Buffer?

I am tweaking in Webkit-browser land in Linux and I come accross the terms "Primary Selection" and "Clipboard selection or buffer" very often. I want to understand what are they and what ...
2
votes
1answer
132 views

Copy/paste does not always work from Firefox to terminal

Using st with dwm, depending on the way I select text (e.g. mouse vs keyboard), and where the text is (e.g. document body vs address bar), copying text from firefox and pasting it into st does not ...
0
votes
1answer
18 views

Is there way to sync the shell yank buffer and the clipboard? [duplicate]

In a terminal I copy a line by Ctrl+a and Ctrl+k. I want to copy the text into clipboard when another window become active so that I can use the text another application, like a text editor or a ...
3
votes
0answers
46 views

Why does selecting text only “copy” it (as in copy and paste) circumstantially?

One of the most user-friendly features of Linux is that highlighting or selecting text will automatically copy it so that it can be pasted upon a middle- click. However, this can also be a point of ...
11
votes
0answers
141 views

vim/gvim failing to put X11 clipboard in registers “+ or ”*?

Due to the lack of security with standard vino server, I switched to use x11vnc on my linux (with Xubuntu 14.04) box and SSVNC on the windows side. With vino, cut and paste from windows to Linux ...
5
votes
3answers
1k views

How can I disable selection highlight auto-copying?

I've finally found myself at home in Linux, but there is still one thing that has bothered me since the start, and I have not found a realistic solution: How do I disable the automatic copying of ...
2
votes
1answer
93 views

Getting the value of the clipboard

Is there a command to output the current value of the clipboard? Example (this command doesn't exists, it's just an example of what I'm looking for: cat clipboard > Hello world! Also, if the ...
8
votes
1answer
110 views

Filter the clipboard content without using an intermediate file

I'm trying to modify the text that is in my clipboard, remove certain lines of that contains some strings and then get the output for further manipulation (I prefer coping to my clipboard only if I ...
1
vote
1answer
1k views

How can I select all copy from vim and paste to other program e.g. mail client?

How can I do the following? Copy all text from vim and paste it to an external program e.g. mail Outlook? I tried +y and gg*yG but the paste does not work.
4
votes
3answers
207 views

How many clipboards are in system? [duplicate]

I was recently thrown there from the windows world and I'd like to ask some questions about clipboards in Linux (and Unix?) systems. What is X clipboard? How many clipboards are in Linux? Actually, ...
5
votes
1answer
801 views

Keyboard shortcut to copy current command from terminal to clipboard [duplicate]

Is there any way to copy current command (line typed in bash prompt) in terminal to X-clipboard without involving a mouse?
5
votes
1answer
182 views

Clipboard utility to paste back multiple lines one by one

I need a tool or utility that can take a text file and copy each line onto the clipboard in a way so I can paste back the text line by line by continuously pressing Ctlr-V. For example, if the text ...
4
votes
1answer
120 views

Can I access X11's clipboard from tty1-6?

Sometimes, when I'm running on battery and don't need a window manager, I'll log into tty1, fire up fbterm and Vim and work. Later, if I need the window manager, I'll use the log in GUI but switch ...
4
votes
0answers
567 views

A real non-“better touch tools” solution for select-to-copy on Mac OS X

I recently moved to Mac. I am missing my X11 copy-paste style. I can't find a way to exactly emulate X11 behavior "select-to-copy", "middle-click-to-paste" globally on Mac OS X. I am aware that this ...
13
votes
2answers
1k views

Copying files from command line to clipboard

In a GUI file manager it is possible to select a few files, press Ctrl-C (which supposedly copies come info about the files to clipboard), then navigate to another folder and press Ctrl-V, which will ...
3
votes
3answers
139 views

Is there a tool that pastes from clipboard one character at a time?

Is there a tool that pastes from clipboard one character at a time? Something that would simulate a real person typing, like in the movies ;) Of course I am referring to X applications, preferably ...
2
votes
1answer
474 views

Methods of pasting X11 primary selection contents?

I like having a keyboard shortcut to paste contents of X11 clipboard. Right now, I have the following in my .Xresources file: XTerm*VT100*translations: #override \n\ <Key>F2: ...
2
votes
1answer
409 views

Pasting the content of xclip onto gedit [duplicate]

Possible Duplicate: Copy file to xclip and paste to Firefox I would use the following command to copy the output of uptime to the clipboard: uptime | xclip Then I can paste the copied ...
2
votes
1answer
255 views

How should I start X after ssh'ing into a remote box?

I am trying to syncronize my clipboard with a remote machine using XQuartz and xsel. It works, but only after I run an X windows program: connecting from Mac OS X with Quartz running and the ...
1
vote
1answer
78 views

How do I copy and paste text that's in a weird window (pictured here)?

The program is called ncview. I can drag and highlight the text inside, but not even Ctrl-C allows the text to be copied for pasting. Current distribution is a Debian distribution.
9
votes
1answer
2k views

Copy file to xclip and paste to Firefox

I'm coping file to xclip cat file.txt | xclip I'm pasting without problem with xclip -o When I want to paste it to Firefox with Ctrl+V it pastes old text (that shouldn't already be in the ...
6
votes
2answers
721 views

How to share the clipboard betwen bash and X11

In this thread the top answer shows how to copy text that has been previously selected with the mouse on a gnome-terminal, to the clipboard in X11. My question is: Say I copy a piece of text from the ...
11
votes
2answers
10k views

How to use keyboard instead of mouse middle-click for copy/paste? [duplicate]

Possible Duplicate: Pasting X selection (not clipboard contents) with keyboard Is there a shortcut for copy-paste under X? I'd like to use the keyboard for pasting.
4
votes
4answers
2k views

Are there any advanced clipboard managers for Linux?

Are there any "advanced clipboard" managers for Linux that can store several things at one time? For example I might wnat to collect several things in the clipboard: a .jpg file some text etc. ...
13
votes
3answers
1k views

How can I use just one unified clipboard? (even for IntelliJ's “copy path”)

I don't really understand the linux clipboard/s scheme. Instead of understanding it, is there a way to simplify it into one, unified clipboard? You know, so I could copy in any app and paste in any ...
2
votes
2answers
855 views

Simple terminal emulator that supports cut/paste with other programs?

Coming from Mac OS X, I've enjoyed being able to cut/copy/paste text to and from its built in Terminal application. Now, I am planning to migrate to a tiling window manager like scrotwm, xmonad, ...