The tag has no wiki summary.

learn more… | top users | synonyms (1)

2
votes
1answer
22 views

Copying clipboard-content to file automatically and continiously?

I need to make a list of some links on a web-page. I've been using right-click copy link URL and then pasting it (Menu_Edit->Paste) into vim running in xterm -- then repeating. This is obviously a ...
1
vote
2answers
49 views

Paste text from clipboard directly to browser and make Google search for it

When we need to paste something to Google Search from our clipboard, we need at least two or more clicks, before we can get to URL bar and hit CTRL+V and then Enter to start searching. I was thinking ...
3
votes
1answer
38 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 ...
2
votes
2answers
79 views

Can I speed up pasting into vim?

I copied a part of the HTML out of a web page and wanted to save it in a file. For that I started a new vim session in a terminal window, with a (new) filename specified on the commandline, hit i to ...
5
votes
1answer
74 views

Copy/paste across vim without X

In vim, "+p pastes from the system clipboard. However, when working remotely over SSH on a non-GUI box, this is not available. Is it possible to implement copy/paste in this environment? Merely ...
4
votes
2answers
255 views

Copy-paste for vim is not working when mouse (:set mouse=a) is on?

I was trying to copy paste something from vim to another application and also, from that application to vim using right click with mouse and then copy and paste (or with Ctrl+v and Ctrl+c and also ...
5
votes
1answer
61 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
3answers
204 views

Where is the source code for copy-paste?

I've been working with copy paste functionality on a Linux system. I downloaded the kernel source for the first time. Where can I find the code related to copy paste functionality? My guess is that ...
3
votes
3answers
47 views

emacs: in terminal selected string gets lost on ctrl-k

I select an absolute file name with the mouse in a terminal I want to open this file in a running emacs: ctrl+x ctrl+f Emacs mini buffer: contains "~/...." I enter ctrl-a ctrl-k to delete "~/...." I ...
2
votes
1answer
109 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
17 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
44 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 ...
2
votes
3answers
86 views

How to read over 4k input without new lines on a terminal?

So I have a lot of data WITHOUT NEW LINES on the clipboard (it's a large SVG file on one line). I went $ cat >file.svg then tried to paste (in Gnome Terminal), but only the first 4kB characters ...
9
votes
0answers
112 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 ...
2
votes
1answer
65 views

Knowing default clipboard manager

There are many Clipboard Manager for Unix-based Operating System but is there a way to actually know which one is being used? I am on Fedora 20 under Gnome 3.10.1 and I know that I'm using GPaste ...
5
votes
2answers
158 views

Print the system clipboard content in bash

There is a way to put some command output to system clipboard via xclip. some-command | xclip -selection clipboard I'd like to perform a reverse task - Print system clipboard to terminal. How it ...
3
votes
1answer
85 views

fetch clipboard text and remove hyphens

I'm running Mac OS 10.9 and I use the Text to Speech feature which allows you to use a hotkey that reads selected text in any application. I use this feature for reading out-loud PDF documents in ...
1
vote
1answer
84 views

Partially remove formatting from text in clipboard

I need to delete the formatting in the text contained in the clipboard, but keeping some elements. The most important are the "new line" characters. In a simple script, the effect of variable=$(xsel ...
5
votes
3answers
901 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
58 views

Copying emacs content through terminal app's clipboard copies unexpected tabs for some spaces

I'm using terminal.app on OS X, and when typing in emacs I often want to copy the text and paste it into some other program. When I do, I find that copied text has some spaces unexpectedly replaced by ...
1
vote
2answers
71 views

Howto copy and text from termial to (GTK-)emacs?

If I select text in my terminal (in my case urxvt) and then click with the middle mouse button into an emacs window (GTK), it pastes the selected text from terminal. Since I don't want this ...
2
votes
1answer
88 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 ...
1
vote
1answer
974 views

Copy/paste into SSH'd VIM from local (Windows) clipboard

I would like to copy from a local machine and paste into vim on a remote box which I am SSH'd into. That's it. I have tried "+p and "*p, mouse middle-clicking, and a couple other things to no ...
2
votes
4answers
306 views

How to copy multi-page text from the terminal into the clipboard?

I was viewing a man page for a software on my machine and I needed to copy-paste some of that text but the text was much more than one page. I'm aware I can direct the output to a file and use UI ...
8
votes
1answer
106 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 ...
0
votes
1answer
262 views

virt-manager copy paste functionality to the vm

Anyone know how to get Virtual Manager to install copy-paste functionality to the Virtual Machine? Can't find anything on Google.
5
votes
2answers
1k views

Easy way to paste command line output to paste bin services?

Are there any command line tools on Linux that allow you to post output from commands or text files directly to a sharing service such as pastebin.com?
3
votes
1answer
95 views

Trailing spaces when copying from gnome-terminal using zsh

When copying text from gnome-terminal with zsh trailing whitespace is also copied. For example copying the following clearly adds a vertical scollbar on stackexchange site as trailing whitespace the ...
2
votes
2answers
56 views

Simple terminal emulator (themable) with mark-as-copy with 'universal' $TERM

I have a need for very simple terminal (no multiple tabs, no menu etc. - I use XMonad so splitting windows is not necessary as well). I tried to use xterm but unfortunately I need to be able to ...
2
votes
1answer
316 views

Mouse shortcut to copy the path to a file in the Gnome file manager

Is there a Linux equivalent of the Windows Shift+Right-click sequence? I use this a lot on files and directories to get the 'hidden' "Copy as path" option in the pop-up menu. It saves a lot of ...
5
votes
2answers
99 views

How to send command output to GNU Screen's copy mode buffer

Is there a way to send the output of a command to a GNU Screen's copy mode buffer. I'd like to type something like this: $ echo 'this is an example' | screen_send_to_copy_mode or, maybe C-a Some ...
3
votes
1answer
207 views

bash environment - pasting strings with “special” characters

I'm using an application and I need to paste a string into the app... e.g ãµÜÇæ¢üäÄøqò When I login with bash shell it's impossible to paste the string with the special characters. If I change the ...
5
votes
3answers
291 views

Remove trailing new line from 'clipboard' to prevent execution on the terminal?

Is there some way to run whatever you copy to the 'clipboard' through some sort of filter? Ideally to strip out the trailing newline from something you copy, so that it doesn't auto-run in the ...
2
votes
2answers
4k views

Copy-paste between Hyper-V guest and host

My computer runs Windows Server 2008 R2. It hosts a Hyper-V virtual machine running Ubuntu 12.04 as the guest OS. I want to copy text from Ubuntu and paste this text in Windows (and copy text in ...
3
votes
1answer
123 views

cp --attributes-only documented but not working “now”?

PROBLEM: cp --attributes-only Source Target results in two files unchanged, where the attributes from Source should be copied to Target. Attempts to solve: As I have the 8.13 version of coreutils ...
1
vote
1answer
973 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.
0
votes
2answers
209 views

Commands pasted into terminal are truncated

I have a list of commands I would like to paste into the terminal so that they run one after the other. Initially they run fine, but commands later on are being truncated. Example command: ogr2ogr ...
0
votes
2answers
64 views

How do I copy and paste seperately? [closed]

I know for the cp command you have to specify the source(s) and destination. But what if I have to copy say all folders under src folder, do some other operations, and then paste later on? In short, ...
8
votes
4answers
544 views

Terminal - copy from CLI without using mouse

While firing commands in CLI, I want to copy the command I just fired or anything I wrote in terminal and paste it somewhere else without using mouse. Like in following picture, I want to copy the ...
1
vote
2answers
5k views

How to select, copy and paste some columns from different files and create one file from them?

I want to create and organize data in a file from a number of files by selecting parts of the columns of the given files. I have more than 10 file to copy the second, third and forth columns of each ...
1
vote
2answers
72 views

how to select part of the row and pasting to form other file?

I want you help me how to organize my data by cutting in the following way. I have the input data as below. input.file: 1 2 1 0.6007 0.1 0.3 0.2 0.7 0.7 0 2 0.3073 0.1 0.1 0.2 0.4 0.7 ...
2
votes
0answers
41 views

KDE clipboard - dictionary integration

I'd like to know if there is a way to integrate a dictionary with KDE's clipboard tool (Klipper). I noticed that you can "Enable clipboard actions" which allows it to do stuff like detect URL's and ...
3
votes
1answer
189 views

Copy markdown input to the clipboard as rich text

I'm about to get involved in some collaborative prose writing with a friend of mine via email. As a regular person, he will of course be using MS Word document formats; as a massive nerd, I prefer to ...
4
votes
3answers
201 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
676 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?
2
votes
1answer
534 views

How to select a line of text in the archaic terminal browser - Links

I poured over this http://links.twibright.com/user_en.html#subsubch-html_options But so far does not seem like there is an key to select a line in the browser running in text mode. I would like to ...
2
votes
1answer
406 views

cat >/path/to/file <<EOF drops some paste content, also patch <<EOF too. Why?

From time to time I like to use cat >/etc/configfile <<EOF thing, and paste content, then send EOF that will flush it into file. Its good with one or two lines, but when there's more of them, ...
4
votes
2answers
189 views

How to make Shift+Insert paste selection after closing window with selection?

Typical scenario: I want to get a snippet from a text file into my terminal (probably running a VIM). Now I open the file using mousepad, select the snippet, close mousepad, switch to urxvt and hit ...
5
votes
1answer
173 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 ...
0
votes
1answer
318 views

Opera, Firefox has no kiosk option like Chrome gives it openly?

While using Chrome kiosk mode, i have problem with openbox desktop, its not doing correct for some javascript rendering. So i wanted to test opera and firefox but both does not support kiosk at all ...