Page 1 of 1

How To Paste Text Into A Terminal Window?

Posted: Wed Sep 23, 2020 9:13 am
by jm03
Hi guys,

There is no option to paste text into the terminal.

I tried CONTROL-SHIFT-V, which works on other Linux distro's, but that does nothing.

Is there a way to paste text into the terminal?

And, similarly, is there a way to copy text from a terminal window?

Kind Regards,

John
Melbourne, Australia

Re: How To Paste Text Into A Terminal Window

Posted: Wed Sep 23, 2020 10:25 am
by 01101001b
jm03 wrote: Wed Sep 23, 2020 9:13 am There is no option to paste text into the terminal.
I tried CONTROL-SHIFT-V, which works on other Linux distro's, but that does nothing.
I don't know what terminal you're using. I use LxTerminal and in it Control+Shift+V works flawlessly (and you can copy text from it, too). Perhaps you are using xterm or rxvt or urxvt which I prefer not to use ;) Just for the sake of it, try Ctrl+V or Shift+Insert or paste with the mouse and let's see.

Remember there's plenty of "Puppies", so it's needed you mention what Puppy (and version) you are running to be able to help you.

Regards! :thumbup2:

Re: How To Paste Text Into A Terminal Window

Posted: Wed Sep 23, 2020 11:08 am
by taersh
Mark / hilight the text and click middle button of the mouse to paste into the terminal or even a text editor.

Re: How To Paste Text Into A Terminal Window

Posted: Wed Sep 23, 2020 11:25 am
by bigpup
I will assume you are talking about URXVT terminal that is in about all Puppy versions.

Left mouse click hold and highlight to copy.

Middle mouse button click to paste.
Have to be careful to only click one time or you will get multiple times the same thing.

URXVT terminal is a simple terminal program.
You can install terminals that have right click menus and more features.

Note:
There are some settings for URXVT terminal.
Enter in the terminal

Code: Select all

urxvtcontrol
A Window will open with setting options you can change.

Re: How To Paste Text Into A Terminal Window

Posted: Wed Sep 23, 2020 1:56 pm
by dogFellow
shift+insert

Re: How To Paste Text Into A Terminal Window?

Posted: Wed Sep 23, 2020 7:45 pm
by greengeek
If you do not have a "middle-click" button then press leftclick and rightclick buttons at the same time.

Also - it is possible to set up the shift+ctrl+v for paste function and shift+ctrl+c for copy function to work on urxvt.
This does involve editing some files tho'

Re: How To Paste Text Into A Terminal Window

Posted: Wed Sep 23, 2020 7:47 pm
by taersh
dogFellow wrote: Wed Sep 23, 2020 1:56 pmshift+insert
That's cool! :thumbup:
First time I heard of this! :thumbup:
Thanks! :)

Re: How To Paste Text Into A Terminal Window?

Posted: Thu Sep 24, 2020 1:00 am
by williams2
The default terminal emulator in most Pups is urxvt

Urxvt comes with some perl extensions.

When you highlight text in urxvt it is put in the primary buffer.
One perl extension automatically copies the contents of the primary buffer to the clipboard buffer.
ctrl+C and ctrl+V in geany or Firefox uses the clipboard buffer.
I tried CONTROL-SHIFT-V, which works on other Linux distro's, but that does nothing.
Urxvt is not configured to use CONTROL-SHIFT-V.
CONTROL-SHIFT-V does nothing in urxvt.

Urxvt is configured to use ctrl+alt+V to paste from the clipboard buffer.
It is another perl extension.
ctrl+alt+V will paste from the clipboard buffer to urxvt.
ctrl+shift+V does nothing.

ctrl+alt+V works.
ctrl+shift+V does not work.

Re: How To Paste Text Into A Terminal Window

Posted: Thu Sep 24, 2020 5:28 am
by jm03
bigpup wrote: Wed Sep 23, 2020 11:25 am I will assume you are talking about URXVT terminal that is in about all Puppy versions.

Left mouse click hold and highlight to copy.

Middle mouse button click to paste.
Have to be careful to only click one time or you will get multiple times the same thing.

URXVT terminal is a simple terminal program.
You can install terminals that have right click menus and more features.

