Re: [orca-list] cut and paste between gnome and vc



On Boomtime, day 26 of Confusion 3174, Daniel Dalton wrote:
On Thu, Jun 19, 2008 at 01:19:58PM +0200, Henning Oschwald wrote:
On Setting Orange, day 24 of Confusion 3174, Daniel Dalton wrote:
What is the best way to copy and paste text between a full screen
console (alt+control+f1) and gnome?

Either use a temporary file or export the DISPLAY variable and use
xclip.

What do you mean about the display variable?

$DISPLAY is an environment variable which points X11 applications how to
to connect to a running X server.

How does this work?

Log in to a text console (as the same user who started the X session)
and type:

  export DISPLAY=:0

Then use the following command to get text into the clipboard:

  uptime | xclip -selection clipboard

cheers

  Henning




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]