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
Writing Text from Clipboard to a Text File
Writing Text from Clipboard to a Text File
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
RSH,
In puppies you can use-
to copy text on clipboard
Cheers,
s
In puppies you can use-
Code: Select all
xclip -o >/path/to/your.txt
Cheers,
s
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
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
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Not, what i was asking for, but a very very useful tip. Tested and works - from geany to nicoedit and from nicoedit to geany.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.
Thanks!
EDIT:
Works also in a single text editor window.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]