<p class="MsoNormal">While researching the clipboard issue, I noticed this in the
documentation here <a href="http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt">http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt</a>:</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal" style="margin-top:0in;margin-right:.5in;margin-bottom:0in;
margin-left:.5in;margin-bottom:.0001pt">“<i style="mso-bidi-font-style:normal">A
remaining somewhat odd thing about X selections is that exiting the</i></p>

<p class="MsoNormal" style="margin-top:0in;margin-right:.5in;margin-bottom:0in;
margin-left:.5in;margin-bottom:.0001pt"><i style="mso-bidi-font-style:normal">app
you did a cut/copy from removes the cut/copied data from the</i></p>

<p class="MsoNormal" style="margin-top:0in;margin-right:.5in;margin-bottom:0in;
margin-left:.5in;margin-bottom:.0001pt"><i style="mso-bidi-font-style:normal">clipboard,
since the selection protocol is asynchronous and requires</i></p>

<p class="MsoNormal" style="margin-top:0in;margin-right:.5in;margin-bottom:0in;
margin-left:.5in;margin-bottom:.0001pt"><i style="mso-bidi-font-style:normal">the
source app to provide the data at paste time. The solution here</i></p>

<p class="MsoNormal" style="margin-top:0in;margin-right:.5in;margin-bottom:0in;
margin-left:.5in;margin-bottom:.0001pt"><i style="mso-bidi-font-style:normal">would
be a standardized protocol for a &quot;clipboard daemon&quot; so that apps</i></p>

<p class="MsoNormal" style="margin-top:0in;margin-right:.5in;margin-bottom:0in;
margin-left:.5in;margin-bottom:.0001pt"><i style="mso-bidi-font-style:normal">could
hand off their data to a daemon when they exit. Or</i></p>

<p class="MsoNormal" style="margin-top:0in;margin-right:.5in;margin-bottom:0in;
margin-left:.5in;margin-bottom:.0001pt"><i style="mso-bidi-font-style:normal">alternatively,
you can run an application such as xclipboard which</i></p>

<p class="MsoNormal" style="margin-top:0in;margin-right:.5in;margin-bottom:0in;
margin-left:.5in;margin-bottom:.0001pt"><i style="mso-bidi-font-style:normal">constantly
&quot;harvests&quot; clipboard selections.</i>”</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">It seems reasonable to create a daemon or some sort of
program to store the clipboard data in such a way so it is available after the
original application has exited.<span style="mso-spacerun:yes">  </span>However,
by architecting this functionality in this manner, existing applications may some
degree of change (as previously noted by other developers).<span style="mso-spacerun:yes">  </span>Further, when an application is closed, the
daemon/program would have to capture the clipboard data.<span style="mso-spacerun:yes">  </span>There are several posts about this
enhancement, and I would be willing to provide assistance in conjunction with
other developers.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Regards,</p>

<p class="MsoNormal">Kevin McKinney</p><br><div class="gmail_quote">On Sat, Mar 27, 2010 at 12:29 AM, Sarah Strong <span dir="ltr">&lt;<a href="mailto:sarah.e.strong@gmail.com">sarah.e.strong@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>Hey, James,<br><br>I believe the class of apps that break are ones that don&#39;t conform to the <a href="http://freedesktop.org" target="_blank">freedesktop.org</a> ClipboardManager specifications
<a href="http://www.freedesktop.org/wiki/ClipboardManager" target="_blank">http://www.freedesktop.org/wiki/ClipboardManager</a> and modify them. You can find details on the clipboard problem at the bug David Bensimmon lists at <a href="https://bugs.launchpad.net/ubuntu/+bug/11334" target="_blank">https://bugs.launchpad.net/ubuntu/+bug/11334</a> <br>


<br>It lists some popular apps along with their status. In some case it links to resolved bug reports with diffs that can be used for reference code in tracking down and fixing the problem in other applications. The apps it lists as non-conforming would be a great starting point, and you could find other affected applications either by searching for complaints online or by spending one terribly boring afternoon testing popular applications.<br>


