Questions tagged [paste]

Placing file/string that have been copied.

Filter by
Sorted by
Tagged with
49 votes
5 answers
215k views

Copy and paste doesn't work in the terminal

Before you go marking this as a dupe, I know about Ctrl+Shift+C and Ctrl+Shift+V I try to use them, and it doesn't work. On one particular Ubuntu computer, normal copy paste commands do not work: ...
j0h's user avatar
  • 14.8k
39 votes
4 answers
25k views

Why bracketed paste mode is enabled sporadically in my terminal screen?

I use Ubuntu 14.04 and I have a weird issue with my terminal screen which is bugging me a lot. Could someone help me with it or explain me if I'm doing something wrong or non linux-way? I have some ...
artemdevel's user avatar
24 votes
1 answer
6k views

How do I disable 'Warning: Unsafe Paste' pop-up?

After upgrading from xubuntu 18.04 to 20.04, I'm getting the following warning message popping up when I try to paste into a terminal: I'm and experienced user. I do understand the implications of ...
Barton Chittenden's user avatar
20 votes
4 answers
14k views

How to paste commands into a TTY?

I have some rather long commands and file paths which I have copied to clipboard and need to execute in a TTY, however the file paths are too long to retype and I would like to just paste them in ...
user avatar
17 votes
1 answer
3k views

Copy and paste issue with Ubuntu 19.10

Since updating on Ubuntu 19.10 I have to copy a text twice to insert it. This issue occurs when I want to copy a password from a file opened inside LibreOffice Writer to Firefox. How can I solve the ...
tuxine's user avatar
  • 171
17 votes
2 answers
34k views

Ctrl + C & Ctrl + V not working in 16.04

I am not able to copy paste using keyboard shortcuts (CTRL+V and CTRL+C). It is not working globally on my Ubuntu 16.04. CTRL+A is working fine however. How can I fix it? I would be able to add a ...
user227495's user avatar
  • 4,069
17 votes
4 answers
12k views

text highlighting (select to copy) stopped working in the terminal

I have a weird effect in one workstation: suddenly, the system does not allow me to copy text from a terminal to paste it somewhere else by simpling selecting it. I can still paste into the terminal ...
Arabarra's user avatar
  • 171
12 votes
2 answers
4k views

Tool to insert text snippets into applications

In German you start mails and letters with "Sehr geehrter Herr ....". I am tired of typing this again and again. And I am tired of configuring applications to give me shortcuts to insert text blocks ...
guettli's user avatar
  • 1,737
12 votes
2 answers
12k views

How do I paste something from buffer directly to file using terminal in Ubuntu?

Recently, I'd copied some text from browser and I was too lazy too go and paste it in file by using file explorer. I was wandering if I can paste it directly to the file by just using terminal and ...
Ashu's user avatar
  • 131
11 votes
3 answers
117k views

paste the contents of one file into another file using Vi [closed]

How can I copy content from one file, and in another file somehow delete the original content and then paste the contents of the first file using vi editor? Or can it be done using another editor ...
Avani badheka's user avatar
10 votes
1 answer
7k views

Global keyboard shortcut for copy, cut and paste

How can I define a global shortcuts for copy, cut and paste? I'm used to Mac's ⌘+C for copy and ⌘+V for paste. They are global, so I can use them interchanging data between CLI and GUI apps. How can ...
Adam Matan's user avatar
  • 12.5k
10 votes
1 answer
4k views

Disable mouse middle button click paste on KDE, keeping that button working

How to disable mouse middle button click paste (AKA PRIMARY selection buffer), but keep that button working? My system: Ubuntu 16.04 with KDE v5.8.5.
Silas's user avatar
  • 101
8 votes
1 answer
24k views

Is it possible to to take screenshot and paste it using keyboard only?

I frequently create material containing screenshots from computer. For ~15 years using Windows and Word it was Alt+PrintScreen -> Ctrl+V and the image was in place. In Ubuntu similar result can be ...
Ohto Nordberg's user avatar
7 votes
4 answers
25k views

Can't create folders from GUI even though I'm ADMIN/ROOT

I'm pretty new to ubuntu, or linux for that matter, and I'm trying to perform the simplest activity ever, copy and paste a file; for some reason, when I right-click the folder /usr/bin I see that the ...
frankelot's user avatar
  • 173
7 votes
1 answer
1k views

How to remove the trailing spaces in the output file when paste command is used?

file a ATOM 1149 N MET B ATOM 1150 CA MET B ATOM 1151 C MET B ATOM 1152 O MET B ATOM 1153 CB MET B ATOM 1154 CG MET B ATOM 1155 SD MET B ATOM 1156 CE MET B ATOM ...
User's user avatar
  • 235
7 votes
1 answer
7k views

Remmina Copy-Paste issue

I utilize the Remmina software in order to connect through the XRDP service in a remote Ubuntu server. However, I cannot use the copy-paste functions to copy information from the remote machine to my ...
Panagiotis's user avatar
6 votes
2 answers
5k views

Change insert copied text from Shift Ctrl V to Shift Insert

