The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
11 views

virtualbox shared clipboard not working [on hold]

I run linux mint on my laptop, and I installed the newest virtualbox software from oracle. I run windows 7 inside a virtualbox. Now I would like to copy and paste or drag and drop files from linux ...
0
votes
1answer
30 views

Cannot copy-paste from or to the gnome-terminal

I am using Arch linux. However after the recent gnome update, I am not able to copy or paste anything into or from gnome terminal to gui applications like editors or browsers. However I am able to ...
5
votes
1answer
87 views

prevent multi-line paste in bash

I often use ctrl+c to copy text from some gui application and then paste it into my terminal emulator (terminator), using right-mouse-click-menu and paste. Sometimes I forget that the clipboard ...
33
votes
3answers
3k views

Why does Vim indent pasted code incorrectly?

In Vim, if I paste this script: #!/bin/sh VAR=1 while ((VAR < 10)) do echo "VAR1 is now $VAR" ((VAR = VAR +2)) done echo "finish" I get these strange results: ...
0
votes
1answer
28 views

Copy& Paste Fedora and Virtualbox CentOS7

I want copy text from Fedora 21 and paste to Virtual box with CentOS 7 how can I do that?? I change in Virtual box settings Shared Clipboard and Drag'n'Drop to bidirectional Thanks for help, ...
0
votes
1answer
40 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
144 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
92 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
85 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
72 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
157 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
95 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
63 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
27 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
208 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
47 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
57 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
130 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
94 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
146 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
197 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
257 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
183 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
56 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?)
3
votes
1answer
90 views

Pasting in Thunderbird turns line breaks into spaces

$ cat test.txt a b $ xclip test.txt 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 ...
3
votes
1answer
77 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
77 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
95 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
76 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
648 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
144 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
282 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
648 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
355 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
130 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
4k 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
453 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
333 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
77 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
501 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
26 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
73 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 ...
5
votes
4answers
309 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
439 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
149 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
373 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
134 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
179 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 ...