<br>I definitely think it&#39;s a worthwhile problem to tackle, and I love the idea with tinkering with a small bug on a whole bunch of different projects, each with their own language and style dialect. It looks like a potentially easy fix in most of them, though, so I&#39;m not convinced it&#39;s a full summer&#39;s work. I won&#39;t be able to try tackling one until after my classes end on April 1st, but I&#39;ll post a trip report and ultra-rough time/difficulty estimation from an undergraduate&#39;s POV here that weekend. We might also try asking someone who resolved one of the bugs linked on the master copy/paste page for an idea of how long it took, too.<br>


<br>-Sarah<br><br><br><blockquote style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex" class="gmail_quote"><br>
Message: 7<br>
Date: Fri, 26 Mar 2010 15:48:46 -0400<br>
From: James Westby &lt;<a href="mailto:jw%2Bdebian@jameswestby.net" target="_blank">jw+debian@jameswestby.net</a>&gt;<br>
Subject: Re: Clipboard Improvements Idea<br>
To: Sarah Strong &lt;<a href="mailto:sarah.e.strong@gmail.com" target="_blank">sarah.e.strong@gmail.com</a>&gt;,<div class="im"><br>
        <a href="mailto:ubuntu-soc@lists.ubuntu.com" target="_blank">ubuntu-soc@lists.ubuntu.com</a><br></div>
Message-ID: &lt;<a href="mailto:874ok2n9sx.fsf@jameswestby.net" target="_blank">874ok2n9sx.fsf@jameswestby.net</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<div><div></div><div class="h5"><br>
<br>
On Wed, 24 Mar 2010 18:53:06 -0400, Sarah Strong &lt;<a href="mailto:sarah.e.strong@gmail.com" target="_blank">sarah.e.strong@gmail.com</a>&gt; wrote:<br>
&gt; Hey, all,<br>
&gt;<br>
&gt; I&#39;m a third year computer science student poking around on GSOC ideas. I<br>
&gt; asked about the state of clipboard support in the xorg project, and got a<br>
&gt; very useful overview of how X handles it: <a href="http://pastebin.com/1n4mRck8" target="_blank">http://pastebin.com/1n4mRck8</a>. It<br>
&gt; sounds like it wouldn&#39;t be appropriate to make any change to X in fixing<br>
&gt; clipboard management issues. The xorg devs seem to think it&#39;d be appropriate<br>
&gt; to eliminate the pointer to xorg in the description<br>
&gt; <a href="https://wiki.ubuntu.com/GoogleSoC2010/Ideas" target="_blank">https://wiki.ubuntu.com/GoogleSoC2010/Ideas</a>, too.<br>
<br>
Hi Sarah,<br>
<br>
Nice job on investigating this.<br>
<br>
&gt; Combining that with James&#39; comment, it looks like the most obvious way to<br>
&gt; tackle this task would be per-application. If that isn&#39;t a big enough job,<br>
&gt; perhaps David Bensimon could combine it with another grab bag idea he&#39;s<br>
&gt; mentoring such as the nautilus improvements one, or with other one hundred<br>
&gt; paper cuts style usability issues<br>
&gt; <a href="https://bugs.launchpad.net/hundredpapercuts" target="_blank">https://bugs.launchpad.net/hundredpapercuts</a><br>
&gt;<br>
&gt; Does that sound like a reasonable modification to the idea?<br>
<br>
I think so. It depends on how many apps need fixing I guess. Is it<br>
individual apps that break, or classes such as running Qt apps under<br>
GNOME?<br>
<br>
It might be a difficult project to do if we have no idea which apps<br>
don&#39;t work :-)<br>
<br>
Thanks,<br>
<br>
James<br>
</div></div></blockquote>
<br>--<br>
ubuntu-soc mailing list<br>
<a href="mailto:ubuntu-soc@lists.ubuntu.com">ubuntu-soc@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-soc" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-soc</a><br>
<br></blockquote></div><br>