In most cases, shift insert works when you want to insert copied text. But in a terminal, it uses Shift Ctrl v. Any way to change that behaviour to Shift Insert?
fixit7's user avatar
  • 3,117
6 votes
2 answers
15k views

How do you copy/paste between Mac OSX and UbuntuServer 14.04 inside VirtualBox

I'm having issues trying to setup GitLab on my Ubuntu server, running inside VirtualBox on Mac OS X. Copy/Paste does not work. I have installed guest additions and have changed the host-key to right-...
user547123's user avatar
6 votes
1 answer
1k views

System freezes on copying or pasting

I am using LibreOffice Version: 6.0.7.3 Build-ID: 1:6.0.7-0ubuntu0.18.04.10 CPU-Threads: 12; BS: Linux 4.15; UI-Render: Standard; VCL: gtk3; on an Ubuntu 18.04 LTS. When copying something, the ...
Christian's user avatar
5 votes
3 answers
24k views

How to paste text from an external source into the xterm edited file? [duplicate]

I want to copy some text from a webpage and paste it into a file opened with xterm editor. How can I paste my text into the xterm edited file?
user avatar
5 votes
1 answer
3k views

How to paste into emacs --no-window-system without auto-indent?

If I paste a piece of code from the browser to emacs -nw with middle mouse button, or Ctrl+Shift+v (in gnome-terminal paste from clipboard), it's incorrectly indented. Original code: for (i=0; i<=...
Tankman六四's user avatar
5 votes
2 answers
6k views

Unwanted symbols while pasting text on to terminal

I get 0~ symbol before the text and 1~ after the text while pasting it on to the terminal window. Is it related to some edits that I made in .bashrc or .vimrc files? Eg: I see '0~allowed1~' when I ...
The Hello World Guy's user avatar
5 votes
2 answers
2k views

Ubuntu 18.04 Nautilus copy image instead of path

I am used to simply COPY (Ctrl+C) an image file from the file manager and past it into a document (Slack, Google Docs etc), this is standard feature on Windows and macOS. However on Ubuntu 18.04 and ...
pagep's user avatar
  • 151
4 votes
2 answers
1k views

Copy/Paste loop code

I am new in Linux so here is my very basic question. I have a directory with 41 folders. I need to create a loop so that the process goes into each folder, copy all the files and then paste everything ...
GCGM's user avatar
  • 182
4 votes
2 answers
13k views

Pasting external text into XTerm or UXTerm

I have a newly installed Ubuntu 17.04 Server and am trying to install some packages that require long command lines. I want to copy the long command line from the web page and paste it into the ...
RangerX's user avatar
  • 41
4 votes
2 answers
2k views

How to avoid paste of multiline text on ubuntu command line?

This question may sound weird. But here is what happened and I'd like to find out the ways to avoid this happening again. I accidentally pasted contents of a text file into SSH CLI on Ubuntu 16.04. ...
Pawan's user avatar
  • 301
3 votes
4 answers
8k views

How to copy a line in vi and paste it to console?

There is a text file with bash commands. Is there a way to copy a line from that file using vi and paste it to console? It may be nano as well. It is console only server installation. No mouse to be ...
Pilot6's user avatar
  • 90.1k
3 votes
3 answers
819 views

Auto-pasting into GUI text editor/box

I'm trying to create a script which processes selected text from the gui (any number of apps, like browser, text editor, etc) and then replaces the selected text with the processed text automatically ...
jfacemyer's user avatar
  • 207
3 votes
1 answer
310 views

I see one backslash, but there are actually two backslashes!

Does anyone can help me to understand that weird issue? I was trying to rename a very long list of folders. I went to the parent directory and listed all the folders to rename in a text file: find ...
Mat's user avatar
  • 61
3 votes
1 answer
2k views

Copy and paste text in virtual terminal

