The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
29 views

How do I configure a Trackpoint, so middle-click scrolling is not misinterpreted as a middle-click paste?

I'm using a Thinkpad USB Trackpoint keyboard, and when I try to scroll, using middle-click and the trackpoint, sometimes it performs a middle-click paste. I don't recall this ever happening with the ...
1
vote
0answers
11 views

Shortcut based clipboard management

I am aware of clipboard managers like copyq's existence, but using them requires clicking around and takes time. I woudl like something purely keyboard based, for using inside terminals. What I have ...
1
vote
1answer
130 views

Operate X clipboard from command line

I'd like to copy and paste to the clipboard from the command line. I've found two utilities that works with "mouse" selection: xclip and xsel. But they both ignore the clipboard that is filled with ...
2
votes
0answers
54 views

Keys for copy & paste in FreeBSD console

How do I copy paste text inside the FreeBSD console? I tried ctrl + c, ctrl + v super + c, super + v I have FreeBSD 10.1 installed in VirualBox on a Mac. I am selecting text with the mouse in ...
1
vote
0answers
58 views

Install Wmware tools on Debian

I can't copy/paste from Vmware virtual machine with 32-bit Debian inside of it to my Windows 8. I decided to install VM tools. After mounting the VM media to /media/cdrom0 I got the contents : ...
1
vote
1answer
63 views

Which log files do I look at to debug copy/paste and Klipper?

Short Version What log files do I look at to monitor copy/paste actions? And what logs do I look at to monitor all Klipper actions? Long Version After using my desktop for a while (could be a few ...
2
votes
1answer
120 views

How Drag & Drop works in linux?

Should one learn the implementation of clipboard first, or drag and drop (D&D) is completely independent? Which components contain code, which is related to D&D? (link to .svg will be the ...
1
vote
1answer
70 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
50 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
21 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 ...
4
votes
1answer
143 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: ...
2
votes
1answer
45 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
54 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
105 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
4answers
83 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
124 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
177 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
51 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
202 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
148 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
54 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
64 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
64 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
73 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
86 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
70 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
565 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 ...
3
votes
1answer
132 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
263 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 ...
4
votes
1answer
520 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 ...
3
votes
3answers
301 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
119 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 ...
6
votes
5answers
3k 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
380 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 ...
3
votes
3answers
317 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
75 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
454 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
25 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
72 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
258 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
1answer
413 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
139 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
336 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
131 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
172 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 ...
8
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
158 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
184 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
122 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
3k 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 ...