Clipboard Manager for Ubuntu 16.04, 18.04 [duplicate]

I'm looking for an application that can copy two or more items and then I can choose one of them to paste. Indeed, it should work on terminal.


[Update on May 2020]

Clipit is now deprecated. The official replacement is Diodon. To download Diodon, you can use the instructions here.

--------------------------------------------------------------------------------------------------------

Clipit is the best among all.

sudo apt-get install clipit

Launch it, one icon will appear on top right where you can choose one of your clipboards.


CopyQ is a cross-platform, well-designed and fully-featured clipboard manager (my favorite). It features among others a (very handy) command line interface.

To install it on Ubuntu 18.04+:

sudo apt install copyq

To install it on Ubuntu 16.04-:

  • Downloading a .deb file:

    • Download the correct .deb file from github: hluk/CopyQ.
    • Perform installation:

      sudo dpkg -i copyq_*_Ubuntu_*.deb
      

Or

  • Using a PPA:

    $ sudo add-apt-repository ppa:hluk/copyq
    $ sudo apt update
    $ sudo apt install copyq
    

PPA info source: https://github.com/hluk/CopyQ#ubuntu-ppa