40

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.

Vitor Abella
  • 8,015
  • 16
  • 63
  • 115

2 Answers2

55

[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.

David Duman
  • 103
  • 4
Vitor Abella
  • 8,015
  • 16
  • 63
  • 115
41

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

loxaxs
  • 809