WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Xclip - script tool to copy to clipboard  (Read 5806 times)

Offline ACRizona

  • Jr. Member
  • **
  • Posts: 61
Xclip - script tool to copy to clipboard
« on: December 07, 2010, 11:17:23 PM »
http://xclip.sourceforge.net

Commandline interface to X11 clipboard.

ex:      xclip --selection

( needed to convert old DOS.batch to BASH )

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: Xclip - script tool to copy to clipboard
« Reply #1 on: December 08, 2010, 09:34:47 AM »
submitted

Offline ACRizona

  • Jr. Member
  • **
  • Posts: 61
Re: Xclip - script tool to copy to clipboard
« Reply #2 on: December 11, 2010, 12:50:04 PM »
Oops..corrected examples:

Copy X's selection to your GUI's clipboard: xclip -selection clipboard

Peek at X's selection: xclip -o
 
Pipe: uptime | xclip -selection clipboard  then Paste into your editor.

Re-direct:  xclip -o > myfile.tx

Plus lots more !
Thank$... 1 ATTA BOY

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14626
Re: Xclip - script tool to copy to clipboard
« Reply #3 on: April 23, 2011, 12:46:09 AM »
I got about 95% through cross compiling tinycore for ps3 (cell) - if you follow the clfs guidelines it should be reasonably obvious?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10982
Re: Xclip - script tool to copy to clipboard
« Reply #4 on: April 23, 2011, 03:14:36 AM »
aldis, wrong thread?
The only barriers that can stop you are the ones you create yourself.

Offline gutmensch

  • Administrator
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: Xclip - script tool to copy to clipboard
« Reply #5 on: April 23, 2011, 04:17:53 AM »
it was a complete copy of mike lockmoore's statement at http://forum.tinycorelinux.net/index.php?topic=9063.msg49450#msg49450 and it was of course wrong here, so I removed it ;-)
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10982
Re: Xclip - script tool to copy to clipboard
« Reply #6 on: April 23, 2011, 05:43:39 AM »
My spamsenses already failed on that. Damn they are getting smart. On another forum I saw one that contemplated the meaning of life, without any links or other spam. He had other posts completely crap though, which gave it in.
The only barriers that can stop you are the ones you create yourself.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Xclip - script tool to copy to clipboard
« Reply #7 on: April 23, 2011, 09:06:58 AM »
My spamsenses already failed on that. Damn they are getting smart. On another forum I saw one that contemplated the meaning of life, without any links or other spam. He had other posts completely crap though, which gave it in.

http://en.wikipedia.org/wiki/Spam_(electronic)
Quote
Etymology

According to the Internet Society and other sources, the term spam is derived from the 1970 Spam sketch of the BBC television comedy series "Monty Python's Flying Circus".

http://en.wikipedia.org/wiki/Meaning_of_life
Quote
In Monty Python's The Meaning of Life, there are several allusions to the meaning of life.

The relation is obvious   ;)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)