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.

  • 2
    Clipit is a great small utility, try it Nov 16, 2016 at 18:49
  • It really is! @ArijitChatterjee Nov 16, 2016 at 18:57
  • Did it work as you wanted? Nov 16, 2016 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 Nov 16, 2016 at 19:00
  • 1
    Diodon is a really good clipboard manager for Ubuntu. https://launchpad.net/diodon Nov 16, 2016 at 19:09

2 Answers 2


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

  • 1
    Couldn't find a way to filter/search the list using Clipit :( Dec 13, 2017 at 16:29
  • 3
    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, 2018 at 14:23
  • This now has a bug that prevents it from being usable github.com/CristianHenzel/ClipIt/issues/97.
    – Uri
    Sep 20, 2019 at 20:29
  • 5
    Clipit is now deprecated. The official replacement is Diodon. To download Diodon, you can use the instructions here.
    – hb20007
    May 13, 2020 at 13:23
  • @hb20007 yes, hotkeys seem to be an issue. otherwise, it's a good alternative.
    – ssi-anik
    Feb 12, 2021 at 16:52

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

  • 6
    Add global shortcut: Tray icon > Preferences > Shortcuts Tab > Custom Actions and Global Shortcuts.. > Add > Show/hide main window Mar 30, 2017 at 13:37
  • this is the right and best answer :| Jul 8, 2017 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, 2017 at 1:36
  • 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 Aug 10, 2018 at 13:16
  • 1
    copyq supports images and clipit doesn't, if that's something you care about Nov 1, 2018 at 17:27

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