This question already has an answer here:

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.

marked as duplicate by Eliah Kagan, TheWanderer, Kaz Wolfe, Fabby, Kevin Bowen Jan 29 '17 at 21:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    Clipit is a great small utility, try it – Arijit Chatterjee Nov 16 '16 at 18:49
  • It really is! @ArijitChatterjee – Vitor Abella Nov 16 '16 at 18:57
  • Did it work as you wanted? – Arijit Chatterjee Nov 16 '16 at 18:59
  • @ArijitChatterjee I just would like to have a shortcut to change from clipboards, but it is what I'm looking for. Now I discovered that this kind of software is called "clipboard manager" and there is already one question on askubuntu about that – Vitor Abella Nov 16 '16 at 19:00
  • 1
    Diodon is a really good clipboard manager for Ubuntu. https://launchpad.net/diodon – Muaad ElSharif Nov 16 '16 at 19:09

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.

  • 1
    Couldn't find a way to filter/search the list using Clipit :( – AlikElzin-kilaka Dec 13 '17 at 16:29
  • 2
    Cool program. Note that this is a blocking command, so if you want it to run in ~/.bashrc or if you simply do not want it to freeze your terminal window while it runs: Use clipit & to run it. – SDsolar Jun 4 '18 at 14:23

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


  • 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

  • 4
    Add global shortcut: Tray icon > Preferences > Shortcuts Tab > Custom Actions and Global Shortcuts.. > Add > Show/hide main window – Viktor Kruglikov Mar 30 '17 at 13:37
  • this is the right and best answer :| – Ghasem Pahlavan Jul 8 '17 at 20:45
  • Took me a while to figure out this tool. It's has a lot of possible functionality. One of the best things I've ever seen through. Thank you! – Mark Nov 29 '17 at 1:36
  • Can someone compare and contrast clipit and copyq? from apt-get, Copyq is 2.5MB of archives and 10MB of disk space, while clipit is 149KB and 612KB respectively. – Steven Lu Jul 3 '18 at 19:20
  • 1
    I couldn't get the global short cut to display the clipboard. I didn't any of the extra features, so clipit worked better for me – Fred Schoen Aug 10 '18 at 13:16

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