LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-14-2007, 10:17 PM   #1
kaviazzz
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Rep: Reputation: 15
send data from X to gpm


is there any way to copy something from X and send it to gpm so can pasted to a terminal ???
im using KDE and klipper if any synchronization can be done....
 
Old 05-14-2007, 10:43 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Probably there are other ways, but if you want to get something from X and have it appear on a tty terminal, you could echo it.
like:
echo "this is a bunch of stuff" >/dev/tty1

which would make the line appear on tty1 (which you go to using CTRL-ALT-F1). Now you could copy and paste it from the terminal screen to the command prompt using the mouse buttons (though I still can't get straight the exact functions of the mouse buttons when in a tty) I think left-click copies and middle-click pastes..
If you want to copy and paste from something on the desktop, to a xterm window, plain old copy and paste should work.

Does this help? Or have I misunderstood the requirements you are looking for.
 
Old 05-15-2007, 10:42 AM   #3
kaviazzz
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Original Poster
Rep: Reputation: 15
nope thats exactly what i wanted to do but i was just hopping to an other solution just to sync the terminal clipboard with the X.

so for example every time i copy something on X to sync the terminal clipboard. i thought i would be possible to sync it though klipper
 
Old 05-15-2007, 11:37 AM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
I haven't played with klipper, so if it *can* do what you want, I'm afraid I am not the person to tell you how but I hope you find a simpler functionality than I suggested -- and if you do, please post it!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Send Data To A Port On An IP? aaron4katie Programming 4 01-16-2007 03:58 AM
sockets dont ever send data alaios Programming 1 09-21-2005 06:59 PM
PHP : Send Data To Printer joseph Programming 1 04-07-2005 04:29 PM
getting ENOBUFS while trying to send data arb Programming 0 09-19-2003 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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