Note:
There are some settings for URXVT terminal.
Enter in the terminal

Code: Select all

urxvtcontrol
A Window will open with setting options you can change.

Yes, I am talking about URXVT terminal.

I tried selecting the text in the terminal window to copy it into the clipboard, but when I try pasting into Geany nothing happens.

Re: How To Paste Text Into A Terminal Window

Posted: Thu Sep 24, 2020 5:29 am
by jm03
01101001b wrote: Wed Sep 23, 2020 10:25 am
jm03 wrote: Wed Sep 23, 2020 9:13 am There is no option to paste text into the terminal.
I tried CONTROL-SHIFT-V, which works on other Linux distro's, but that does nothing.
I don't know what terminal you're using. I use LxTerminal and in it Control+Shift+V works flawlessly (and you can copy text from it, too). Perhaps you are using xterm or rxvt or urxvt which I prefer not to use ;) Just for the sake of it, try Ctrl+V or Shift+Insert or paste with the mouse and let's see.

Remember there's plenty of "Puppies", so it's needed you mention what Puppy (and version) you are running to be able to help you.

Regards! :thumbup2:
Yes, I forget that there's many different versions of Puppy Linux out there.

I am running Puppy "Tahr".

Re: How To Paste Text Into A Terminal Window

Posted: Thu Sep 24, 2020 6:59 am
by greengeek
jm03 wrote: Thu Sep 24, 2020 5:29 am I tried selecting the text in the terminal window to copy it into the clipboard, but when I try pasting into Geany nothing happens.

I am running Puppy "Tahr".
To copy from URXVT highlight the desired data then use Ctrl+Alt+c to remember it
To paste that data into Geany use Ctrl+v

To do the opposite:

To copy from Geany highlight the desired data and use Ctrl+c to remember it.
To paste that data into URXVT use Ctrl+Alt+v

Re: How To Paste Text Into A Terminal Window

Posted: Thu Sep 24, 2020 7:08 am
by jm03
greengeek wrote: Thu Sep 24, 2020 6:59 am
jm03 wrote: Thu Sep 24, 2020 5:29 am I tried selecting the text in the terminal window to copy it into the clipboard, but when I try pasting into Geany nothing happens.

I am running Puppy "Tahr".
To copy from URXVT highlight the desired data then use Ctrl+Alt+c to remember it
To paste that data into Geany use Ctrl+v

To do the opposite:

To copy from Geany highlight the desired data and use Ctrl+c to remember it.
To paste that data into URXVT use Ctrl+Alt+v
Hi greengeek,

Your method is the only one that has worked for me!

Ctrl-Alt-C to copy

Ctrl-Alt-V to paste

Thanks so much for that!

Re: How To Paste Text Into A Terminal Window?

Posted: Thu Sep 24, 2020 7:27 am
by greengeek
You are welcome. I must confess that info was based on williams2's post. Very helpful.

But also - if you are running Tahr 32bit then dogFellow's suggestion of using shift+insert should work too. Dont know about Tahr64.

eg:
To copy from URXVT highlight the desired data then use Shift+insert to remember it
To paste that data into Geany use Ctrl+v

To do the opposite:

To copy from Geany highlight the desired data and use Ctrl+c to remember it.
To paste that data into URXVT use Shift+insert

Same shortcut in both directions. Very helpful.

Re: How To Paste Text Into A Terminal Window?

Posted: Thu Sep 24, 2020 11:39 am
by bigpup
This is all I have to do:

Left mouse click hold and highlight to copy.

Middle mouse button click to paste.

I do keep the terminal open while I paste into Geany.

Re: How To Paste Text Into A Terminal Window?

Posted: Thu Sep 24, 2020 12:17 pm
by taersh
Middle-click, shift+insert and Ctrl-Alt-v, all works in Bionic64 urxvt.

Re: How To Paste Text Into A Terminal Window?

Posted: Tue Sep 29, 2020 2:42 pm
by number77
jm03 wrote: Wed Sep 23, 2020 9:13 am
Kind Regards,

John
Melbourne, Australia
What works for me with Xenial is: L+R mouse button, that pastes wherever the cursor is blinking.