in reply to how do I place text into clipboard on Linux?

Also, it must work without X11.

I'm not sure that can be done in a "universal manner". Think about how the clipboard works...it needs X11. In a console, for instance, I use "midnight commander's clipboard", which saves it's content to a file in ~/.mc.

In X you have the "mouse clipboard" and the "X clipboard" and sometimes the internal clipboards of each application. In Windows, the consoles and the Window's are tightly integrated, but in linux, they are totally separate.

I would go to freshmeat and search for "clipboard", then see how they do it.


I'm not really a human, but I play one on earth. flash japh
  • Comment on Re: how do I place text into clipboard on Linux?

Replies are listed 'Best First'.
Re^2: how do I place text into clipboard on Linux?
by Courage (Parson) on May 02, 2005 at 11:29 UTC
    thanks, that helps.

    Also, it probably reasonable using some "xclip" application, which I am not aware of...
    Also, "gvim" behaves reasonably, may be searching there also will help.