<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Linux: How To Copy and Paste From the Command Line</title> <atom:link href="http://www.cyberciti.biz/faq/linux-copying-with-middle-mouse-button/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/linux-copying-with-middle-mouse-button/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: mike</title><link>http://www.cyberciti.biz/faq/linux-copying-with-middle-mouse-button/#comment-38676</link> <dc:creator>mike</dc:creator> <pubDate>Fri, 29 Aug 2008 03:44:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1411#comment-38676</guid> <description>Hey, that seems to work. Incredible. Time to make an alias to that combo.
I saw that bit about multiple clipboards, but it&#039;s so baffling that I didn&#039;t want to figure it out.
Why in the &amp;*(% is it done this way? Eek.</description> <content:encoded><![CDATA[<p>Hey, that seems to work. Incredible. Time to make an alias to that combo.</p><p>I saw that bit about multiple clipboards, but it&#8217;s so baffling that I didn&#8217;t want to figure it out.</p><p>Why in the &amp;*(% is it done this way? Eek.</p> ]]></content:encoded> </item> <item><title>By: Aaron</title><link>http://www.cyberciti.biz/faq/linux-copying-with-middle-mouse-button/#comment-38670</link> <dc:creator>Aaron</dc:creator> <pubDate>Wed, 27 Aug 2008 20:14:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1411#comment-38670</guid> <description>Mike--I have some additional info for you.
I tried:
echo Hello &#124; xclip -i -selection clipboard
From all my applications, I could hit CTRL+V or middle-click to paste, but the &quot;Paste&quot; menu showed up in grey for all those applications.  Strange.
Doing some digging turns up that X has multiple clipboards called Primary, Secondary, and Clipboard.
More info in it here: http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt</description> <content:encoded><![CDATA[<p>Mike&#8211;I have some additional info for you.</p><p>I tried:<br
/> echo Hello | xclip -i -selection clipboard</p><p>From all my applications, I could hit CTRL+V or middle-click to paste, but the &#8220;Paste&#8221; menu showed up in grey for all those applications.  Strange.</p><p>Doing some digging turns up that X has multiple clipboards called Primary, Secondary, and Clipboard.</p><p>More info in it here: <a
href="http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt" rel="nofollow">http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt</a></p> ]]></content:encoded> </item> <item><title>By: mike</title><link>http://www.cyberciti.biz/faq/linux-copying-with-middle-mouse-button/#comment-38633</link> <dc:creator>mike</dc:creator> <pubDate>Mon, 25 Aug 2008 06:33:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1411#comment-38633</guid> <description>Hmmm...I can&#039;t get this to work cause I don&#039;t have middle click emulation on. I could play with that, but I like it off anyway. I&#039;m in waiting until the right solution comes along.
This is a good start though, thanks.</description> <content:encoded><![CDATA[<p>Hmmm&#8230;I can&#8217;t get this to work cause I don&#8217;t have middle click emulation on. I could play with that, but I like it off anyway. I&#8217;m in waiting until the right solution comes along.</p><p>This is a good start though, thanks.</p> ]]></content:encoded> </item> <item><title>By: Aaron</title><link>http://www.cyberciti.biz/faq/linux-copying-with-middle-mouse-button/#comment-38632</link> <dc:creator>Aaron</dc:creator> <pubDate>Mon, 25 Aug 2008 05:17:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1411#comment-38632</guid> <description>Mike--I found the answer a few days after I read the article.
Do this:
uptime &#124; xclip
In your favorite X application (like gedit) middle-click.  It should toss your uptime into gedit.
Unfortunately (at least with Ubuntu) there appears to be different clipboards.  The X clipboard pastes when you middle-click, but there is another clipboard for when you actually click copy/cut/paste from a menu or use the Control+C/V/X</description> <content:encoded><![CDATA[<p>Mike&#8211;I found the answer a few days after I read the article.</p><p>Do this:</p><p>uptime | xclip</p><p>In your favorite X application (like gedit) middle-click.  It should toss your uptime into gedit.</p><p>Unfortunately (at least with Ubuntu) there appears to be different clipboards.  The X clipboard pastes when you middle-click, but there is another clipboard for when you actually click copy/cut/paste from a menu or use the Control+C/V/X</p> ]]></content:encoded> </item> <item><title>By: mike</title><link>http://www.cyberciti.biz/faq/linux-copying-with-middle-mouse-button/#comment-38631</link> <dc:creator>mike</dc:creator> <pubDate>Sun, 24 Aug 2008 19:46:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1411#comment-38631</guid> <description>@Aaron
Apparently, this is a rather challenging thing to do. I&#039;m there with you though - I will love to pipe into the clipboard. I&#039;ve looked for a way to do it, but have never found such a way. Someday...</description> <content:encoded><![CDATA[<p>@Aaron</p><p>Apparently, this is a rather challenging thing to do. I&#8217;m there with you though &#8211; I will love to pipe into the clipboard. I&#8217;ve looked for a way to do it, but have never found such a way. Someday&#8230;</p> ]]></content:encoded> </item> <item><title>By: Aaron</title><link>http://www.cyberciti.biz/faq/linux-copying-with-middle-mouse-button/#comment-38569</link> <dc:creator>Aaron</dc:creator> <pubDate>Thu, 14 Aug 2008 03:53:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1411#comment-38569</guid> <description>...the real answer I&#039;ve always wanted is how to cat the contents of a file to the clipboard.  For example:
cat myfile &#124; x-clipboard
That would occasionally save me a lot of selecting and copying.</description> <content:encoded><![CDATA[<p>&#8230;the real answer I&#8217;ve always wanted is how to cat the contents of a file to the clipboard.  For example:</p><p>cat myfile | x-clipboard</p><p>That would occasionally save me a lot of selecting and copying.</p> ]]></content:encoded> </item> <item><title>By: shakaran</title><link>http://www.cyberciti.biz/faq/linux-copying-with-middle-mouse-button/#comment-38559</link> <dc:creator>shakaran</dc:creator> <pubDate>Wed, 13 Aug 2008 11:53:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1411#comment-38559</guid> <description>With keyboard:
Copy: Ctrl+Shift+C
Paste: Ctrl+Shift+V</description> <content:encoded><![CDATA[<p>With keyboard:<br
/> Copy: Ctrl+Shift+C<br
/> Paste: Ctrl+Shift+V</p> ]]></content:encoded> </item> </channel> </rss>
