LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   send data from X to gpm (https://www.linuxquestions.org/questions/linux-general-1/send-data-from-x-to-gpm-553941/)

kaviazzz 05-14-2007 10:17 PM

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

GrapefruiTgirl 05-14-2007 10:43 PM

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.

kaviazzz 05-15-2007 10:42 AM

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

GrapefruiTgirl 05-15-2007 11:37 AM

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!


All times are GMT -5. The time now is 07:58 PM.