The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
16 views

Gnome, nautilus copy files to USB stops at 100% or near

I had similar issues before but i don't remember how i solved it. When i try to copy something to USB stick, with FAT, it stops near the end, sometimes at 100%. And of course, when i transfer the ...
0
votes
1answer
13 views

gnome-terminal not copying and pasting

After highlighting material in a Linux command line window with my mouse and then, either 1) right click copy and paste or 2) center click to paste in the command line, nothing has been copied. I can ...
2
votes
3answers
14 views

Copy a rectengular block into primary selection from within screen session

If you are on a remote machine in a screen session you can Enter the "copy-mode" by Ctrl+a+ESC and then use Space and the arrow keys to do a normal selection. Now you can use a small c to set the ...
3
votes
1answer
55 views

Why does Shift+Insert paste from CLIPBOARD in some applications and PRIMARY in others?

How do I paste from the PRIMARY selection (eg. mouse-selected text) with a keyboard shortcut? Shift+Insert inconsistently pastes from PRIMARY or CLIPBOARD, depending on the application. Background: ...
1
vote
1answer
40 views

Is there a way to copy a rectangular area in a bash or konsole terminal?

Is there a way to copy a rectangular area in a bash or konsole terminal? Is something like this supported on the normal terminal, or will it be only available on terminals run in a GUI environment?
0
votes
2answers
40 views

How to insert specific lines into a file using vim?

I am using vim for both programming and competitive coding. Now, since I want to insert specific macros whenever I open a source file when I am doing competitive coding. I just copy paste the entire ...
4
votes
2answers
46 views

make terminal selection automatically copy to the system clipboard buffer?

Is there a way to have terminal applications (gnome-terminal, terminator, etc) automatically move selected text to the CLIPBOARD system buffer, and not just the PRIMARY (i.e. terminal-local) buffer? ...
2
votes
3answers
49 views

Paste text to another application from script via shortcut

Let me describe what I want to achieve. We are using two-factor authentication and I would like to create script which will generate TOTP token for me and it will paste it to let's say Firefox on some ...
3
votes
2answers
59 views

Prevent auto-selected text from copying

I really like the Linux-style copy paste (highlight text to copy, middle-click to paste) - except when text is automatically highlighted in a dialog box. For instance, selecting text on a web page ...
1
vote
0answers
40 views

How to share Windows clipboard with Linux using TightVNC?

I'm connecting to my Debian squeeze server through the Windows TightVNC viewer and tightvncserver on Linux. I have put the following line in my ~/.vnc/xstartup file: autocutsel -fork However, this ...
2
votes
2answers
49 views

Efficiently copy names in shell

I have noticed an efficient technique that some users use to quickly copy directory and file names in the terminal or shell. The behavior/usage is as follows: Issue ls Click on the desired entry, ...
0
votes
0answers
65 views

Repair Citrix Clipboard functionality on Linux

I can no longer copy and paste between Citrix icaclient applications and local applications as was. The Citrix support states This issue occurs when a third party application inserts itself in ...
1
vote
1answer
50 views

Copying content of a remote file into the local clipboard over PuTTY

I am accessing a Unix system using Putty and need to copy the content of one of the Unix files into my local Windows. How can I do this?
2
votes
2answers
44 views

clipboard in bash

We can cut and paste current line in bash with ctl+u and ctl+y But I have read here that bash doesn't have clipboard concept, so how those shortkeys working? (or in another way: what they doing?)
1
vote
0answers
45 views

Pasting in Thunderbird turns line breaks into spaces

$ cat test a b xclip test Pasting the content in an email in Thunderbird will result in a b Any idea why? I'm running Arch Linux (64-bit) and I paste the code via a mouse wheel click (though I ...
3
votes
1answer
48 views

Application that allows to show clipboard contents and its MIME type?

I'm searching for an application that can show me the details of the content of the clipboard. When copying some data into the clipboard, the data is associated with a specific MIME type. Normal text ...
0
votes
2answers
59 views

Copy a file in Nautilus and use it in a shell command line

Suppose I click on a file in Nautilus. How can I copy the full address to the clipboard, and then easily paste it into a shell command that I'm typing in a terminal?
1
vote
1answer
57 views

Different kinds of copy-paste in Emacs under X

From http://stackoverflow.com/a/65473/156458 Let's be careful with our definitions here An Emacs copy is the command kill-ring-save (usually bound to M-w). A system copy is what you ...
2
votes
1answer
53 views

top not showing the memory usage of cat

I wanted to generate some waste file of 50 GB. so i wrote this eightnoteight@mr:~/ while true; do > cat txt >> tmp > cat tmp >> txt > done and when i ran top,watch to observe. ...
1
vote
1answer
327 views

Copy and paste text in Xterm on OpenBSD

I installed OpenBSD 5.5 using the recommended defaults. The OS came with fvwm as the window manager. How do I copy text within an Xterm and paste it into another Xterm? Using the mouse? Using only ...
2
votes
1answer
93 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
184 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
299 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
3answers
179 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
98 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 ...
5
votes
2answers
2k 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 ...
6
votes
1answer
229 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
297 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
67 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
311 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
21 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
62 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 ...
3
votes
3answers
192 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 ...
14
votes
0answers
320 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
96 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
238 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
116 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
149 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 ...
7
votes
3answers
2k 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
135 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
152 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
110 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 ...
2
votes
1answer
2k 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
1k 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
144 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

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.
6
votes
3answers
3k 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
162 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
88 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
637 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 ...