Bored with your boring Linux clipboard? Try CopyQ! It’s a robust clipboard supervisor that lets customers save knowledge for later, edit entries, and even encrypt them!
Set up Dependencies
Sadly, the developer of the CopyQ clipboard utility doesn’t have any pre-compiled binary information for Ubuntu, Debian, Fedora or different main Linux distributions on the market. As a substitute, if you wish to use this system, constructing from supply is the one manner. To make CopyQ from supply, you want the construct instruments.
CopyQ has numerous construct instruments and dependencies, and every distribution has totally different wants. To get them working, open up a terminal and enter the next instructions.
Observe: Arch customers, the developer, doesn’t define particular dependencies for constructing this software program. Seize the AUR package as a substitute.
Ubuntu
sudo apt set up git cmake qtbase5-non-public-dev qtscript5-dev qttools5-dev qttools5-dev-instruments libqt5svg5-dev libqt5x11extras5-dev libxfixes-dev libxtst-dev libqt5svg5
Debian
sudo apt-get set up git cmake qtbase5-non-public-dev qtscript5-dev qttools5-dev qttools5-dev-instruments libqt5svg5-dev libqt5x11extras5-dev libxfixes-dev libxtst-dev libqt5svg5
Fedora
sudo dnf set up gcc-c++ git cmake libXtst-devel libXfixes-devel qt5-qtbase-devel qt5-qtsvg-devel qt5-qttools-devel qt5-qtscript-devel qt5-qtx11extras-devel
OpenSUSE
sudo zypper set up gcc-c++ git cmake libXtst-devel libXfixes-devel libqt5-qtbase-common-devel qt5-qtsvg-devel qt5-qttools-devel qt5-qtscript-devel qt5-qtx11extras-devel
Generic Linux
Constructing CopyQ on a Linux distribution that isn’t Redhat, Debian, or Ubuntu primarily based is feasible, although you’ll must seek for the dependencies by yourself.
To discover the dependencies you’ll want, seek advice from the official documentation and set up the right packages required for the construct.
Construct CopyQ
You’ve acquired all of the essential CopyQ dependencies in your Linux PC. The subsequent step within the set up course of is grabbing the supply code. Within the terminal use the git clone command.
Observe: don’t really feel like utilizing Git? A Tar archive of the CopyQ supply code is downloadable on SourceForge.
git clone https://github.com/hluk/CopyQ.git
Utilizing the CD command, transfer the terminal from your private home listing into the CopyQ supply code folder.
cd CopyQ
Run cmake and arrange the construct configuration information.
cmake -DCMAKE_BUILD_TYPE=Launch -DCMAKE_INSTALL_PREFIX=/usr/native .
Compile CopyQ with the make command. Take into account that compiling supply code takes a very long time. Be affected person and let the compiler construct within the background.
make
Utilizing the make set up command, end the construct course of.
sudo make set up
Set Up CopyQ Startup Entry
As soon as CopyQ is constructed and put in, the appliance is accessible through your Linux desktop’s launcher. Earlier than utilizing it, it’s a good suggestion to arrange an automated startup entry. Organising a startup entry for CopyQ is significant for the reason that idea of this system is to observe your clipboard for knowledge to save lots of persistently.
There are lots of alternative ways to arrange a startup entry for CopyQ. Every Linux desktop atmosphere does it somewhat totally different, so we’ll be specializing in the terminal as a substitute. Begin off by utilizing the CD command to maneuver into the purposes folder in your PC.
cd /usr/native/share/purposes
Create a brand new autostart folder (for those who don’t have already got one) utilizing mkdir.
mkdir -p ~/.config/autostart
Copy the CopyQ desktop shortcut to the autostart folder.
cp com.github.hluk.copyq.desktop ~/.config/autostart
Replace the permissions for the file.
cd ~/.config/autostart sudo chmod +x cp com.github.hluk.copyq.desktop
Utilizing CopyQ
The CopyQ clipboard supervisor has a whole lot of options, however at its core, it’s a clipboard supervisor. To use it, spotlight some textual content, right-click on it and choose “copy”. Clicking the “copy” motion will mechanically reserve it as an entry to the CopyQ supervisor. To entry any collected knowledge, click on on the CopyQ icon in your system tray.
Transfer To Clipboard
At any time, for those who’d like to maneuver an previous entry in CopyQ to your clipboard, look by way of the clipboard knowledge and click on the “move to clipboard” icon.
Encrypt Entry
In case you’ve acquired some delicate data saved in CopyQ, don’t delete it! As a substitute, use the encryption function. To encrypt, discover a clipboard entry and click on the lock icon. Doing so will invoke GnuPG and mechanically encrypt your knowledge.
Observe: the encryption function won’t work with out GnuPG. In case your Linux PC doesn’t have it, set up it here.
Edit Entry
CopyQ lets customers edit current clipboard entries with ease. To do it, spotlight a clipboard entry with the mouse and click on the edit button (or press F2).
Create Entry
A helpful function that CopyQ has is its skill to create new clipboard entries with out truly utilizing your clipboard on Linux. This function is “new item”. To use it, click on the “new item” button. From there, write in your textual content and click on the save icon.
Clicking save will mechanically add the brand new clipboard entry to the checklist of information that CopyQ has saved.