Ubuntu – How to clean the clipboard

clipboard

I am really used to Windows and the problem of the clipboard retaining information which a third party could see, which thing actually happened to me on a link off of BBC.co.uk.

Therefore I found clipboard cleaner on line free. With an icon pushed, the clipboard is cleaned and safe.

So, what about Ubuntu?

Best Answer

  • You can use xsel. To install it run this command in a terminal:

    sudo apt install xsel
    

    Now, when you want to clear your clipboard, enter

    xsel -bc
    

    For more information about this command enter man xsel

    Source.