![](https://www.both.org/wp-content/uploads/2023/09/BlankMillenniumHeader.png)
Copy and Paste fails
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.
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.
The fix
![](http://www.both.org/wp-content/uploads/2020/03/ClipboardHistoryConfig-LXDE-01.png)
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.
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.
I simply removed the checkmark from the “Purge history after timeout” box. You might notice that I also changed the default to 30 seconds, just in case this box gets checked again.
I have not had any repeats of this problem since I made the change.
More Stories
How to use the basename command
The basename command is a GNU core utility for UNIX and UNIX-like systems, and is designed to remove the file suffix and leading directories from a filename. It’s a reasonable alternative to at least some uses of the cut command. You’re not likely to use it alone, but it’s an interesting tool to have available to you when constructing a complex command.
Everyday tech that runs on Linux
Linux runs almost everything, but many people are unaware of that. Some folks might be aware of Linux and might...
The Linux Philosophy for SysAdmins, Tenet 01 — Data Streams, the universal interface
Everything in Linux revolves around streams of data – particularly text streams.
I recently Googled “data stream” and most of the top hits are concerned with processing huge amounts of streaming data in single entities such as streaming video and audio, or financial institutions processing streams consisting of huge numbers of individual transactions. This is not what we are talking about here although the concept is the same and a case could be made that current applications use the stream processing functions of Linux as the model for processing many types of data.
Linux: The Sustainable Choice for Computing and Environmental Responsibility
Sustainability is an increasingly important problem in computing. Reduce, reuse, and recycle is a famous motto for environmentally responsible consumption,...
Complete Kickstart: How to Save Time Installing Linux
Author's note: This article first appeared in the June 2008 issue of Linux Magazine but is no longer maintained there....
Windows security just got worse
Well, it didn't really get any worse, we just found another way in which it's already horrible. Like you, I...