23

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

31

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
8

This should work:

xclip -sel clip < /dev/null
1
  • 1
    remember the different clipboards, you might need to replace 'clip' with 'pri' or 'sec' or 'buffer-cut' see: xclip -h
    – Joe
    Feb 11, 2022 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .