The time now is Wed 19 Jun 2013, 15:19
All times are UTC - 4 |
| Author |
Message |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Tue 04 Sep 2012, 21:47 Post subject:
Writing Text from Clipboard to a Text File |
|
Hi.
If i have selected some text and/or a web address etc.pp. i can copy the text (using strg-c) and paste it into a text file opened in a text editor (using strg-v). I want to write such copied text into a text file - USING BASH.
How could this be done? Is it possible?
RSH
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 841
|
Posted: Tue 04 Sep 2012, 23:01 Post subject:
|
|
RSH,
In puppies you can use-
| Code: | | xclip -o >/path/to/your.txt |
to copy text on clipboard
Cheers,
s
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9910 Location: Arizona USA
|
Posted: Tue 04 Sep 2012, 23:43 Post subject:
|
|
I've had pretty good luck highlighting (selecting) the text I want to copy (that's all - just select it, no need to "copy"), then, in the window where I want to paste the text, either simultaneously left and right clicking, or, if the mouse has a scroll wheel, clicking the scroll wheel.
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Wed 05 Sep 2012, 00:02 Post subject:
|
|
Thanks, seaside.
I did never hear of xclip, works fine.
This will add a new feature to my 1st-Anniversary-Application - which is the new LazY FReD downloader.
It's now exactly one year ago, as i did join the forum
The LazY FReD (then 1.0.1) will be my 1st-Anniversary-Gift to the members of this forum.
RSH
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Wed 05 Sep 2012, 00:06 Post subject:
|
|
| Flash wrote: | | I've had pretty good luck highlighting (selecting) the text I want to copy (that's all - just select it, no need to "copy"), then, in the window where I want to paste the text, either simultaneously left and right clicking, or, if the mouse has a scroll wheel, clicking the scroll wheel. |
Not, what i was asking for, but a very very useful tip. Tested and works - from geany to nicoedit and from nicoedit to geany.
Thanks!
EDIT:
Works also in a single text editor window.
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|