Possible Duplicate:
Can not paste into terminal
Can not paste into terminal
The SMCIPMITool is an out-of-band Supermicro utility that allows a user to interface with SuperBlade® systems and IPMI devices via CLI (Command Line Interface). This utility provided two user modes, viz.: OS Command Line Mode and Shell Mode. This utility can be easily integrated with existing infrastructure to connect with Supermicro.
How can I paste clipboard contents into terminal without having to right click then press the 'Paste' menu item? Ctrl-V doesn't work here!
Community♦
RafidRafid2,02255 gold badges1515 silver badges1919 bronze badges
marked as duplicate by Stefano Palazzo♦, karthick87, Jorge Castro, Marco Ceppi♦Dec 20 '10 at 14:07
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
5 Answers
ak2ak2
The X Windows system uses 2 clipboards...
The middle-click 'clipboard' is entirely independant of the 'Cntrl+Shift+C/V' clipboard..
The middle-click one uses what is called the 'primary selection'..
The Cntrl+Shift+C/V one, uses what is called teh 'clipbard selection'...
... It is just the 'normal' Cntrl+C/V in (most?) other applications...
... It is just the 'normal' Cntrl+C/V in (most?) other applications...
Thc 'primary' (old terminology, I suppose) acts only on the most recently selected (and it must be currently selected) text, whereas the 'clipboard selection' is actually stored in a seperate buffer (called the clipboard buffer) ...
Some programs don't handle these buffers properly, but moves are afoot to fix this.
eg... When you close Firefox, you will lose any 'clipobard' text which was copied from Firefox... so if your clipboard text goes missing, this is the most likely reason...
eg... When you close Firefox, you will lose any 'clipobard' text which was copied from Firefox... so if your clipboard text goes missing, this is the most likely reason...
This dual clipboard is not limited to the terminal. You can center-click in another application and it will paste the currently selected text from the most recently selected text (and that may be in another window)
Peter.OPeter.O11.5k2626 gold badges9898 silver badges154154 bronze badges
If you have highlighted the commands you want to paste you van just middle click on the terminal. Usually the scroll wheel works as a middle button, or as on most notebooks you can click both buttons at once.
Carsten ThielCarsten Thiel
You may want to try out xclip tool.
You can learn more about it by reading its man page or this blog post. I am using cp2clip and clippaste scripts that are explained there.
QwertyQwerty
- To paste clipboard contents into Terminal press Shift+Ctrl+V
- Or just use middle click on the terminal to paste the clipboard contents.
51.4k5555 gold badges170170 silver badges220220 bronze badges