# Problem with clipboard on Ubuntu

DevFeed: [Problem with clipboard on Ubuntu](<https://devfeed.tech/articles/problem-with-clipboard-on-ubuntu-21524.md>)

Original publisher: [Read original article](<http://lifepluslinux.blogspot.com/2016/04/problem-with-clipboard-on-ubuntu.html>)

Author: Suresh Alse (noreply@blogger.com)

Published: 2016-04-28T22:39:00Z

Content type: tutorial

Language: en

Sources: [Life Plus Linux](<https://devfeed.tech/sources/life-plus-linux.md>)

Topics: [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [bug](<https://devfeed.tech/topics/bug.md>), [client](<https://devfeed.tech/topics/client.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [install](<https://devfeed.tech/tags/install.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

## AI overview

The article explains why copied data may be lost when an application closes on Ubuntu. Applications that do not follow the FreeDesktop clipboard specification may fail to transfer clipboard ownership to a clipboard manager, and it suggests installing one of several clipboard managers as a workaround.

## Source excerpt

Clipboard on Ubuntu is "broken". Well, maybe not. But copy-paste is broken in a lot of applications on Ubuntu. Let me give you an example, Open LibreOffice. Write something and copy it. Paste it somewhere else. It works as expected. Now close LibreOffice and try pasting. It won't work. This is a well known bug - Copy-Paste doesn't work if the source is closed before the paste; affecting a lot of applications on Ubuntu. And they are not so keen on fixing it, atleast not any time soon. The reason for this is that these applications do not comply with the clipboard specification from FreeDesktop. If a client needs to exit while owning the CLIPBOARD selection, it should request the clipboard manager to take over the ownership of the clipboard, using the SAVE_TARGETS mechanism. If there is no clipboard manager, or if the SAVE_TARGETS conversion fails, the application should simply exit. Applications need to transfer ownership of the clipboard to clipboard manager before exiting for copied data to perisist after it exits. There is certainly nothing you can do about it, unless offcourse you are willing to modify the source code of each of these applications to make it comply to FreeDesktop specs. Fix. Well.. workaround. The reporter/ moderator of the bug report suggests that we should install diodon, klipper, glipper, parcellite or xfce4-clipman as a workaround for this issue. Working of diodon