LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-05-2004, 08:24 PM   #1
rdrs
LQ Newbie
 
Registered: Dec 2004
Location: Germany
Distribution: debian-unstable
Posts: 22

Rep: Reputation: 15
copy from Xterm to other app


Hello all,

I'm having quite a nagging problem with Xterm. I've started using Fluxbox some weeks ago, and although I'm very happy about it, there are naturally some details that don't quite match up to my expectations.

So, here's the story:

- I use Xterm as my default X terminal. The main reason are the fonts - Gnome Terminal looks awful and I'm not in the mood of tuning it up right now.

- Xterm cut/copy/paste works fine within a terminal or between terminals, but I can't get anything out of it! Imagine, I just got an error message after using the wrong flags in a program. To look for it in the net I have to copy it by hand..

- Gnome Terminal does work, but it appears to have some kind of connection to the X environment that Xterm doesn't have..

I've looked around Xterm faqs, Xcutsel, Xclipboard, and the like, but didn't find anything to solve this. Now, bearing in mind that copying between apps is an important thing, and that the people developing X are no fools, I must assume I'm screwing up somewhere around here. Is there a way to get copy/paste working through configuration or do we need an application such as Klipper to work it out?

Thanks in advance,

Renato
 
Old 12-05-2004, 09:01 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
select what you need in xterm with your mouse and click on your third mouse button to paste.
 
Old 12-05-2004, 09:11 PM   #3
rdrs
LQ Newbie
 
Registered: Dec 2004
Location: Germany
Distribution: debian-unstable
Posts: 22

Original Poster
Rep: Reputation: 15
Hello,

thanks, but that is exactly what I mean when I say it works 'within and between' but not outside.. ex: I copy something, paste it back in the same terminal to check, paste it in a different terminal, try to paste in Firefox (using third button, second button+paste (greyed out), CTRL-V, SH-Ins) and this last one doesn;t work.

Renato


EDIT:

Come to think of it, I tried pasting to Xemacs, and it works just fine! On the other hand, Gedit doesn't work; when I click the third button, nothing happens. When I choose paste, something else (nevermind what) comes up. I did read about two different kinds of cut/copy buffers - Xemacs shows this strikingly, with 3rd button pasting from terminal and menu's Paste and SH-Ins pasting from somewhere else (in this case, from the browser where I had copied some stuff)

I guess the problem or misconfiguration is in the communication between 'X' apps and the ones depending on some other widget set.


Last edited by rdrs; 12-05-2004 at 09:17 PM.
 
Old 12-05-2004, 09:23 PM   #4
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
i don't understand what exactly your problem is:
- middle mouse click works most of the time to paste into other applications and back in
- sometimes you have to use Control-V or to configure the software to allow middle-click paste function.
 
Old 12-05-2004, 09:37 PM   #5
rdrs
LQ Newbie
 
Registered: Dec 2004
Location: Germany
Distribution: debian-unstable
Posts: 22

Original Poster
Rep: Reputation: 15
It's a matter of working with specific applications:

- let's say I copy something from Xterm (simply selecting)
- now I paste it back in the same window, and also in another Xterm. Both were done using middle button, and both worked.
- SH-Ins also worked in both Xterms, pasted exactly what I had selected.

- if I try and paste here, in the exact same window I'm writing in, middle button does nothing, and CTRL-V or SH-Ins give me 'http://www.planetavp.com/al/Aliens/DeletedScenes/'

which is precisely the last URL I copied within Firefox.

- If I bring Xemacs up, and try to paste:
- using the middle button, it pastes what I selected from Xterm
- using SH-Ins, it pastes the URL above

- if I bring Gedit up, and try to paste:
- middle mouse button does nothing
- SH-Ins pastes URL

- if I bring up XMMS, and try to use 'Open Location':
- SH-Ins pastes URL
- middle button does nothing

- if I bring up GV (Ghostview),
- SH-Ins does nothing
- middle button pastes stuff from terminal

Then, I guess some apps understand each other, some only a few. The question is, how do I make >>at least<< Firefox understand Xterm?
 
Old 06-21-2006, 08:59 PM   #6
szandor
Member
 
Registered: Jun 2006
Posts: 32

Rep: Reputation: 15
copy/paste + xclipboard + firefox/?term functionality

mrcheeks and other nonunderstandables, the problem is this, which is also my question,

why can i not highlight text from a terminal and then paste the text into another program such as firefox without using a tool such as xclipboard?

i.e. i can copy text from firefox and paste that text in another firefox window or to a terminal window. if i then immediately try to copy text from a terminal window into a firefox window, the text that gets pasted is the text i originally copied from firefox, not terminal.

it appears one cannot copy from a terminal window into firefox without using xclipboard. is this something that's inherent to unix and not changeable?
 
Old 06-24-2006, 12:48 AM   #7
szandor
Member
 
Registered: Jun 2006
Posts: 32

Rep: Reputation: 15
----ttt----
 
Old 07-31-2006, 01:49 AM   #8
szandor
Member
 
Registered: Jun 2006
Posts: 32

Rep: Reputation: 15
----ttt----
 
Old 07-31-2006, 01:57 AM   #9
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
I don't know about you. I can copy and paste using the highlight to copy, middle-button to paste, method to in all my applications. Don't use the copy & paste to clipboard in the menus of applications; that is something completely different.

Also, next time, start a new thread.
 
  


Reply



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
Copy/Paste in xterm wampfler Linux - Software 13 05-23-2020 10:05 PM
How can I do copy and paste in xterm? kaon Slackware 10 03-12-2005 03:12 PM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 03:51 AM
how to copy from mozilla to paste on a wine app ? PunkPT Slackware 0 09-22-2004 09:37 AM
how do I copy a selection from xterm to clipboard? hollywoodb Linux - Newbie 1 10-06-2003 12:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration