{"id":1579,"date":"2020-03-13T12:36:26","date_gmt":"2020-03-13T16:36:26","guid":{"rendered":"http:\/\/www.both.org\/?p=1579"},"modified":"2020-03-14T09:39:55","modified_gmt":"2020-03-14T13:39:55","slug":"copy-and-paste-fails","status":"publish","type":"post","link":"https:\/\/www.both.org\/?p=1579","title":{"rendered":"Copy and Paste fails"},"content":{"rendered":"<div class=\"pld-like-dislike-wrap pld-template-1\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"\" data-post-id=\"1579\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                        <i class=\"fas fa-thumbs-up\"><\/i>\r\n                <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><\/div>\n<p class=\"wp-block-paragraph\">After a recent upgrade to my primary workstation, and a new installation on a couple virtual machines, I discovered that copy and paste was not working. I use both Xfce and LXDE for my desktops on various hosts, both physical and virtual and the problem occurred with both desktops.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After a bit of thrashing around I discovered that the problem is a configuration item that has changed in more recent updates to the clipboard on these desktops. The changed configuration item specifies that the clipboard is to be automatically cleared after a default timeout 1 second. I suspect that this configuration was added to free up memory in hosts that have a small memory installation. After all, both of these desktops are designed for lightweight hosts with fewer resources than most.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The fix<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.both.org\/wp-content\/uploads\/2020\/03\/ClipboardHistoryConfig-LXDE-01.png\" alt=\"\" class=\"wp-image-1580\" width=\"466\" height=\"489\"\/><figcaption>Figure 1: Remove the check mark from the &#8220;Purge history&#8230;&#8221; box.<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Start by locating the clipboard icon on the desktop panel. Right-click on the clipboard icon, which displays the clipboard preferences dialog box. Then click on the History tab to view the dialog shown in Figure 1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So the fix could be either of two things. One, I could set the timeout to be longer. Or, Two, I could simply turn it off completely. I chose the latter method.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I simply removed the checkmark from the &#8220;Purge history after timeout&#8221; box. You might notice that I also changed the default to 30 seconds, just in case this box gets checked again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have not had any repeats of this problem since I made the change.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>After a recent upgrade to my primary workstation, and a new installation on a couple virtual machines, I<\/p>\n","protected":false},"author":2,"featured_media":2381,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[77,78,5],"tags":[],"class_list":["post-1579","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-desktop","category-fixing-problems","category-linux"],"modified_by":null,"_links":{"self":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/1579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1579"}],"version-history":[{"count":3,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/1579\/revisions"}],"predecessor-version":[{"id":1583,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/1579\/revisions\/1583"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/media\/2381"}],"wp:attachment":[{"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}