linux clipboard?

  • Thread starter david.humpherys
  • Start date
D

david.humpherys

how can i copy text to the linux clipboard?

I've seen a number of posts explain how to do it with tk....
is this the only way?

(i'm not using tk as my gui tool kit.)

many thanks!
 
R

Rene Pijlman

(e-mail address removed):
how can i copy text to the linux clipboard?

Linux is an operating system. It doesn't have a clipboard. The clipboard
is provided by desktop frameworks, such as KDE or Gnome.
 
C

Chris Smith

Rene> (e-mail address removed):
Rene> Linux is an operating system. It doesn't have a
Rene> clipboard. The clipboard is provided by desktop frameworks,
Rene> such as KDE or Gnome.

Rene> -- René Pijlman

Actually, Linux is the kernel, and the full system is GNU/Linux, as
RMS would hasten to point out.
Isn't the clipboard a basic X component?
However, for basic text, don't overlook the humble shell facilities
like | , > , < , and >>
R,
Chris
 
G

Grant Edwards

Rene> Linux is an operating system. It doesn't have a
Rene> clipboard. The clipboard is provided by desktop frameworks,
Rene> such as KDE or Gnome.

Rene> -- René Pijlman
Actually, Linux is the kernel, and the full system is
GNU/Linux, as RMS would hasten to point out. Isn't the
clipboard a basic X component?

What you're calling "the clipboard" is several basic X
components. More accurately there is no such thing in X as
"the clipboard". The "selection" mechanism in X is rather
complicated and can only partially be made to resemble "a
clipboard" in the traditional MacOS sense of the word.

Some desktop environments have implimented something more akin
to the MacOS "clipboard", but AFAICT that's another layer on
top of the basic selection mechanisms provided by X
 
M

Marc 'BlackJack' Rintsch

david.humpherys said:
how can i copy text to the linux clipboard?

I've seen a number of posts explain how to do it with tk....
is this the only way?

(i'm not using tk as my gui tool kit.)

So what are you using instead?

Ciao,
Marc 'BlackJack' Rintsch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,289
Messages
2,571,448
Members
48,126
Latest member
ToneyChun2

Latest Threads

Top