The tag has no usage guidance.

learn more… | top users | synonyms (1)

1
vote
1answer
18 views

tmux/zsh messes up pasted text

When I paste text into a tmux shell running zsh by select it with a mouse and then hitting 3rd mouse button, it prefixes the text with "200~" and adds a "~" at the end. For example, if I have the ...
2
votes
3answers
59 views

How can I copy text from xterm (Awesome, Debian, VirtualBox)?

I ran the minimal Debian installation inside a VirtualBox instance, installed X11 and Awesome window manager manually (without any custom configuration yet) and installed VirtualBox additions as well ...
2
votes
0answers
30 views

Paste clipboard content without X

I'm sshing into ArchLinux machine from Ubuntu. I want to be able to copy some text from Ubuntu and paste it into a file in Archlinux from terminal. xclip doesn't work for me, because I'm unable to set ...
2
votes
0answers
16 views

System clipboard flushed out, once i exit vim

I use yy to access the system clipboard always. yy is mapped to a function as, function! Copy_ToSystemClip() .w !xsel -ob end function inoremap yy Copy_ToSystemClip()<CR> It copies to the ...
0
votes
1answer
29 views

Ctrl-y, yanking x-clipboard contents to terminal adds shell prompt string

Using this link, i wrote custom function to yank text from x-clipboard to shell terminal on pressing C-y. I see two issues here, copy_line_from_x_clipboard () { xsel -o } bind -x '"\C-y": ...
0
votes
0answers
33 views

Ctrl + y on shell terminal, paste from system clipboard [duplicate]

I use emacs style bindings for my bash terminal. And i use only the system clipboard and never use any of the application specific/primary selection stuff. When i copy text from emacs window and use ...
0
votes
1answer
23 views

Clear X clipboard using cron [duplicate]

Is there any way I can clear the X clipboard from a cron job? The usual commands for xclip don't seem to work. echo -n | xclip -selection clipboard doesn't work from cron.
1
vote
1answer
27 views

Remove formatting from copy/paste buffer

Whenever I copy any text via X11's copy/paste feature, I would like all formatting to be removed. I waste time daily dumping the text into a terminal, then copying again. Is this possible?
1
vote
2answers
57 views

Trailing spaces when copying from console

It's this annoying behavior I've been experiencing here and there occasionally: when you select text with mouse in console (that is, copy it), paste it, and realize you've got extra spaces at the end ...
3
votes
0answers
46 views

Patching X11 to remove SELECTION clipboard

How would I patch the X11 source to disable or remove the SELECTION clipboard?
0
votes
0answers
14 views

Disabling text entry box autoselect?

I've got a bunch of GUI applications which try to be 'helpful' by automatically selecting text in a text box when the text box gets focus. (The main culprit being my web browser.) This is not ...
2
votes
1answer
72 views

Copy current line to clipboard under cursor without mouse selection

How can i copy the current line under cursor in vi to the system clipboard? I may paste the contents anywhere, in vi itself, or in shell, or in libreoffice app... And i am looking for simpler ...
2
votes
1answer
32 views

How to toggle or turn off text selection being sent to the clipboard

I would like to disable the default behavior that seems to happen with every Linux distribution that I've ever tried that any selected text is immediately sent to the clipboard (Mint, Ubuntu, Fedora, ...
2
votes
1answer
191 views

Copying & Pasting with URxvt

I'm using URxvt 9.20 on debian jessie and I'm looking for a way to copy & paste text like I was used to with the gnome-terminal (Ctrl+Insert for copying, Shift+Insert for pasting). It works ...
9
votes
1answer
82 views

Is it possible to know the source (application) of the clipboard?

I've noticed that sometimes clipboard contents become unavailable if the source application (where the content was copied from) is closed. This leads me to wonder if it's possible to know what the ...
3
votes
2answers
358 views

How do I select text from terminal by using keyboard only?

I used to select text via mouse click+drag but I want to know if I can do the same thing via the keyboard only? I am talking about selecting text with the help of the keyboard on gnome-terminal, etc. ...
3
votes
2answers
82 views

How to copy file contents to the local clipboard from a file in a remote machine over ssh

To solve this problem I always have to use scp or rsync to copy the file into my local computer to open the file and simply copy the contents of the text file into my local clipboard. I was just ...
0
votes
0answers
11 views

Synchronize strings copied on vim with the xserver clipboard [duplicate]

How to copy a string in vim under terminal and get it available in the main clipboard? Seems that by default, is not possible to copy from vim to my browser, for example
0
votes
2answers
53 views

How (and whether) to copy and paste on an ssh web interface?

A web page provides web-based ssh access to a linux machine. I'm using it one a Windows7 machine. While editing a file in vi, I want to repeadetly enter the following: j0nhd0 This (1) goes to the ...
2
votes
1answer
50 views

(X) copy/paste buffer overwritten by Firefox autocomplete/autosuggestion

Firefox replaces the X selection with partial URL when it auto completes an URL typed in the Location Bar. How can this be prevented? If I select some text with the mouse, I can then paste it ...
2
votes
3answers
125 views

Pasting some text with tabs into a here-document in a PuTTY window

I have a string with tab delimited data that looks like: h1 h2 a1 b1 a2 b2 I produced it with Notepad on Windows. I created tab delimited data, ensuring that tabs and not spaces are used. I ...
0
votes
0answers
38 views

I cannot remove two programs from Gnome tray

I started two programs: Glipper 2.4 and ClipIt 1.4.2 in my Gnome 3.12.0 desktop on Debian Linux 8. They are in Gnome tray. Now I click ClipIt menu and choose "Quit". I also kill Python process ...
0
votes
1answer
421 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 ...
6
votes
1answer
150 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 ...
37
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
148 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
139 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
183 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 ...
3
votes
1answer
222 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
222 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
121 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
296 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
222 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
174 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
44 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
509 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
50 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
87 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
245 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
136 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
200 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 ...
2
votes
0answers
241 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
53 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, ...
1
vote
0answers
377 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
248 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
65 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
133 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 ...
4
votes
1answer
109 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
98 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?