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

- 103

- 7,537
-
1Couldn't find a way to filter/search the list using Clipit :( – AlikElzin-kilaka Dec 13 '17 at 16:29
-
3Cool 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: Useclipit &
to run it. – SDsolar Jun 04 '18 at 14:23 -
This now has a bug that prevents it from being usable https://github.com/CristianHenzel/ClipIt/issues/97. – Uri Sep 20 '19 at 20:29
-
5Clipit is now deprecated. The official replacement is Diodon.
To download Diodon, you can use the instructions here.
– hb20007 May 13 '20 at 13:23 -
@hb20007 yes, hotkeys seem to be an issue. otherwise, it's a good alternative. – ssi-anik Feb 12 '21 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
- Download the correct
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

- 759
- 5
- 15
-
6Add 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 -
-
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 01: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 03 '18 at 19:20
-
I think the idea is that clipit is gtk and copyq is qt, so me being on gnome it makes sense the former requires fewer things to get installed. Now, I will say this from my testing, clipit does not work very well. Hopefully copyq will get the job done. – Steven Lu Jul 03 '18 at 19:25
-
1I 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
-
Ubuntu 16.04. My impression is that using copyq is like using hadron collider where you need a simple hammer. A hint about global shortcuts - first you go to Hot Keys tab and find there that F6 is for "Commands/GlobalShortcuts...". Then you click tray icon and select "show/hide" and the main window appears. Then you hit F6 and "Copyq commands" window opens. Then you click "+ Add" and select "Show the tray menu", assign a hotkey and apply changes. Voila. Now you can easily access the tray menu when you need to copy smth back from the clipboard. Clipit - install, hit Ctrl+Alt+H, done. – trushkevich Sep 06 '18 at 07:34
-
1copyq supports images and clipit doesn't, if that's something you care about – Reza Sanaie Nov 01 '18 at 17:27
-
Does CopyQ have this feature? https://github.com/hluk/CopyQ/issues/1149 – Ram Patra May 23 '19 at 09:13
-
Everyone, in case you click on it and it seems not to be opening, it's in the tray icons section! Or you can also use the
copyq show
command to show it. – aderchox Jul 16 '20 at 11:57
https://launchpad.net/diodon
– Muaad ElSharif Nov 16 '16 at 19:09