How do you copy and paste text in a non-GUI terminal? E.g. if I login on an Ubuntu server and type 'test' at the command line (I assume that's a virtual terminal) how do I then copy / paste that? E.g....
Snowcrash's user avatar
  • 344
3 votes
2 answers
3k views

Paste image resulted from Ctrl + Shift + PrintScreen

when I try paste image resulted from Ctrl + Shift + PrintScreen to freemind it don't paste anything. But when I try paste it in LibreOffice, it works properly. please help me.
ansar313's user avatar
  • 159
3 votes
2 answers
6k views

Cannot copy/cut and paste from file manager to Desktop on Ubuntu 20.04 LTS [duplicate]

VIDEO I cannot copy and paste files from the file manager to Desktop on Ubuntu 20.04 LTS. Is there a way to fix this issue?
facialrecognition's user avatar
3 votes
1 answer
808 views

Quickly select entire page in Okular

Okular provides a nice way to copy a selection from a pdf onto the clipboard as an image. Most of the time I'm interested in copying the entire page, but I haven't found a way to make a selection ...
Evan's user avatar
  • 163
3 votes
0 answers
210 views

Copy and paste from Windows 10 to Ubuntu 20

I am running Ubuntu 20 through Oracle VM and I'd like to be able to copy and paste lengthy strings into Terminal from my Windows OS. I have installed Guest Additions and turned on Bidirectional ...
Mike Erison's user avatar
3 votes
0 answers
226 views

Paste as plain text using a clipboard manager

I need a global solution for paste as plain text function in my Ubuntu 16.10 system. I know CopyQ has this ability but I want to use a clipboard manager which is FOSS and which can be installed from ...
Ertugrul's user avatar
  • 312
3 votes
0 answers
27 views

Nautilus: change "paste" to auto-check copied file against original

Is it somehow possible (maybe with nautilus actions?) to change the behaviour of the "paste" functionality or to add a new paste functionality that does the following: paste as normal do a diff of ...
JLTD's user avatar
  • 629
3 votes
0 answers
1k views

Midnight commander surrounds copy pasted text with "0~" and "1~" (14.04) [closed]

This is not reproduced stadily. Sometimes when I'm switching to "subshell mode" with ctrl+o combination and pasting some buffered text either with shift+insert or by "paste" context menu item ...
humkins's user avatar
  • 302
2 votes
1 answer
3k views

matlab R2015a in Linux: Can't copy paste with conventional way

It seems that in linux version 'matlab R2015a' copy paste can not be done with 'Ctrl+c' and 'Ctrl+v'. So how can I solve this? Is there any way to reconfigure matlab' to do this by, 'Ctrl+c' and 'Ctrl+...
Maruf's user avatar
  • 266
2 votes
1 answer
198 views

Can you paste the original Ubuntu 20.04 syslog.service file content for me?

While adding a new service to the /etc/systemd/system/ folder, I have accidentally edited the syslog.service file and lost its original content. Can someone paste the original file content here for me?...
jerzymatlakiewicz's user avatar
2 votes
1 answer
998 views

paste content from clipboard to text file in ex mode?

In normal mode "+p can paste content in + regiter to text file ,+p can't paste content from clipboard to text file in ex mode,how can? :reg + --- Registers --- "+ smartphone There is a word ...
scrapy's user avatar
  • 375
2 votes
1 answer
185 views

How to disable Middle Mouse Paste on Ubuntu automatically on startup

I'm trying to make a script run on startup, so that I don't have to do it manually every time, with a terminal window being open constantly. This is the script: anti-midmouse-paste.sh #!/bin/bash ...
WhiteApe's user avatar
2 votes
1 answer
155 views

Input text at the cursor (in any window)

I need to be able to input some text (constant) at the cursor of any window by pressing a defined shortcut (I know this is specific to a window manager, so this isn't part of the question). I.e. I'm ...
Marcin Kaminski's user avatar
2 votes
1 answer
225 views

Copy from LibreOffice to CKEditor

If I copy a LibreOffice Table (spreadsheet, not writer) to CKEDitor4 it does copy and past an image. With CKEditor5 the table gets copied. Is there a way to get this working with CKEditor4? https://...
guettli's user avatar
  • 1,737
2 votes
0 answers
279 views

Middle click paste disable globally

Running Ubuntu 22.04. I want to disable all forms of middle click paste, but keep middle button working for scroll, tab closing, etc. I just want it not to paste anything anywhere. I tried many ...
user171780's user avatar
2 votes
0 answers
167 views

Add Terminal Cut (Ctrl+k) to GPaste clipboard

I don't know if this is a local bash setting on my part, but when I cut a line within a terminal (or gnu screen) using Ctrl+k, the result isn't copied to GPaste. Instead, the copied text can only be ...
mikemtnbikes's user avatar
2 votes
0 answers
310 views

Disabling middle-click paste doesn't work

I'm using Ubuntu 20.04 and I cannot disable the middle-click paste feature for some reason. I've tried it both through the GNOME Tweaks tool and the command line, but to no avail, it just simply doesn'...
Filec's user avatar
  • 21
2 votes
1 answer
908 views

I lost the Copy & Paste Function in Ubuntu 20.04 LTS

Noticed something a bit strange several weeks ago when I tried to Copy & Paste something off the desktop. I download items off the Internet to my desktop then use Copy & Paste into an ...
Legume's user avatar
  • 21
2 votes
1 answer
496 views

Middle button for scroll with tracking point and for paste on Thinkpad Trakpoint keyboard II

I have a laptop Thinkpad E14 and an external keyboard ThinkPad TrackPoint Keyboard II (with radio, but tried also with BT), with Ubuntu 20.10 (but the issue was also in 20.04 LTS). The issue is that ...
AndreiBRo's user avatar
2 votes
0 answers
832 views

Cut, Copy Paste keyboard shortcut problem on ubuntu 20.04 [duplicate]

I have just installed ubuntu 20.04 on my dektop and when I tried to use ctrl+x, ctrl+c, ctrl+vshortcuts to cut/copy/paste a file/text/folder etc nothing happened. I checked the keyboard shortcuts on ...
Disp's user avatar
  • 21
2 votes
0 answers
474 views

Copy and Paste only working on second attempt

just wondering if anybody else is experiencing a weird issue I am able to replicate across multiple machines running Ubuntu 19.04 I have updated all machines to the latest repo packages, and this ...
Gary Woodfine's user avatar