<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>mask of the robtasm (Posts about wayland)</title><link>https://mahurin.us/robtasm/</link><description></description><atom:link href="https://mahurin.us/robtasm/categories/wayland.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2026 &lt;a href="mailto:robert.s.mahurin@gmail.com"&gt;rob mahurin&lt;/a&gt; </copyright><lastBuildDate>Mon, 28 Sep 2026 03:59:36 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>a clipboard roundup</title><link>https://mahurin.us/robtasm/posts/2026/09/27/a-clipboard-roundup/</link><dc:creator>rob mahurin</dc:creator><description>&lt;div&gt;&lt;p&gt;To write to the system clipboard from the command line, you can pipe
to the standard input of a program.  But the name of that program is
different on different operating systems, because honestly so is
everything.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;dl&gt;
&lt;dt&gt;Windows&lt;/dt&gt;
&lt;dd&gt;&lt;code&gt;clip.exe&lt;/code&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;dl&gt;
&lt;dt&gt;MacOS&lt;/dt&gt;
&lt;dd&gt;&lt;code&gt;pbcopy&lt;/code&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;dl&gt;
&lt;dt&gt;ChromeOS&lt;/dt&gt;
&lt;dd&gt;&lt;code&gt;wl-copy&lt;/code&gt;, from the package &lt;code&gt;wl-clipboard&lt;/code&gt;.  This might work on
other Unixy systems using &lt;a href="https://en.wikipedia.org/wiki/Wayland_(protocol)"&gt;Weyland&lt;/a&gt; for interprocess stuff.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;dl&gt;
&lt;dt&gt;Linux / XWindows&lt;/dt&gt;
&lt;dd&gt;It &lt;a href="https://stackoverflow.com/a/750466/1650379"&gt;looks like&lt;/a&gt; &lt;code&gt;xclip&lt;/code&gt; or &lt;code&gt;xsel&lt;/code&gt;.  It's weird not to have a
Linux computer handy anywhere.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So an Emacs person would do &lt;code&gt;M-| pbcopy&lt;/code&gt; to send the current region to
the clipboard.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://mahurin.us/robtasm/posts/2026/09/27/a-clipboard-roundup/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>clipboard</category><category>commandline</category><category>emacs</category><category>linux</category><category>macos</category><category>wayland</category><category>windows</category><guid>https://mahurin.us/robtasm/posts/2026/09/27/a-clipboard-roundup/</guid><pubDate>Mon, 28 Sep 2026 03:29:12 GMT</pubDate></item></channel></rss>