LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-17-2005, 02:44 PM   #1
spx2
Member
 
Registered: Dec 2005
Distribution: debian
Posts: 160

Rep: Reputation: 30
copying text from console


how can i copy text from konsole or rxvt ?
 
Old 12-17-2005, 02:48 PM   #2
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
Middle mouse button, highlight it then click the middle button to paste. It works with everything in linux and is SO much easier!
 
Old 12-17-2005, 03:39 PM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
There are two ways to copy and paste things in X. First, there is the selection buffer; you highlight to copy and middle-click to paste; this always works in any application in X. Then there is also the clipboard (Ctrl-C, Ctrl-V, or something like that), but that is only supported mainly by modern GUI applications.
 
Old 12-17-2005, 03:58 PM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
select the text with the mouse, then press ctrl+shift+c
To paste use ctrl+shift+v
 
Old 12-17-2005, 04:10 PM   #5
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
or just use the middle button, much easier.
 
Old 12-17-2005, 04:23 PM   #6
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Middle button (wheel button) seems to copy and paste at the same time !?
 
Old 12-17-2005, 04:57 PM   #7
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
Yep. first press copies, then click where u want to paste then click the middle one again. Done. I keep trying to do it when I have to use Windows at college, annoys me so much when it doesn't work!
 
Old 12-17-2005, 04:58 PM   #8
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
nop, in my case it copies and immediately pastes bofor I can let go of the button.
 
Old 12-17-2005, 05:10 PM   #9
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
Hmm, can u paste that elsewhere after?
 
Old 12-18-2005, 12:23 AM   #10
Wynd
Member
 
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Rep: Reputation: 32
Copy by selecting with the left button, then paste by clicking the middle button (wheel).
 
Old 12-18-2005, 03:15 AM   #11
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
I figured out what went wrong: I'd copied the whole line instead of just the command. If I only select a number of characters instead of all the space on the line as well everything works fine.
Thanks for pointing that out! I'd read about it, but never thought of using it and it's a great help.
 
Old 12-18-2005, 05:48 AM   #12
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
Sorry, I expected that you'd guess to select with the left button! Oops!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VI : Copying Selected Text Chaitanyayardi Linux - Software 1 11-10-2005 07:40 AM
copying text from terminal Linuxuser_81 Linux - Newbie 4 09-30-2005 01:12 AM
Copying file in text mode? HadesThunder Linux - Newbie 5 03-30-2004 06:03 PM
Copying Text albean Linux - Newbie 2 10-03-2002 03:58 PM
Terminal Text Copying Hitokiri_X Linux - General 4 06-18-2002 05:02 PM


All times are GMT -5. The time now is 12:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration