How To Paste Text Into A Terminal Window?

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
jm03
Posts: 62
Joined: Tue Sep 22, 2020 5:34 am
Has thanked: 14 times
Been thanked: 9 times

How To Paste Text Into A Terminal Window?

Post 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
User avatar
01101001b
Posts: 164
Joined: Wed Jul 15, 2020 10:57 pm
Location: Buenos Aires, Argentina
Has thanked: 643 times
Been thanked: 21 times

Re: How To Paste Text Into A Terminal Window

Post 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:

''Most people make the mistake of thinking design is what it looks like [...] It's not [...]. Design is how it works.'' -- Steve Jobs

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: How To Paste Text Into A Terminal Window

Post by taersh »

Mark / hilight the text and click middle button of the mouse to paste into the terminal or even a text editor.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
bigpup
Moderator
Posts: 6468
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 778 times
Been thanked: 1337 times

Re: How To Paste Text Into A Terminal Window

Post 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.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

dogFellow
Posts: 43
Joined: Tue Aug 25, 2020 9:04 am
Been thanked: 4 times

Re: How To Paste Text Into A Terminal Window

Post by dogFellow »

shift+insert
User avatar
greengeek
Posts: 1244
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 371 times
Been thanked: 148 times

Re: How To Paste Text Into A Terminal Window?

Post 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'
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: How To Paste Text Into A Terminal Window

Post by taersh »

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

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

williams2
Posts: 1028
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 293 times

Re: How To Paste Text Into A Terminal Window?

Post 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.
jm03
Posts: 62
Joined: Tue Sep 22, 2020 5:34 am
Has thanked: 14 times
Been thanked: 9 times

Re: How To Paste Text Into A Terminal Window

Post 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.
jm03
Posts: 62
Joined: Tue Sep 22, 2020 5:34 am
Has thanked: 14 times
Been thanked: 9 times

Re: How To Paste Text Into A Terminal Window

Post 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".
User avatar
greengeek
Posts: 1244
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 371 times
Been thanked: 148 times

Re: How To Paste Text Into A Terminal Window

Post 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
jm03
Posts: 62
Joined: Tue Sep 22, 2020 5:34 am
Has thanked: 14 times
Been thanked: 9 times

Re: How To Paste Text Into A Terminal Window

Post 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!
User avatar
greengeek
Posts: 1244
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 371 times
Been thanked: 148 times

Re: How To Paste Text Into A Terminal Window?

Post 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.
User avatar
bigpup
Moderator
Posts: 6468
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 778 times
Been thanked: 1337 times

Re: How To Paste Text Into A Terminal Window?

Post 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.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: How To Paste Text Into A Terminal Window?

Post by taersh »

Middle-click, shift+insert and Ctrl-Alt-v, all works in Bionic64 urxvt.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

number77
Posts: 356
Joined: Tue Jul 14, 2020 3:14 pm
Has thanked: 4 times
Been thanked: 12 times

Re: How To Paste Text Into A Terminal Window?

Post 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.
Post Reply

Return to “Beginners Help”