19

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?

0

4 Answers 4

27

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.

0
6

This should work:

xclip -sel clip < /dev/null
1
  • remember the different clipboards, you might need to replace 'clip' with 'pri' or 'sec' or 'buffer-cut' see: xclip -h
    – Joe
    Feb 11 at 16:16
2

I found DIODON app that sets on the menu bar. It is good-looking and works great. I like it better than the one I used in Windows. To install it:

sudo apt install diodon
0

If you have xclip:

cat /dev/null|xclip -i
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.