You are not logged in.

#1 2009-05-30 14:45:03

trilobite
Member
Registered: 2009-05-25
Posts: 42

copy/paste GUI<->CLI ?

is there any piece of software that could do that? copy/paste from GUI to CLI and vice versa.

Offline

#2 2009-05-30 14:46:46

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: copy/paste GUI<->CLI ?

Highlight/middle click should do what you want.

Offline

#3 2009-05-30 15:08:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: copy/paste GUI<->CLI ?

I hope you're not having any problems w/ vi(m) ...
There's a bunch of clipboard-managing apps, depends on what you need. Do you want to copy from vc and paste in X?

Offline

#4 2009-05-30 15:18:08

trilobite
Member
Registered: 2009-05-25
Posts: 42

Re: copy/paste GUI<->CLI ?

..and the other way around.

"Highlight/middle click should do what you want."

yes, but that's not what i meant. i want to copy from x and paste in vc, and vice versa.

Offline

#5 2009-05-30 15:19:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: copy/paste GUI<->CLI ?

i want to copy from x and paste in vc, and vice versa.

That's what I was afraid of. Why do you need to switch (so often)?

Offline

#6 2009-05-30 15:23:57

trilobite
Member
Registered: 2009-05-25
Posts: 42

Re: copy/paste GUI<->CLI ?

well, cp/pst from gui browser to cli, for instance.

and etc.

and i wanna know if its possible at all.

Offline

#7 2009-05-30 15:25:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: copy/paste GUI<->CLI ?

Why can't you run f.e. xterm in X?

There's a bunch of different ways of moving data, f.e. you can save sth to a file in X and open it in vc, but I'd like to know why do you need such functionality.

Last edited by karol (2009-05-30 15:27:04)

Offline

#8 2009-05-30 15:42:04

trilobite
Member
Registered: 2009-05-25
Posts: 42

Re: copy/paste GUI<->CLI ?

simple matter of convenience.

Offline

#9 2009-05-30 15:48:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: copy/paste GUI<->CLI ?

simple matter of convenience.

Ummm, sorry, don't get it. You prefer switching X <-> vc rather than switching apps / workspaces? If you install gpm http://wiki.archlinux.org/index.php/Pos … _.28gpm.29 you might get what you want, but I never tried it, so you're on your own here.

Last edited by karol (2009-05-30 15:48:56)

Offline

#10 2009-05-30 18:34:18

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: copy/paste GUI<->CLI ?

Nice question - I wish I knew the answer. Copying to CLI in X is done with shift AND middle click. But to tty1-6 I have no idea...


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#11 2009-05-30 19:18:49

m1sha
Member
Registered: 2009-04-23
Posts: 9

Re: copy/paste GUI<->CLI ?

Shift+insert!

Offline

#12 2009-05-31 03:36:25

trilobite
Member
Registered: 2009-05-25
Posts: 42

Re: copy/paste GUI<->CLI ?

i am well are of ctrl/shift+insert & gpm.

i am trying to work my way around this using screen/twin/dvtm.

copypasting in twin and/or dvtm would be great.

Offline

#13 2009-06-07 02:22:06

ssjlegendx
Member
Registered: 2008-01-01
Posts: 94
Website

Re: copy/paste GUI<->CLI ?

If you have X running on some display, you can copy/paste to/from ttys using xclip.

On the tty, run

export DISPLAY=:0.0

(replacing :0.0 with the running X display).

You can work with the X clipboard normally in a GUI environment (highlight/middle-click), and in a terminal emulator or on a tty, use xclip -i to place something in the clipboard and xclip -o to retrieve the clipboard contents.


#!/vim/rocks

Offline

#14 2009-06-07 10:02:17

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: copy/paste GUI<->CLI ?

For screen, you can always export what you copied in the screen copy mode to X selection. Not sure if it is possible to export a X selection to the screen copy/insert system.


Mortuus in anima, curam gero cutis

Offline

Board footer

Powered by FluxBB